Connecting To The Internet Via Your Cellphone in Linux

Posted by Ruhaan Ahmed 22 June, 2008

Many People who are new to Linux are confused a bit on how to connect to the internet using their cellphone via bluetooth, it’s quite simple actually here’s the procedure which will get you started with it:

first turn your bluetooth adapter on ,most Linux distros by default have drivers for bluetooth adapter so no worries there. Now first u need to find the mac address of your phone,to do that open a command line and type

sdptool search DUN

you will get an output like this

“username”:/ # sdptool search DUN
Inquiring …
Searching for DUN on 00:16:DB:D5:9C:1C …
Service Name: Dial-up networking
Service RecHandle: 0×10001
Service Class ID List:
“Dialup Networking” (0×00001103)
Protocol Descriptor List:
“L2CAP” (0×00000100)
“RFCOMM” (0×00000003)
Channel: 2
Profile Descriptor List:
“Dialup Networking” (0×00001103)
Version: 0×0100
“username”:/ #

Now your phone’s mac address and the channel used will be flashing on your screen,now we need to bind these to a port. Simply open a command line again and type

rfcomm bind 0 “put your mac address here” 2 (remove the quotes)

now to check if ur phone has been binded to the port type rfcomm

the output of which will be similar to this: rfcomm0: “your mac address” channel 2 clean

now we will use an application called KPPP to dial the connection for us. If you are usin the KDE desktop environment then KPPP comes installed by default but if you are using Gnome then u will need to install it. Now open KPPP and and click on configure

log33

On the Device tab, give the modem a name that you like, set Modem device to /dev/rfcomm0, Flow control to None, Line termination to CR, and Connection speed to 921600, uncheck Use lock file, and then click on Ok:

log4

Select the created Modem and click on Edit
log5

Click on the Modem tab then click on Modem Commands match the configurations to this:

log8

Now the highlighted selected section in the above image is your service providers APN you will have to find it in the settings specified in your cellphone to connect to your service providers network. Now click OK and then click on Ok again. Now Click on the Accounts tab and click on New:

log9

When prompted select the manual setup:

log10

Give the connection a name you like, then click on Add and add the phone number *99#, Select the authentication as PAP/CHAP, check store password, set callback type to none and click on OK:

log11

Now select the Connection you just created and enter the User Name and Password given to you by your Service Provider and click on OK, and your done!! Now you can browse the internet using your cellphone:

log12

If you enjoyed this post, make sure you subscribe to my RSS Feed
Share and Enjoy:
  • Digg
  • del.icio.us
  • StumbleUpon
  • TwitThis
  • Reddit
  • Facebook
  • Technorati
  • E-mail this story to a friend!
Categories : Linux Tags : , , ,

Comments

No comments yet.


Leave a comment

(required)

(required)