Use your Sprint Instinct as a modem in Ubuntu (Hardy) with USB

Edit: For typo, USBDialup is now Instinct. This isn’t a beginners guide so you need to install ppp and such on your own.

I was going through a lot of craziness setting up my Sprint Instinct to use as a modem, but I figured it out tonight.

First, make sure your phone is in Modem mode.  I do that you need to go to the Dialer portion of your phone and dial ##USB# (##872#) and it will change to Default USB: MDM.  If it says Default USB: MSC then you’re in flash card mode and you’ll mount the flash drive and have no modem access.

You may need to power cycle your phone.  I didn’t test it otherwise, leave comments with what you find out.

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.

5 Comments to “Use your Sprint Instinct as a modem in Ubuntu (Hardy) with USB”

  1. Jay Says:

    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…

  2. Paul Says:

    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

  3. oreth Says:

    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?

  4. Paul Says:

    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.

  5. oreth Says:

    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.

Comment:

RSS subscribe

For spam filtering purposes, please copy the number 3519 to the field below: