Discuss EVDO PCMCIA Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards. Discuss Sprint & Verizon Coverage. CradlePoint CTR350, CTR500, PHS300, MBR900, 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   Login with Facebook 
Our sites Include: EVDO Info :: EVDO Forums :: EVDO Maps :: 3Gstore Blog :: 3Gstore.com

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


Follow Us On:

twitter FaceBook EVDOinfo.com

OK: Linux (Ubuntu 6.06) & Novatel S720 Sprint

 
Post new topic   Reply to topic    EVDOforums.com Forum Index -> EVDO Data Card OK or Failure (EV-DO User Compatibility Reports)
View previous topic :: View next topic  
Author Message
codef0x
EVDO Newbie


Joined: 17 Sep 2006
Posts: 3

PostPosted: Sun Sep 17, 2006 5:46 pm    Post subject: OK: Linux (Ubuntu 6.06) & Novatel S720 Sprint Reply with quote

Works just fine.

Same instructions as the Novatel 620 card, except you might need to:
Code:
sudo rmmod usbserial
sudo modprobe usbserial vendor=0x1410 product=0x1130


The 720 is product=0x1130 instead of the 620's product=0x1110.

I use the "pon sprint" PPPd script that came with my OS, which effectively just runs:

pppd call sprint
which in turn looks for /etc/ppp/peers/sprint


My setup may not be the best or most efficient, but it gets connected to the network and to the Internet.

The files I use are as follows:
/etc/ppp/peers/sprint
Code:

/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
#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"


/etc/chatscripts/sprint-connect
Code:

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

/etc/chatscripts/sprint-disconnect
Code:
(file doesn't exist)


*** Note[1]: I did get the card connected on a Windows laptop before trying it on my Linux-only laptop. Being on a business account, I have no idea what sort of activation was already done before the card was shipped, or what happened with the card when I connected it to the network on the Windows machine. YMMV.

*** Note[2]: Sometimes I have to make pppd call Sprint up to 3 times before it will behave, but once it's up, it's up.

*** Note[3]: I've heard other people having success with wvdial, kde modem managers, et cetera. I don't use it so I couldn't tell you.

*** Note[4]: I have no idea how to get quality/connection strength/signal level or network type out of the card. I just use it. Smile
Back to top
View user's profile Send private message Visit poster's website
tspauld98
EVDO Newbie


Joined: 16 Oct 2006
Posts: 1

PostPosted: Mon Oct 16, 2006 8:44 am    Post subject: Reply with quote

In your post, you have a sprint-disconnect file, but the file doesn't exist. Can you post the contents of the file or point me to them?

BTW, your instructions worked well on Fedora Core 5 as well.

Thanks,

tims
Back to top
View user's profile Send private message
codef0x
EVDO Newbie


Joined: 17 Sep 2006
Posts: 3

PostPosted: Mon Oct 16, 2006 9:00 am    Post subject: Reply with quote

My setup works well without a -disconnect file.

The -disconnect file is one that might run cleanup-commands when the connection is terminated.

For my setup, there really isn't anything to clean up.


If you want it, you might put something like:
Code:
"" "\K"
"" "+++ATH0"
SAY "Disconnected from Sprint."


But it isn't strictly necessary.
Back to top
View user's profile Send private message Visit poster's website
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Sun Nov 05, 2006 10:52 pm    Post subject: No such luck for me Reply with quote

I've tried this in many different distros without any luck. Mepis 6.06-1, suse 10.1, fedora core 6, kubuntu 6.06 & 6.10, and hakin9. I even tried doing it the exact same way I've been doing with the s620 and no cigar.

The way I was doing it with the s620 is as follows:
I'd use kppp and have no password, dial #777, speed 921600, modem at /dev/ttyUSB0, phone number at sprintpcs.com, and # out the lcp's in the /etc/ppp options file. It ran a little slower with the s620 in linux than xp but it was acceptable.

Using kinfo in all the above distros it sees the modem at ohci #6 and usb tab sees the nec pcmcia entries (2 of them) but it isn't assigning the modem a dev spot.

I've tried going through about 75% of the modem dev locations under kppp and then try to query the modem but it either comes back modem busy or no modem found.

This is frustrating to say the least! I've got a acer aspire 5670 with dual core (laptop). I'm wondering if it's just that my hardware is too new for linux to be able to recognize most of it. Heh, up until a month ago, most distros would lock up during the bootup on this machine. From what I read on a developer blog, they are just coming up to speed with multi core systems now.

I guess I'll have to wait and see if some more walk-throughs come up in the near future for the s720 or maybe future versions of linux will automatically assign the card a dev address.

Yes, I'm a semi-newb with linux. Razz
Back to top
View user's profile Send private message
codef0x
EVDO Newbie


Joined: 17 Sep 2006
Posts: 3

PostPosted: Mon Nov 06, 2006 9:33 am    Post subject: Reply with quote

The S720 is new, so it generally isn't recognized out of the box, or set up properly, by ANY current distribution.

The /dev/ttyUSB0 didn't show up until I sent it the correct modprobe command (with the vendor id and whatnot, above).

Even though there were entries that looked related in /var/log/messages

Also look at lspci and "cat /proc/bus/usb/devices".

The PCMCIA card is weird. It is a PCMCIA device that registers itself like a USB hub, which has a USB->serial adapter on it, which in turn communicates with the hardware like an external, serial, regular dial-up modem.

You should be able to figure out a little more information by looking at the devices that show up as registered when you plug in the device, but nothing will work until you explicitly tell it (via modprobe) that there's a usbserial device with the given vendor id, et cetera as in my original post.
Back to top
View user's profile Send private message Visit poster's website
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Mon Nov 06, 2006 3:02 pm    Post subject: Reply with quote

ok thanx. I'll try that when I get home later and report my findings.
Back to top
View user's profile Send private message
ntolia
EVDO Newbie


Joined: 16 Nov 2006
Posts: 2

PostPosted: Thu Nov 16, 2006 3:02 pm    Post subject: Low throughput Reply with quote

Thanks for the instructions. They worked great for me on Fedora Core 5. However, I am having throughput issues with the card.

I am currently in Pittsburgh and the Windows Connection Manager can detect an EVDO Rev A network. Using the usual speed tests, Linux gets approximately half the download bandwidth that windows does (roughly 500 Kbit/s vs. 1 Mbit/s). Does anyone have any idea why? I have tried playing with pppd's Deflate option but it didn't change a thing.

Any help would be really appreciated.

Cheers,
Niraj
Back to top
View user's profile Send private message
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Fri Nov 24, 2006 12:14 am    Post subject: Reply with quote

I've tried it on a few latest and popular distros without success. My problem is that I get too frustrated after screwing around for a weekend, then I give up. That's been my experience with linux through the years. I try to tackle a snafu and keep at it until I feel like throwing the pc, then I quit and say f-it!

I don't know what to say! Well maybe it would be best to start from what I've found out/done so far.

I've downloaded both cd/dvd of ubuntu/kubuntu and (besides the sudo issue that drives me nuts with them) they both see the card. Since I can't look back at the original post on this topic while I'm composing this message, I'll do as best as I can from memory. Many times the different distros put their things in different directories, so sometimes I don't know where they moved a file or directory to when compairing the file paths to the original post. The new fedora core, I have both the live cd and the install dvd and didn't have much luck with that either. I prefer to use (for now at least) mepis and I'm waiting for the new release from them.

I don't know, I'd love to wipe out windows completely and only run linux but when things like this happen, I find myself running back to xp. I don't want to, but I do. I'm starting to rant and get off topic, so I'll stop for now.

Maybe I'll try it again sometime soon.

P.S.
I have the same problem, when I ran the S620, as the previous post. Half the speed of windows. I think I've seen it hit as high as 65kb a sec, but no faster.

I'll report back if I find anything else out on my quest with the S720 and linux. I'm wondering if I might have any better luck with the U720 when that comes out. Guess I'll just have to wait and see what others report with it.
Back to top
View user's profile Send private message
agentdr8
EVDO Newbie


Joined: 28 Nov 2006
Posts: 1

PostPosted: Tue Nov 28, 2006 12:44 am    Post subject: Re: Low throughput Reply with quote

ntolia wrote:
Thanks for the instructions. They worked great for me on Fedora Core 5. However, I am having throughput issues with the card.

I am currently in Pittsburgh and the Windows Connection Manager can detect an EVDO Rev A network. Using the usual speed tests, Linux gets approximately half the download bandwidth that windows does (roughly 500 Kbit/s vs. 1 Mbit/s). Does anyone have any idea why? I have tried playing with pppd's Deflate option but it didn't change a thing.

Any help would be really appreciated.


Another kudos for the OP's instructions; they worked great for my SuSE 10.1 install running on my Dell D600.

I setup my connection using kppp and all is well, but even using the 921600 baud rate I'm still only seeing 60-80kb/s tops. I'm not sure if this is a signal reception issue or just a limitation of using the card as a USB modem via pppd.

If anyone has any input as to what we could do or try to obtain faster throughput under linux, that would be great.
Back to top
View user's profile Send private message
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Sat Dec 16, 2006 12:47 am    Post subject: Found something that works for me with mepis Reply with quote

This is modified a little from mccorkle's post at http://www.evdoforums.com/thread3919.html.

What I did was copy the part
Quote:
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


But I changed the vendor to 0x1410 and product to 0x1130, (commented out the two lines in /etc/ppp/options that have "lcp" in them. This is to keep the connection from dropping.

Then I just use kppp to connect and disconnect. Easier for me than using scripts. The only thing that's "bad" about it is, like I said earlier, the highest speed I can dl is about 64k so far. Other than that, it WORKS!!!
Whew! I'm so relieved to have found a fix that didn't involve patching the kernel.

Thanks mccorkle!
Back to top
View user's profile Send private message
kd5xb
EVDO Fledgling


Joined: 12 Jan 2007
Posts: 20
Location: Clovis, NM USA

PostPosted: Thu Jun 28, 2007 11:22 pm    Post subject: Reply with quote

I copied exactly the files by Codef0x, and yes, I can get a connection.

However, I'm using this stuff in my 18-wheeler, and I have a couple of problems.

First, when I drive out of range, and then back into range, sometimes I will get a connection back, and sometimes not. I'm pretty new with Kubuntu and all, so I have no idea what to do to make this thing automatically keep trying to connect. I'd appreciate some help there.

Second, I also use a USB-connected GPS, and to get a connection, I have to unplug the GPS, connect, and then plug the GPS in. Otherwise, about half the time I can't get a connection at all. I suspect it has to do with device numbers being allocated out of sequence -- is there some way to manually control which device gets what device number?

Thanks,
Earl
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 Data Card OK or Failure (EV-DO User Compatibility Reports) All times are GMT - 6 Hours
Page 1 of 1

 
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/4G Experts @ 3Gstore.com


Pantech UML290 3G/4G


MBR1400


MBR95


Peplink/Pepwave


MBR1200B


3G/4G Booster Antenna


3G & 4G Amplifiers






3G and 4G routers



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

4G :: 4G Forums :: Pepwave :: Peplink :: CradlePoint :: Wilson Electronics :: CloudCams :: MBR1400