HI I have found the following process to connect nokia phone modem with linux OS I have tested it in ubuntu. Its working fine.. hope this will help.. special thanks to some one who invented it..
This is how to do it…
Connect your phone via datacable
open terminal & type
lsusb
now u will get the following output
owais@owais-desktop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0421:0445 Nokia Mobile Phones
Bus 001 Device 002: ID 046d:092f Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
owais@owais-desktop:~$
it is on my compter,ur will not be exactly the same…
Now note the line in which NOkia Mobile Phones is written…it has two number one is 0421 & other is 0445…we’ll take these numbers as 0×421 & 0×445
0421 is the Vendor ID & 0445 is the Product ID
Now enter this comand.
sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)
eg, in my case::: sudo /sbin/modprobe usbserial vendor=0×421 product=0×445
Now enter this command
wvdialconf create
u’ll get a long output which will be like
Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 — OK
ttyACM0: ATQ0 V1 E1 Z — OK
ttyACM0: ATQ0 V1 E1 S0=0 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0: Modem Identifier: ATI — Nokia
ttyACM0: Speed 4800: AT — OK
ttyACM0: Speed 9600: AT — OK
ttyACM0: Speed 19200: AT — OK
ttyACM0: Speed 38400: AT — OK
ttyACM0: Speed 57600: AT — OK
ttyACM0: Speed 115200: AT — OK
ttyACM0: Speed 230400: AT — OK
ttyACM0: Speed 460800: AT — OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
NOw.. notice the output says that there is a modem at /dev/ttyACM0 & max speed is 460800
now enter this command
sudo gedit /etc/wvdial.conf
A file will open in text editor…now delete everything in that file & paste the following there
[Dialer Defaults]
Modem = Your Modem Name(eg, /dev/ttyACM0 in my case)
Baud = ur max speed(460800 in my case)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1
save the file & you are done
NOw whenevr u need to connect…open terminal & type wvdial,,wait till some sort of IP adress is displayed like
pppd: �[06][06][08]` [06][08]
primary DNS address 218.248.240.135
pppd: �[06][06][08]` [06][08]
secondary DNS address 218.248.240.79
pppd: �[06][06][08]` [06][08]
Now you are connected….hit cntrl+c to dissconnect…
U can also create a laucher on desktop(application in terminal) & keep the command as wvdial..now double click it & u r connected
“some one” ? why don’t you tell what forum you got it from, and who posted it there ? play fair !
yaaa….u sud….
Thanks a lot.. it works for me..
I can’t get it to work. I did all the configuration instructions you gave, and everything worked except that I can’t get any internet at all. I get the following message when connecting, but everything else goes through:
–> Starting pppd at Sat Nov 1 10:40:37 2008
–> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
–> –> PAP (Password Authentication Protocol) may be flaky.
–> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
–> –> CHAP (Challenge Handshake) may be flaky.
I think you should do this as a root user
hi dear
i feel little prob
i am try to install cakephp
but i cant
plz help me
I get:
FATAL: Error inserting usbserial (/lib/modules/2.6.27-9-generic/kernel/drivers/usb/serial/usbserial.ko): Invalid argument
How can I get from here on?
Do you have a linux version of Nokia PC Suite?
help me..i have nokia 6151, i want to connect internet via bluetoooth, but i’m confused. thanks….
Dear Tareq Bhai,
Thanks for your post. I have the latest Ubuntu Intrepid Ibex (8.10); and you know what? You can connect Nokia phones WITHOUT ANY CONNECTIVITY SOFTWARE OR SETUP.
Amazing, No?
I connected the mobile via the USB data cable and was just about to do what you instructed when a pop-up came saying: “Mobile Broadband Internet Modem” connected. Then it automatically showed a wondow with Bangladesh written on it and in the window there were options to select Aktel, Banglalink or Grameenphone.
I selected Grameenphone, it configured by itself and connected within 5 seconds.
I really love Ubuntu. It keeps getting better and better.
And just think, it automatically selects Bangladesh and gives option for GP, BL or Aktel.
So, people, order a Ubuntu 8.10 CD or download and burn it.
Experience the magic.
Dear Tareq Bhai,
This is not fair. I can’t believe you just deleted my comment. Sis I write anything offensive?
what is prob in establishing connection, my mobile is nokia 5220 xpressmusic, fedora 9, and airtel gprs connection it is not a broadband service it apn= airtelgprs.com, network provider= airtel, phone no = *99**1*1#, user and password = blank and process
wvdial.conf
————
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username =
Password =
Stupid Mode = 1
[root@localhost ~]# lsusb
Bus 001 Device 005: ID 174f:5212 Syntek
Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 13ba:0017
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 008: ID 0421:00f0 Nokia Mobile Phones
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost ~]# /sbin/modprobe usbserial vendor=0×421 product=0×0f0
[root@localhost ~]# wvdialconf create
Editing `create’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 — OK
ttyACM0: ATQ0 V1 E1 Z — OK
ttyACM0: ATQ0 V1 E1 S0=0 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0: Modem Identifier: ATI — Nokia
ttyACM0: Speed 4800: AT — OK
ttyACM0: Speed 9600: AT — OK
ttyACM0: Speed 19200: AT — OK
ttyACM0: Speed 38400: AT — OK
ttyACM0: Speed 57600: AT — OK
ttyACM0: Speed 115200: AT — OK
ttyACM0: Speed 230400: AT — OK
ttyACM0: Speed 460800: AT — OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB0: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB0: ATQ0 V1 E1 — and failed too at 115200, giving up.
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
[root@localhost ~]# wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT*99#
–> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}”}&} }*} } g}%~
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Jan 11 08:46:51 2009
–> Pid of pppd: 5232
–> Using interface ppp0
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> Disconnecting at Sun Jan 11 08:46:56 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pagesfor more information.
–> Auto Reconnect will be attempted in 5 seconds
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT*99#
–> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}”}&} }*} } g}%~
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Jan 11 08:47:03 2009
–> Pid of pppd: 5249
–> Using interface ppp0
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> pppd: ��� P��
–> Disconnecting at Sun Jan 11 08:47:08 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pagesfor more information.
–> Auto Reconnect will be attempted in 10 seconds
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
^CCaught signal 2: Attempting to exit gracefully…
–> Disconnecting at Sun Jan 11 08:47:09 2009
great post! It’s really helpfull! thanks
do u kno to do in korean mobiles…..
Everywhere I find posts regarding using the phone as a usb modem,
Is there a way to access the contents of the phone like message inbox, or the memory, like it could be done on pc suite in windows?
in ubuntu 8.10 it is too much easy .. like taking candy from a baby .. just connect your mobile with usb .. and configure just once. .. if the service provider of your mobile is recognized by ubuntu then you can feel the ease of using internet with mobile edge modem
do u know to do in ubuntu 9.04??
(sudo gedit /etc/wvdial.conf)
when i enter this command i get this result
(gedit:4129): Gtk-WARNING **: cannot open display:
plz help
Thanks My bro; It worked for me.
Harare, Zimbabwe
I am connected; but How do i create the desktop shotcut
Not to worry I managed to create the shot cut
Is it working properly in Ubuntu 9.04????
it should be automatic in ubuntu 9.04