jlc
February 20th, 2007, 06:06 PM
http://blog.justinconover.com/2007/02/20/novatel-u720-sprint-ubuntu-feisty-herd-4/
Load the appropriate modules into the kernel:
$ sudo modprobe ppp_async
$ sudo modprobe usbserial product=0×2110 vendor=0×1410
To keep these the next time you boot, add them to /etc/modules
$ sudo vi /etc/modules
modprobe ppp_async
modprobe usbserial product=0×2110 vendor=0×1410
Once that is done, tail /var/log/messages
Tail the log and Plug in the USB card.
$ sudo tail -100f /var/log/messages
Feb 20 15:19:00 kainos kernel: [52240.740000] usb 4-1: airprime converter now attached to ttyUSB0
Now we need to add some ppp scripts
$ cd /etc/ppp/peers
$ sudo vi sprint
#the USB serial device of the EVDO PCMCIA card.
ttyUSB0
#your login information
user YOUR_NUMBER@sprintpcs.com
230400 # 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”
$ sudo vi sprint-connect
#time out is 20 because sometimes the card takes a little while to initalize
TIMEOUT 20
ABORT ‘BUSY’
ABORT ‘NO ANSWER’
ABORT ‘NO CARRIER’
SAY ‘Starting Sprint\n’
‘’ ‘AT’
‘OK’ ‘ATQ0V1E0′
‘OK’ ‘ATZ’
‘OK’ ‘AT&F’
# Dial the number
SAY ‘Connecting…\n’
‘OK’ ‘ATDT#777′
CONNECT CLIENT
$ sudo vi sprint-disconnect
“” “\K”
“” “+++ATH0″
SAY “Disconnected from Sprint.”
Now connect :
$ sudo pppd call sprint
Starting Sprint
Connecting…
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
not replacing existing default route through eth0
Cannot determine ethernet address for proxy ARP
local IP address 7x.x1x.xx.xxx
remote IP address x.x.x.x
primary DNS address 68.28.90.11
secondary DNS address 68.28.82.11
http://www.dslreports.com/im/24541035/4198.png
:guitar:
Load the appropriate modules into the kernel:
$ sudo modprobe ppp_async
$ sudo modprobe usbserial product=0×2110 vendor=0×1410
To keep these the next time you boot, add them to /etc/modules
$ sudo vi /etc/modules
modprobe ppp_async
modprobe usbserial product=0×2110 vendor=0×1410
Once that is done, tail /var/log/messages
Tail the log and Plug in the USB card.
$ sudo tail -100f /var/log/messages
Feb 20 15:19:00 kainos kernel: [52240.740000] usb 4-1: airprime converter now attached to ttyUSB0
Now we need to add some ppp scripts
$ cd /etc/ppp/peers
$ sudo vi sprint
#the USB serial device of the EVDO PCMCIA card.
ttyUSB0
#your login information
user YOUR_NUMBER@sprintpcs.com
230400 # 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”
$ sudo vi sprint-connect
#time out is 20 because sometimes the card takes a little while to initalize
TIMEOUT 20
ABORT ‘BUSY’
ABORT ‘NO ANSWER’
ABORT ‘NO CARRIER’
SAY ‘Starting Sprint\n’
‘’ ‘AT’
‘OK’ ‘ATQ0V1E0′
‘OK’ ‘ATZ’
‘OK’ ‘AT&F’
# Dial the number
SAY ‘Connecting…\n’
‘OK’ ‘ATDT#777′
CONNECT CLIENT
$ sudo vi sprint-disconnect
“” “\K”
“” “+++ATH0″
SAY “Disconnected from Sprint.”
Now connect :
$ sudo pppd call sprint
Starting Sprint
Connecting…
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
not replacing existing default route through eth0
Cannot determine ethernet address for proxy ARP
local IP address 7x.x1x.xx.xxx
remote IP address x.x.x.x
primary DNS address 68.28.90.11
secondary DNS address 68.28.82.11
http://www.dslreports.com/im/24541035/4198.png
:guitar: