Tuesday, September 11, 2007

Configuring the Sprint Mobile Broadband minicard on my Dell Vostro 1500 with Ubuntu 7.04 Feisty Fawn

I am assuming you have already activated your Sprint Mobile Broadband card in Windows. If you haven't, do it before you go any further. If you are unable to use your card in Windows, you will be unsuccessful in linux.

First we need to figure out what our idVendor and idProduct is for our Sprint card.
Type:

lsusb -v | grep Dell -C 2


On my system it is:

idVendor 0x413c Dell Computer Corp.
idProduct 0x8134


Next we need to edit our kernel modules.
Type:

sudo gedit /etc/modules

We need to add the following line at the end of the /etc/modules file.

usbserial vendor=0x413c product=0x8134

Save the file and exit gedit.
At the point you could either reboot or type.

sudo modprobe usbserial vendor=0x413c product=0x8134

Now we need to setup wvdial.
Type:

wvdialconf wvdial.conf
sudo mv wvdial.conf /etc/

Next we make our sprint file.
Type:

sudo gedit /etc/ppp/peers/sprint

Add the following code to the sprint file.

#the USB serial device of the EVDO minicard.
ttyUSB0
user YOUR_PHONE_NUMBER@sprintpcs.com
460800 # speed
#debug
defaultroute # use the cellular network for the default route
usepeerdns # use the DNS servers from the remote network
-detach # keep pppd in the foreground
crtscts # hardware flow control
#lock # lock the serial port
noauth # don't expect the modem to authenticate itself
connect "/usr/sbin/chat -v -f /etc/ppp/peers/sprint-connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/peers/sprint-disconnect"

Change the YOUR_PHONE_NUMBER part to match your phone number.
Next we need to create the /etc/ppp/peers/sprint-connect file.
Type:

sudo gedit /etc/ppp/peers/sprint-connect

Add the following code.

SAY 'Starting Sprint\n'
TIMEOUT 120
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
'' 'ATZ'
'OK' 'AT&F0'
'OK' 'ATE0v1'
'' 'AT+CSQ'
'OK' 'ATDT#777'
'CONNECT'

Now we need to create the /etc/ppp/peers/sprint-disconnect file.
Type:

sudo gedit /etc/ppp/peers/sprint-disconnect

Add the following code.

"" "\K"
"" "+++ATH0"
SAY "Disconnected from Sprint."

Configuration is done. Time to initialize the modem.
Type:

wvdial
sudo pppd call sprint

Surf!!!


---------------------
http://www.wildmpg.com

No comments: