Use your Sprint Instinct as a modem in Ubuntu (Hardy) with USB
by Paul on Apr.02, 2009, under How-To, Tech
Edit: With the latest firmware that has been released, the previous method has been disabled. This is the edited document with the new method. Enjoy.
I was going through a lot of craziness setting up my Sprint Instinct to use as a modem, but I figured it out tonight. Note that Customer Support insists that it will not work despite that I used to work for the 3G Data network, know all about option 33, 11, PDSNs, BSC, AAA, LDAP profiles, Actiview, etc. They only know what they’re told.
Anyways…
At the dial screen enter the code ##debugmenu# and then go to the main debug menu. At this screen you will enter your MSL number.
Next, select “Toggle Modem NAI” and choose “Off.”
Then, make sure your phone is in Modem mode. Simply remove the flash drive from your card, although it doesn’t have to be specifically removed.
Next, on your Ubuntu Desktop perform the following:
If you type dmesg you’ll see mention of device ttyACM0, this is your modem device. The rest is setting it up.
[10502.038262] usb 1-1: new full speed USB device using uhci_hcd and address 21
[10502.201491] usb 1-1: configuration #1 chosen from 1 choice
[10502.251216] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
Connecting your Sprint Instinct is much like connecting your Treo 650 Palm device.
/etc/chatscripts/Instinct:
TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\rRINGING\r'
'' \rATZ
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""
/etc/ppp/peers/Instinct:
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/Instinct"
defaultroute
usepeerdns
/dev/ttyACM0
115200
local
novj
To connect:
sudo pon Instinct
To disconnect:
sudo poff Instinct
That’s it. Do a ifconfig ppp0 and you’ll see your IP and be able to surf the web. If you want make gnome buttons to turn it on or off then make sure you run the application in a terminal and you’ll be fine.
PS: If you find out that you can’t get on the net then you will have to set up your default route by hand.
Look in /var/log/syslog for text that matches this, your IP may vary.
Apr 2 21:57:10 tetryon pppd[5163]: remote IP address 68.28.145.69
Then set your route with
route add default gw 68.28.145.69
That’s it. If you do not know how to set routes, or what routes are then I suggest you read up on the OSI Model.
September 5th, 2008 on 10:04 am
What is PPP (?server) and such ? Where do you get it? How does one install it? I’m a beginner and only understood ##872 and modes…Where are you typing all the other code? I’m using a mac…Is a PC version…What is such…..
Thanks…
September 5th, 2008 on 10:27 am
This only applies to people with mid-level Linux skills. What you’re looking for is the mac How-to. I found one on a simple google search here:
Mac Instinct Modem How-To
November 6th, 2008 on 9:52 am
I don’t seem to be able to enter USB mode.
I go to the dialer, hit ##872# and nothing happens.
Is there a more indepth explanation of entering USB mode available?
November 6th, 2008 on 10:30 am
With the latest firmware that option is disabled. I haven’t taken the time to go into the settings to see if it’s something which is needed anymore or not. If you take your flash card out before you connect it to your computer, it should work as a modem. I have not verified this.
November 6th, 2008 on 2:47 pm
Someone over at The Sprint Users Forum is declaring that Ubuntu 8.10 auto recognizes it as a modem
The post in question:
Just an FYI for those of you into Ubuntu: Version 8.10 (out today) works with the Instinct out of the box. In the network connection list, an option appears for Auto Mobile Broadband (CDMA) Connection. Clicking that dials #777 on the phone and the connection is set up. It’s almost too easy. I’m still trying to get wifi working but I already have PAM.