EricMiddleton
Posts: 47
Joined: Wed Jan 18, 2012 3:47 am

Re: Cellular Modem

Sun Feb 05, 2012 4:40 am

Is it possible to use an i Wireless (affiliate of T-mobile) USB mobile broadband card with the RPi? I'm mostly concerned about the drivers (whether they exist or not). The packaging for the card says that it works with Windows and Mac.

User avatar
bwoodbury
Posts: 122
Joined: Fri Dec 23, 2011 2:49 pm
Location: Canal Flats Canada

Re: Cellular Modem

Sun Feb 05, 2012 5:59 am

It would depend on what make and model of USB broadband card. T-Mobile cards up to and including the Rocket 2.0 appear to be able to run on Linux Desbian according to various Google search results like

http://www.fogel.ca/2010/10/05.....ianubuntu/

http://en.wikipedia.org/wiki/H.....ng_systems

Not sure about the current Rocket 3.0 cadr from T-Mobile. The following list only shows the Verizon modem as directly supporting Linux

http://reviews.cnet.com/modems.....008-4.html

A little more time on Google might give you a better answer

EricMiddleton
Posts: 47
Joined: Wed Jan 18, 2012 3:47 am

Re: Cellular Modem

Sun Feb 05, 2012 6:04 am

I think the root of my question lies in the fact that I have actually never used Linux before (gasp!). I know that binaries created for an x86 machine won't run on the RPi, so I don't know how one would obtain drivers for this stuff unless the drivers are embedded in the OS (plug and play). Am I on the right track here?

Docteh
Posts: 32
Joined: Tue Jan 31, 2012 6:20 am

Re: Cellular Modem

Sun Feb 05, 2012 9:00 am

If you have one, plug it into a linux box and see if it gets detected, see what the driver module is called. Even then it would be hard to tell for sure, maybe go about it a different way, see it it works with one of the -wrt distros?. Most likely easy to google if you understand how limux drivers work

rpetya
Posts: 5
Joined: Thu Jan 12, 2012 8:38 pm

Re: Cellular Modem

Sun Feb 05, 2012 12:40 pm

Try it on Linux, there is a good chance it will work. If you are not familiar with Linux then http://www.sakis3g.org/ will come handy. In case you manage to connect, I don't see why it would not work on the RPi...

MarshallBanana
Posts: 24
Joined: Sat Jan 21, 2012 9:19 pm

Re: Cellular Modem

Sun Feb 05, 2012 4:19 pm

Eric Middleton said:


I think the root of my question lies in the fact that I have actually never used Linux before (gasp!). I know that binaries created for an x86 machine won't run on the RPi, so I don't know how one would obtain drivers for this stuff unless the drivers are embedded in the OS (plug and play). Am I on the right track here?



hey eric,

if you've never used linux before i'd guess the easiest first test would be to get a live-cd of a bigger linux distro, for example ubuntu http://www.ubuntu.com/download.....u/download is quite popular with people peeking into the linux world, boot of that cd and after plugging in your stick see if it works.

if it works, then with all likelyhood it will also be possible to use it on the raspi...

if it doesn't work out of the box, that still doesn't necessarily mean it won't work on the raspi, just that some more testing will have to be done...

i don't know about your "skillz" (tm) but just booting the image in a virtual machine (instead of burning the cd and then booting from it) will probably also do...

PS: 5 + 12 = 11h? seems legit...

EricMiddleton
Posts: 47
Joined: Wed Jan 18, 2012 3:47 am

Re: Cellular Modem

Sun Feb 05, 2012 6:25 pm

MarshallBanana said:


Eric Middleton said:


I think the root of my question lies in the fact that I have actually never used Linux before (gasp!). I know that binaries created for an x86 machine won't run on the RPi, so I don't know how one would obtain drivers for this stuff unless the drivers are embedded in the OS (plug and play). Am I on the right track here?


hey eric,

if you've never used linux before i'd guess the easiest first test would be to get a live-cd of a bigger linux distro, for example ubuntu http://www.ubuntu.com/download.....u/download is quite popular with people peeking into the linux world, boot of that cd and after plugging in your stick see if it works.

if it works, then with all likelyhood it will also be possible to use it on the raspi...

if it doesn't work out of the box, that still doesn't necessarily mean it won't work on the raspi, just that some more testing will have to be done...

i don't know about your "skillz" (tm) but just booting the image in a virtual machine (instead of burning the cd and then booting from it) will probably also do...

PS: 5 + 12 = 11h? seems legit...


I should probably explain a bit more about myself and the purpose behind getting the cellular modem to work. I have a lot of experience with computers in general. I have made several computers for myself, family and friends and I am an experienced Windows programmer. I used a live CD of puppy linux a couple times to test out old computers with no hard drives and I used GParted several times to partition hard drives for windows. That is about the extent of my experience with linux.

I don't actually have the cellular modem in question yet. I plan on buying it will the sole purpose of connecting it to my RPi. I'm making a small autonomous RPi-based quadrocopter and I want to give it an internet connection so I can communicate with it wherever it is. I have no use for the modem outside of that, so if I buy it and it doesn't work, I'm screwed.

CH3ST3R
Posts: 7
Joined: Sun Sep 23, 2012 10:45 pm

Re: Cellular Modem

Sun Oct 14, 2012 6:39 pm

(Sorry if this post doest make sense. I just woke up)

I have the same problem trying to connect an older verizon modem, model: USB760. I googled 'install usb760 verizon linux' and got some results but none of them worked for me. I just realized novatel is the maker of the card so im thinking of googling under that.
Trying to make something awesome even if no one else thinks it is.

thradtke
Posts: 492
Joined: Wed May 16, 2012 5:16 am
Location: Germany / EL

Re: Cellular Modem

Sun Oct 14, 2012 6:57 pm

CH3ST3R wrote:I have the same problem trying to connect an older verizon modem, model: USB760. I googled 'install usb760 verizon linux' and got some results but none of them worked for me. I just realized novatel is the maker of the card so im thinking of googling under that.
You could always connect your modem through one of those 3G routers. Right now my Pi is connected to one (TP-Link).
Rocket Scientist.

CH3ST3R
Posts: 7
Joined: Sun Sep 23, 2012 10:45 pm

Re: Cellular Modem

Sun Oct 14, 2012 7:15 pm

But i need the modem to be directly connected to the pi. I plan to make some sort of hacking toolkit with the pi at the center. :mrgreen: Also does anyone know if the verizon modem will act as a wifi adapter? This would be great.
Trying to make something awesome even if no one else thinks it is.

User avatar
ab1jx
Posts: 867
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA
Contact: Website

Re: Cellular Modem

Wed Feb 07, 2018 4:39 pm

5 years later and a different cell network probably but see
viewtopic.php?t=159344

There are at least 2 main ways to do it. One connects it as a modem through PPP and you use the AT command set like on a dialup landline modem. That's probably not what you want unless for some reason you're stuck with it.

Pay attention to the usb_modeswitch part first off, the modem (I have a Huawei E3372) can appear as several different devices depending what mode it's set to. The second half of the number you see from lsusb will actually change (reboot, etc. required probably). Mine showed up as cdc_ether in dmesg after that: "cdc_ether 1-1.4.1.2:1.0 eth1: register 'cdc_ether' at usb-3f98000". That eth1 is now a local network device name, so to my /etc/network/interfaces I added a section:

Code: Select all

# Huawei modem
auto eth1
iface eth1 inet dhcp
  allow hotplug eth1
  
You can test it with ifup:

Code: Select all

pi3# ifup eth1
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/0c:5b:8f:27:9a:64
Sending on   LPF/eth1/0c:5b:8f:27:9a:64
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPOFFER from 192.168.8.1
DHCPACK from 192.168.8.1
bound to 192.168.8.100 -- renewal in 38001 seconds.
pi3#
Which means you got an IP address from the modem acting as a DHCP server. My Huawei modem by default is on 192.168.8.1. Open a web browser on the Pi and go to http://192.168.8.1 (or whatever offered you an IP address). It's a little sluggish generally, but there are several configuration pages (and help pages) you can access once you get this far. Huawei's default username is admin with password admin. If your sim isn't working right you'll find that out on the first page you hit. I don't actually have mine working yet because I'm in a fringe area and even with 2 external antennas the modem can't find a usable signal. Ironically I see only a T-Mobile signal but I need AT&T. I think my antennas are cut for the wrong frequency range (there are several).

Return to “General discussion”