Jan 26, 2012

[OUTDATED] iDEN Bluetooth DUN tether for Android [Dial Up Networking]


[OUTDATED] FYI, IDEN WILL BE SHUTTING DOWN IN THE NEXT YEAR OR SO.

In this post, we will connect to Boost Mobile's iDEN network to provide internet access to our Bluetooth Android device. The speed is capped at 19.2 Kilobits per second, so we'll run an optimized internet browser, Opera Mini, to maximize the bandwidth. Cost of keeping the pay as you go plan active is $10 for 3 months of use with unadvertised unlimited internet. You also get friendly and helpful Boost Mobile customer support and $0.20 a minute pay as you go minutes. Time and time again, I've had positive experiences with their customer support. I digress...

This setup is particularly useful for those looking for a WiFi only Android device (no carrier) with basic internet capabilities to check email, text, navigation, etc. Personally, when I'm going out, I only use Google Navigation, Fourquare, and Yelp so these apps run smoothly on the 19.2K connection. I want to balance between being human vs. being a machine plugged into the net, so this way, my internet access will be limited.

(leave me a message if you're interested in linux or palm device instructions)

Tutorial

My setup:
Boost Mobile Motorola i576
HTC EVO 3D rooted
Cyanogenmod 7 ROM
Phone Requirements:
  • Boost Mobile Motorola iDEN phone (i335, i576, i776, etc.)
  • Rooted phone with a stable version of Cyanogenmod 7 or 9 with packages hcitool, rfcomm, and pppd OR stable kernel with packages hcitool, rfcomm, and pppd
  • Stable Bluetooth connection
Check to see if you have these packages by going into Terminal Emulator and typing hcitool --help, rfcomm --help, pppd --help. You should see a Version number and list of Options. If not, your kernel will not support Bluetooth DUN.
App Requirements:
Instructions:
Download and install above Apps and download the chat binary to your Android device 
Open ES File Explorer and go to Settings. Scroll all the way down and check/enable Root Explorer and Mount File System. While in Settings, go to Directory Settings and change the Home Directory to just /. Now go back to /sdcard/download/ and copy the chat file to /system/bin/ by long pressing the chat file and Copy to. 


Then browse to /system/bin/ and look for the chat file. Long press the chat file and a pop up will say Operations. Scroll down to Properties. Change permissions to rwx r-x r-x.

Pair your Android device to your Bluetooth Boost Mobile phone. Paired but not connected is what we want to see.

Go to Settings and turn off Wi-Fi

Open up Bluetooth Dial Up Network App
To get your Bluetooth Address and Channel, touch the Settings button to bring up "Search Device" and "Search Channel." Select "Search Channel" and you'll see your Bluetooth MAC address show up as XX:XX:XX:XX:XX:XX. Copy that down and copy the address down. Now go back to Bluetooth DUN App and paste the address and channel in.
Copy and paste the following Boost Mobile DUN Chat

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
'' ATZ
OK-AT-OK "ATDTS=2"
CONNECT \d\c


Open up Terminal Emulator
su
setprop net.dns1 8.8.8.8 
Now you're connected. Bluetooth Tethering FTW.

For Developers Only:

Boost DUN Peer & Chat scripts for download

Boost Mobile DUN Peer Script

# This optionfile was generated by pppconfig 2.3.18.


hide-password
noauth
connect "/system/bin/chat -v -f /etc/chatscripts/boostchatscript"
debug
/dev/rfcomm0
38400
defaultroute
noipdefault
user replace_with_your_login_name
remotename boost
ipparam boost
usepeerdns
logfile /etc/ppp/peers/ppp.log

No comments:

Post a Comment