Internet Connection in Linux via Mobile

1.Connect the mobile via USB cable.

2. Open terminal and type su to become root.

3. It will ask for the root password, type in there.

4. Then Issue this command

wvdialconf /etc/wvdial.conf

Phone would be detected as Modem

5. Then to Edit this file(/etc/wvdial.conf), open it in a Text Editor

vi /etc/wvdial.conf

When we issued command in point 4, it showed the address of ur phone that in which USB port it has been connected. note it down from there.

“Modem = /dev/*****” #<– /dev/ttyACM0 for my sony ericcson k510i

6. When Text Editor opens the file, erase everything from there and Paste the following:

[Dialer Defaults]
Modem = /dev/ttyUSB0 # <– Replace it with the reading you got
Phone = *99#
Username = paul
Password = 1983
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = No

The mOdem has been configured successfully.

To dial the internet conenction type

wvdial

If eerything goes fine it wud say that connected successfully.

Press Ctrl+C to disconnect.

This entry was posted in MOBILE.

Leave a comment