Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old February 20th, 2007   #1
jlc
Just Give Me the Beans!
 
jlc's Avatar
 
Join Date: Jul 2006
Location: CST
Beans: 57
Ubuntu 8.10 Intrepid Ibex
HowTo: Novatel U720 Broadband

http://blog.justinconover.com/2007/0...feisty-herd-4/

Load the appropriate modules into the kernel:
Code:
$ 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
Code:
$ sudo vi /etc/modules
Code:
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.
Code:
$ 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
Code:
$ cd /etc/ppp/peers
Code:
$ sudo vi sprint
Code:
#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”
Code:
$ sudo vi sprint-connect
Code:
#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
Code:
$ sudo vi sprint-disconnect
Code:
“” “\K”
“” “+++ATH0″
SAY “Disconnected from Sprint.”

Now connect :

Code:
$ sudo pppd call sprint
Code:
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


jlc is offline   Reply With Quote
Old April 14th, 2007   #2
mrjohnston
5 Cups of Ubuntu
 
Join Date: Mar 2006
Beans: 30
Re: HowTo: Novatel U720 Broadband

I was wondering if you can maintain high data rates with your modem? With mine it seems to downgrade to about 500kbps after being used for a while (maybe an hour or so when I test again).

I know airprime is supposed to keep things going smooth, or at least I thought so. I was wondering if this is something on my computer or a bigger problem in general with the linux support.
mrjohnston is offline   Reply With Quote
Old June 29th, 2007   #3
kgr132
Just Give Me the Beans!
 
kgr132's Avatar
 
Join Date: Mar 2007
Location: Dearborn, Michigan, USA
Beans: 55
Ubuntu 9.10 Karmic Koala
Re: HowTo: Novatel U720 Broadband

Great HOWTO. Worked like a charm. Just to add my two cents - I had trouble after copying and pasting directly from my browser into gedit while creating the sprint, sprint-connect and sprint-disconnect files. For some reason, everything that appears as quotation marks on the web page became other odd combinations like two single quotes or apostrophes in row. After going back into the three new files with the editor and replacing all of the "quote like" characters with actual double quotes, it worked perfectly.
kgr132 is offline   Reply With Quote
Old July 17th, 2008   #4
krammer
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 12
Re: HowTo: Novatel U720 Broadband

I do not receive any feedback after executing the command "sudo pppd call sprint". How would I change this so I can see that it connects? Without typing ifconfig afterwards to see that I have gotten an IP?
krammer is offline   Reply With Quote
Old July 17th, 2008   #5
krammer
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 12
Re: HowTo: Novatel U720 Broadband

Nevermind...I didn't have the "-detach" option.
krammer is offline   Reply With Quote
Old October 30th, 2008   #6
koval.roma
First Cup of Ubuntu
 
Join Date: Oct 2008
Beans: 1
Re: HowTo: Novatel U720 Broadband

Who can help me?
My modem disconect me after 3,4 sec after connect.
I don't know why?
koval.roma is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:09 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry