Internet through phone on Linux  

Posted by Tarek in , ,

Connecting to the Internet on windows has always been a piece of cake using Nokia PC Suite. However, on Linux need some playing around to get things to work as there is no PC Suite software. This tutorial will show you how to connect to the Internet through your mobile phone via USB and Bluetooth without use of any software. Tested and working perfectly on Ubuntu Hardy Heron.

1- USB

  1. Connect your phone through USB
  2. Open terminal and type lsusb. This displays connected USB devices.
  3. Find Nokia, beside it there is something like Bus 003 Device 001: ID xxxx:yyyy. xxxx is the vendor ID, yyyy is product ID
  4. Type in Terminal: sudo /sbin/modprobe usbserial vendor=0x(xxxx) product=0x(yyyy) replacing xxxx and yyyy with the correct IDs from step 3
  5. then wvdialconf create
  6.  And sudo gedit /etc/wvdial.conf to open the modem configuration file. You'll have to edit the username, password, phone and in most cases add Init3. This is a typical configuration file:
 [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 = internet
Password = internet
Init3 = AT+CGDCONT=1,"IP","internet.vodafone.net";
Stupid Mode = 1
Dial Command = ATDT
You only have to edit the info in blue. You can get them either from your phone or contact your operator support to obtain them. Save the file then to connect type wvdial into the terminal, and hit Ctrl+C to disconnect at any time.


Bluetooth >>>>

This entry was posted on Sunday, July 27, 2008 at Sunday, July 27, 2008 and is filed under , , . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment

Post a Comment