Jan 24, 2012

Peer and Chat Scipt for Android [Bluetooth DUN]

Check out the Boost Mobile Bluetooth DUN Tutorial

A trick to get the peer and chat script is to use pppconfig in Ubuntu to create a working peer and chat script. Use software manager to get pppconfig and then run pppconfig from Terminal. Follow the onscreen instructions, then once completed, the peer and chat script will be located in /etc/ppp/peers and /etc/chatscripts

If you have Bluetooth on your machine, before transferring the files to your Android device, you can test the Bluetooth connection to your Bluetooth CDMA/GSM/iDEN phone by using Terminal to

Connecting

Here, I've named my connection 'nameofyourconnection' while using pppconfig. sudo su will give you root rights. rfcomm bind will create a new rfcomm0 connection using your Bluetooth device's address, and followed by the Bluetooth channel. pppd call will connect the Bluetooth connection. pon will set up the DNS settings.

Code:
sudo su
rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:XX X
pppd call nameofyourconnection
pon
Now you can browse the Internet

Disconnect
Code:
poff

No comments:

Post a Comment