Sunday, July 27, 2008

Internet in linux via mobile - Data cable

**********
EDIT: For 10.04 onwards, the procedure is simple.

Connect mobile via usb. select "PC suite mode" on mobile when prompted.
Then open network connections
from panel or System>Preference>Network
Make new Mobile Broadband connection (follow the instructions)
**********
I am writing instructions for airtel gprs, you can replace with any provider. All you need is access point, which is
for bsnl(north): gprsnorth.cellone.in
for airtel: airtelgprs.com
Set the access point in your phone settings. for nokia it is under settings>> connection>>packet data>>access point
Connect your mobile and plug the data cable to pc and run this command:
Code:
tail /var/log/messages
not down where your device is attached. it should be like ttyUSB0 or ttyACM0
to configure the connection use
Code:
sudo pppconfig
(only keyboard works, use up, down, space, enter keys)
Select: Creat a New connection
Provide name: airtel
Configure servers(DNS): Dynamic Use dynamic DNS
Authentication Method for airtel: PAP Peer Authentication Protocol
User Name: replace_with_your_login_name
Pasword: replace_with_password
Speed: 115200
Pulse or Tone: Tone
Phone number: *99#
Choose Modem Config Method: Yes
Now give your device here ie. ttyUSB0 or ttyACM0

Now save this configuration and exit

i have used airtel as the name of provider. here is final screenshot from pppconfig.

to connect use
Code:
pon airtel
to disconnect use
Code:
poff airtel
to view log use
Code:
plog airtel
add network monitor to panel for indication of sucessfull connection. you can create desktop shortcut (launcher) for connection

No comments: