Wednesday, 27 August 2008

Connect to the internet with wvdial & a mobile phone

Step 1
Obviously you'll need to connect your nokia phone to the pc, im using a dku-2 cable and a Nokia 6630 for this part.

Step 2
Open up the terminal by going to Applications >> Accessories >> Terminal .
Now type:

$ lsusb


and you should see a line similar to:

Bus 002 Device 002: ID 0421:0410 Nokia Mobile Phones 6630 Imaging Smartphone


This means that the phone is connected to the pc correctly.

Step 3
Open up the terminal again and type:

$ sudo gedit /etc/wvdial.conf


and change the file to look like this:

[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 = general.t-mobile.uk
Password = " "
Stupid Mode = 1


Please Note: You must change the lines Username and Password (and possably Phone) to whatever your mobile networks defaults are, then save and exit the file, this examples for t-mobile uk and works perfect with my Nokia 6630 and an old 7600 phones.

Step 4
Now all you have to do is open up the terminal again and type:


$ wvdial


and you should see it dialing, and to exit simply press:

Ctrl and c

No comments: