BT, PPP, Internet via Cell Phone

From OESF

Jump to: navigation, search

well tried this out after wanting to do this without the Figlabs BlueFig software, which works just fine if you want an applet and some type of gui interface.

Got this info from several tutorials and piecing stuff together. I have Cingular wireless with a Sony/Ericsson phone. Other phone will probably differ, but the basic Idea will be the same.

references:

http://www.tekprosystems.com/zaurus/616tgprs.htm

http://greenant.net/portal/greenant/wiki/GPRSInternetOverBluetooth

http://tldp.org/HOWTO/PPP-HOWTO/

</br> </br> Create/Edit "/etc/ppp/options"

#File:
#/etc/ppp/options
-detach
noauth
name WAP@CINGULARGPRS.COM
defaultroute
nocrtscts
lock
usepeerdns
115200
noccp
asyncmap a0000

</br> </br> </br> </br> </br> Create/Edit "/etc/ppp/pap-secrets"

WAP@CINGULARGPRS.COM * CINGULAR1

</br> </br> </br> </br> Check to make sure that "/etc/bluetooth/rfcomm.conf" looks like this

rfcomm0 {
          bind yes;
          device xx:xx:xx:xx:xx:xx;    #this is the address of your phones bt device
          channel 1;
          comment """whatever""";

</br> </br> </br> </br> </br> </br> the "/etc/ppp/peers/BT-GMRS" script I use is the one that comes installed with BlueZ

</br> then in console or via a script

#pppd call BT-GMRS &

</br> </br> </br> </br> you should see something happening, mostly chit-chat between the phone and your zaurus, and finally a connection, if not try and eject your card and reinstert then re-run the command above.

you can check for connection via ping or ifconfig. I will add more information as soon as I understand more about this process.

Side Note & Neat Tweak: Create a new profile(BT-PPP) using the network applet, save the profile. Go to "/etc/ppp/peers" you should see a a "DUNXXXXXXXXX" file, replace the contents of that file with the contents from "BT-GMRS" file in the same directory and you should be able to use your network applet to connect and disconnect now using the BT-PPP profile you created.

Personal tools