Discuss EVDO PCMCIA Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards. Discuss Verizon and Sprint Coverage. CradlePoint CTR350, CTR500, PHS300, MBR1000, MBR1200, PHS300. Discuss Improving signal with 3Gstore Antennas and Amplifiers.
EVDOforums.com
Discussion forum for EVDO users
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Our sites Include: EVDO Info :: EVDO Forums :: EVDO Maps :: EVDO Blog :: 3Gstore.com

To purchase your EVDO Card / Antenna / Amplifier / Router from the EVDO Experts, just contact us!

Merlin U720 USB and Linux?

Goto page 1, 2  Next  
Post new topic   Reply to topic    EVDOforums.com Forum Index -> EVDO USB Modems
View previous topic :: View next topic  
Author Message
toutenhoofd
EVDO Fledgling


Joined: 08 Sep 2005
Posts: 11

PostPosted: Wed Nov 29, 2006 5:34 pm    Post subject: Merlin U720 USB and Linux? Reply with quote

Any word on using the Merlin U720 USB Rev A modem with Linux? If it works I'd like to order one Smile
Back to top
View user's profile Send private message
pcfreak
EVDO Newbie


Joined: 10 Dec 2006
Posts: 4

PostPosted: Sun Dec 10, 2006 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
futrader
EVDO Newbie


Joined: 12 Dec 2006
Posts: 7

PostPosted: Tue Dec 12, 2006 9:44 am    Post subject: Reply with quote

I don't own this, but I'm thinking about it. You might need to patch your kernel. See, for example: http://marc2.theaimsgroup.com/?l=linux-mm-commits&m=116577893917749&w=2

I gather this should allow the kernel to recognize the modem, and then you would just need the normal linux ppp scripts.
Back to top
View user's profile Send private message
mccorkle
EVDO Newbie


Joined: 15 Dec 2006
Posts: 3

PostPosted: Fri Dec 15, 2006 3:06 pm    Post subject: Works like a champ in Ubuntu 6.06LTS Reply with quote

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:
Quote:

holdoff 5


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
View user's profile Send private message
pcfreak
EVDO Newbie


Joined: 10 Dec 2006
Posts: 4

PostPosted: Sat Dec 16, 2006 10:42 am    Post subject: Reply with quote

Thanks mccorkle! Your instructions worked like a charm. I now have my U720 running in Ubuntu.
Back to top
View user's profile Send private message
meddle93
EVDO Newbie


Joined: 16 Dec 2006
Posts: 2

PostPosted: Sat Dec 16, 2006 2:07 pm    Post subject: u720 and knoppix Reply with quote

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
Quote:
pon sprint


since knoppix is a boot cd you need to do this after every boot
Back to top
View user's profile Send private message
mccorkle
EVDO Newbie


Joined: 15 Dec 2006
Posts: 3

PostPosted: Mon Dec 18, 2006 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
toutenhoofd
EVDO Fledgling


Joined: 08 Sep 2005
Posts: 11

PostPosted: Wed Dec 20, 2006 12:36 pm    Post subject: Performance with Linux? Reply with quote

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
View user's profile Send private message
mccorkle
EVDO Newbie


Joined: 15 Dec 2006
Posts: 3

PostPosted: Wed Dec 20, 2006 12:53 pm    Post subject: Re: Performance with Linux? Reply with quote

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
View user's profile Send private message
pcfreak
EVDO Newbie


Joined: 10 Dec 2006
Posts: 4

PostPosted: Wed Dec 20, 2006 8:14 pm    Post subject: Re: Performance with Linux? Reply with quote

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
View user's profile Send private message
adewolf
EVDO Newbie


Joined: 29 Apr 2005
Posts: 4

PostPosted: Thu Dec 28, 2006 9:17 pm    Post subject: Reply with quote

Any ideas why Linux is almost 3 times slower??
Back to top
View user's profile Send private message
teststrips
EVDO Newbie


Joined: 27 Dec 2006
Posts: 7

PostPosted: Fri Dec 29, 2006 8:16 am    Post subject: Reply with quote

packet size (MTU)? - just a theory. I used this at a friend's house to speed up his DSL. - http://www.debianhelp.co.uk/mtu.htm

edit, i see you are on ubunto... this might be better
http://www.debianadmin.com/change-mtu-maximum-transmission-unit-of-network-interface.html#more-119
or
http://ubuntuforums.org/archive/index.php/t-82093.html
Back to top
View user's profile Send private message
pcfreak
EVDO Newbie


Joined: 10 Dec 2006
Posts: 4

PostPosted: Fri Dec 29, 2006 1:42 pm    Post subject: Reply with quote

I tried adjusting MTU on the ppp0 interface while in Ubuntu. Speed test results were pretty much the same.

teststrips wrote:
packet size (MTU)? - just a theory. I used this at a friend's house to speed up his DSL. - http://www.debianhelp.co.uk/mtu.htm

edit, i see you are on ubunto... this might be better
http://www.debianadmin.com/change-mtu-maximum-transmission-unit-of-network-interface.html#more-119
or
http://ubuntuforums.org/archive/index.php/t-82093.html
Back to top
View user's profile Send private message
toutenhoofd
EVDO Fledgling


Joined: 08 Sep 2005
Posts: 11

PostPosted: Tue Jan 02, 2007 2:43 pm    Post subject: Slow on Linux Reply with quote

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
View user's profile Send private message
futrader
EVDO Newbie


Joined: 12 Dec 2006
Posts: 7

PostPosted: Tue Jan 02, 2007 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EVDOforums.com Forum Index -> EVDO USB Modems All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum







Buy from the 3G Experts @ 3Gstore.com


CradlePoint MBR1200 $269.99


Sprint MiFi $59.99


CTR500 $179.99

MBR1000 $189.99


CTR350 $89.99


PHS300 $159.99


Sprint 598U - Free


Sprint Rev A ExpressCard: Merlin EX720 - Free


Purchase an EVDO Booster Antenna


Purchase an EVDO Amplifier


Your Mac EVDO Experts









EVDO Antenna Booster





Digg Us :: del.icio.us :: technorati :: furl

4G :: 4G Forums :: PHS300 :: MBR1000 :: Novatel Ovation U760 :: Verizon USB760 :: CBA250 :: MBR800 :: 598U :: MBR1200 :: WiPipe Central :: U760 :: MP3450i