| View previous topic :: View next topic |
| Author |
Message |
toutenhoofd EVDO Fledgling
Joined: 08 Sep 2005 Posts: 11
|
Posted: Wed Nov 29, 2006 5:34 pm Post subject: Merlin U720 USB and Linux? |
|
|
Any word on using the Merlin U720 USB Rev A modem with Linux? If it works I'd like to order one  |
|
| Back to top |
|
 |
pcfreak EVDO Newbie
Joined: 10 Dec 2006 Posts: 4
|
Posted: Sun Dec 10, 2006 8:22 pm Post subject: |
|
|
| I just got my U720, and haven't been able to get it working with Ubuntu 6.10. If anyone has the U720 working in Linux, please let me know. |
|
| Back to top |
|
 |
futrader EVDO Newbie
Joined: 12 Dec 2006 Posts: 7
|
|
| Back to top |
|
 |
mccorkle EVDO Newbie
Joined: 15 Dec 2006 Posts: 3
|
Posted: Fri Dec 15, 2006 3:06 pm Post subject: Works like a champ in Ubuntu 6.06LTS |
|
|
I'm running (k)ubuntu 6.06LTS on a rack mounted box in a car, and I've got the Merlin U720 working like a champ. Its a little convoluted, but the end result is that I didn't have to patch/recompile my kernel, and the thing auto connects anytime the modem is plugged in with a 10 second delay if anything ever makes the signal drop. Details are below, and parts are credit to codef0x's post over at http://www.evdoforums.com/thread3308.html.
Please NOTE: You have to "register" the modem with your cell provider via any Microsoft Windows box first. I tried it from a vmware emulated windows XP pro box and failed, ymmv.
First, get the module to load on boot by editing /etc/modules:
| Quote: |
lp
psmouse
sbp2
sr_mod
usbserial
|
Then setup the options to load this specific modem in /etc/modprobe.d/options:
| Quote: |
# my hack for u720
options usbserial vendor=0x1410 product=0x2110
|
Now, config ppp to know how to connect to sprint in /etc/ppp/peers/sprint:
| Quote: |
/dev/ttyUSB0 # modem
#115200 # speed
921600 # works, abt 60kbytes/sec on S620
#1036800 # doesn't work
defaultroute # use cellular network for default route
usepeerdns # use the DNS servers from the remote network
nodetach # keep pppd in the foreground
crtscts # hardware flow control
lock # lock the serial port
noauth # don't expect the modem to authenticate itself
local # don't use Carrier Detect or Data Terminal Ready
user
ppp
persist
#passive
#debug
lcp-echo-failure 4 # prevent timeouts (1of2)
lcp-echo-interval 65535 # prevent timeouts (2of2)
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint-connect"
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/sprint-disconnect"
|
Now, create the /etc/chatscripts/sprint-connect file:
| Quote: |
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
SAY 'Starting SPRINT connect script\n'
# Get the modem's attention and reset it.
"" 'ATZ'
# E0=No echo, V1=English result codes
#OK 'ATE0V1'
OK 'ATDT#777'
CONNECT
|
And last, but not least, tell pppd you want it up all the time by adding the following line to /etc/inittab:
| Quote: |
s1:23:respawn:/usr/sbin/pppd call sprint
|
And just for giggles, change the holdoff (redial wait time) to something low in /etc/ppp/options with the following line:
Now, reboot, and if your modem is connected and already activated, you should be surfing. Make sure to not have any other dns or routes setup though, so set all your other interfaces (wifi, ethernet, etc) to not come up on boot. |
|
| Back to top |
|
 |
pcfreak EVDO Newbie
Joined: 10 Dec 2006 Posts: 4
|
Posted: Sat Dec 16, 2006 10:42 am Post subject: |
|
|
| Thanks mccorkle! Your instructions worked like a charm. I now have my U720 running in Ubuntu. |
|
| Back to top |
|
 |
meddle93 EVDO Newbie
Joined: 16 Dec 2006 Posts: 2
|
Posted: Sat Dec 16, 2006 2:07 pm Post subject: u720 and knoppix |
|
|
I am posting under knoppix 5.01 (dvd) using a novatel u720. I am assuming this is the same as the merlin u720 since the product and vendor id's are the same.
connecting on this system is very easy once you know what to do.
First, make sure that there is no other routing info. I had a wireless router connected for a lan and this was preventing the peerdns from working properly.
next activate usbserial using the same command as above
| Quote: | | sudo modprobe usbserial vendor=0x1410 product=0x2110 |
knoppix includes a script for sprint by default, but you must edit it to point to the correct modem. you need to be root or use sudo. I suggest the following
sudo kwrite /etc/ppp/peers/sprint
| Quote: | # You usually need this if there is no PAP authentication
noauth
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint"
# Set up routing to go through this PPP link
defaultroute
# Use remote DNS
usepeerdns
# Default modem (you better replace this with /dev/ttyUSB0!)
/dev/ttyUSB0 # I changed this line only
# Connect at high speed
230400
local |
next run the pon command
since knoppix is a boot cd you need to do this after every boot |
|
| Back to top |
|
 |
mccorkle EVDO Newbie
Joined: 15 Dec 2006 Posts: 3
|
Posted: Mon Dec 18, 2006 7:52 am Post subject: |
|
|
Glab I could help. I'm still hacking on the "registration" part -- I'd really like to be able to get these things out of the box and have them work in linux direct without the registration in windows.
| pcfreak wrote: | | Thanks mccorkle! Your instructions worked like a charm. I now have my U720 running in Ubuntu. |
|
|
| Back to top |
|
 |
toutenhoofd EVDO Fledgling
Joined: 08 Sep 2005 Posts: 11
|
Posted: Wed Dec 20, 2006 12:36 pm Post subject: Performance with Linux? |
|
|
I'd love to have some of you who successfully have the U720 working with Linux report on your downstream and upstream performance. Anyone care to post some results? And it would be even better if you could compare the Linux speeds with the speeds you get from Windows.
Thanks. |
|
| Back to top |
|
 |
mccorkle EVDO Newbie
Joined: 15 Dec 2006 Posts: 3
|
Posted: Wed Dec 20, 2006 12:53 pm Post subject: Re: Performance with Linux? |
|
|
I'm driving about 400 miles this weekend (from Jacksonville, FL to Tallahassee, FL with lots of really out of the way stops between) and I'll be running mtr and hitting speakeasy's speadtest every time I stop the car... I'll upload the report when I get done.
I'll be using a U720 with Ubuntu 6.06LTS and the 2.6.15-27 kernel.
| toutenhoofd wrote: | I'd love to have some of you who successfully have the U720 working with Linux report on your downstream and upstream performance. Anyone care to post some results? And it would be even better if you could compare the Linux speeds with the speeds you get from Windows.
Thanks. |
|
|
| Back to top |
|
 |
pcfreak EVDO Newbie
Joined: 10 Dec 2006 Posts: 4
|
Posted: Wed Dec 20, 2006 8:14 pm Post subject: Re: Performance with Linux? |
|
|
Here are my results:
Linux
Download Speed: 477 kbps (59.6 KB/sec transfer rate)
Upload Speed: 130 kbps (16.3 KB/sec transfer rate)
Windows
Download Speed: 1517 kbps (189.6 KB/sec transfer rate)
Upload Speed: 114 kbps (14.3 KB/sec transfer rate)
I'm using the same laptop (Dell M1210) and I'm dual booting WinXP and Ubuntu 6.10. I ran the speakeasy speed test several times, and the results are pretty much the same each time. Anyone know why the download speeds vary so much between Windows and Linux?
| toutenhoofd wrote: | I'd love to have some of you who successfully have the U720 working with Linux report on your downstream and upstream performance. Anyone care to post some results? And it would be even better if you could compare the Linux speeds with the speeds you get from Windows.
Thanks. |
|
|
| Back to top |
|
 |
adewolf EVDO Newbie
Joined: 29 Apr 2005 Posts: 4
|
Posted: Thu Dec 28, 2006 9:17 pm Post subject: |
|
|
| Any ideas why Linux is almost 3 times slower?? |
|
| Back to top |
|
 |
teststrips EVDO Newbie
Joined: 27 Dec 2006 Posts: 7
|
|
| Back to top |
|
 |
pcfreak EVDO Newbie
Joined: 10 Dec 2006 Posts: 4
|
Posted: Fri Dec 29, 2006 1:42 pm Post subject: |
|
|
I tried adjusting MTU on the ppp0 interface while in Ubuntu. Speed test results were pretty much the same.
|
|
| Back to top |
|
 |
toutenhoofd EVDO Fledgling
Joined: 08 Sep 2005 Posts: 11
|
Posted: Tue Jan 02, 2007 2:43 pm Post subject: Slow on Linux |
|
|
Help from Linux Masters!
I'm convinced that most everyone who uses EVDO on Linux, regardless of the carrier or the modem, has a slow connection. The one exception might be the Kyocera KR1, which runs Linux and I believe is pretty fast. I've tried several Linux distros, 2.4 and 2.6 kernels, and I've never gotten speeds equivalent to what I get on my Mac or WinXP. Anyone out there have speed comparisons between Linux and OS X or WinXP to show otherwise? I'd love to see them.
There must be a simple solution... Please help us you Linux Masters... |
|
| Back to top |
|
 |
futrader EVDO Newbie
Joined: 12 Dec 2006 Posts: 7
|
Posted: Tue Jan 02, 2007 9:18 pm Post subject: |
|
|
Using a gentoo linux, if I use the 2.6.20-rc2-mm1 kernel sources (Andrew Morton's experimental sources) I get results like this:
But, using gentoo 2.6.19-r2 sources (no extra patches), I get results like this:
The results are repeatable. This is a kernel issue, and I think there are patches floating around that fix the problem. |
|
| Back to top |
|
 |
|