LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
 
Search this Thread
Old 08-27-2014, 07:39 PM   #1
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Rep: Reputation: Disabled
cannot connect aircard 340U


The firmware shipped with the unit assumes Windows 8 morphing. I downloaded the app (ran it on Windows XP) to reconfigure the firmware.
I installed GobiNet and GobiSerial, per Sierra Wireless instructions.

I have two computers that I would like to operate this with: one is Ubuntu, the other is Debian. I have not gotten as far as trying to install the device on the Debian box. For the Ubuntu laptop, I waited until the hard disk light had stopped flashing, and then plugged in the aircard. (I understand that there is a timing issue.) After the OS got around to recognizing that something was there, I clicked on Network Manager. The DSL New Connection stuff came up.
I filled in the blanks, and told it to connect.

The device came up with a full set of signal strength bars, and said "connecting"
And then nothing. It even locked up the OS.

Suggestions?
 
Old 08-29-2014, 12:46 AM   #2
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,232

Rep: Reputation: 175Reputation: 175
you are assuming that we know what a "aircard 340U" is.
i don't. is it a router? a usb wireless?
please post some output.
 
Old 08-29-2014, 07:06 AM   #3
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
aircard introduction: http://compnetworking.about.com/od/w...is-aircard.htm
http://support.netgear.com/product/A...U+$28AT$26T$29
It is a USB modem. Modem, as in connects to the cellular telephone network, as apposed to a WiFi which connects to a local network hot spot.
The second link (above) provides instructions from Netgear for connecting to a Linux computer. I have dutifully followed all instructions from Netgear.
My mistake: I assumed that if you didn't know what an aircard was, you wouldn't be able to help me.


Quote:
Originally Posted by ondoho View Post
you are assuming that we know what a "aircard 340U" is.
i don't. is it a router? a usb wireless?
please post some output.

Last edited by TobiSGD; 08-29-2014 at 07:34 AM. Reason: The links did not insert
 
Old 08-29-2014, 02:16 PM   #4
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,232

Rep: Reputation: 175Reputation: 175
it's not only me helping you.- it's always a communal effort. that's why it's a forum.

ok, i know what an aircard is now. a fancy name for a usb mobile broadband adapter, aka dongle.

now please post some output, e.g. like this. also post output of "lsusb".

ps: please try to install it with drivers from your packet manager first. only if that fails should you use those from the manufacturer.

Last edited by ondoho; 08-29-2014 at 02:18 PM.
 
Old 08-29-2014, 04:31 PM   #5
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
Thank you for your response.
Here are the requested diagnostics:
Quote:
~$ uname -rv
3.2.0-65-generic #99-Ubuntu SMP Fri Jul 4 21:04:27 UTC 2

~$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

~$ lsusb
Bus 001 Device 004: ID 1199:9051 Sierra Wireless, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I do not know what applicable drivers that I should load in addition to what I already have. From /usr/bin/systemsettings I selected Network Settings. After the OS got around to recognizing the USB device, Network Settings opened with the DSL configuration menu. I gave a device nickname and PIN number for the connection, and told it to connect. Then nothing.
I suspect something in the /etc/ppp folder. My due diligence prior to starting this thread said something about /etc/ppp/peers contents, but that wiki was back in '09, and included chap info that is not applicable (my aircard only requires a PIN).
Quote:
Originally Posted by ondoho View Post
it's not only me helping you.- it's always a communal effort. that's why it's a forum.

ok, i know what an aircard is now. a fancy name for a usb mobile broadband adapter, aka dongle.

now please post some output, e.g. like this. also post output of "lsusb".

ps: please try to install it with drivers from your packet manager first. only if that fails should you use those from the manufacturer.
 
Old 09-01-2014, 01:27 AM   #6
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,232

Rep: Reputation: 175Reputation: 175
ok, i did some searching on your behalf (for future reference, i entered "linux aircard 340u" as search terms).

your modem wants to use LTE in addition to GPRS and UMTS. that's good, because it's fast.
please forget everything about ppp for now.
please forget network manager and delete all connections you tried to create.

first things first:
what distro are you running? looks like ubuntu but the kernel version looks way too old for any ubuntu that is still supprted.

yes, this is the most important question atm.

only after this question is answered should we move on.
-----------------------------------------------------
links for future reference:
http://mtekk.us/archives/guides/netg...rd-340u-linux/
http://wes.skeweredrook.com/raspberry-pi-att-beam/
http://askubuntu.com/questions/43554...h-aircard-340u
 
Old 09-01-2014, 09:17 AM   #7
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
I thought that I knew what I was doing.
The /etc/apt/sources.list is "trusty", which is the latest Ubuntu distribution.
I currently have linux-headers-3.14.4 installed, which is the latest.
As root, I did an apt-get update; apt-get dist-upgrade, and I am told that I have the latest distribution.
So why do I have kernel 3.2 when the latest longterm is 3.14?

Quote:
Originally Posted by ondoho View Post
ok, i did some searching on your behalf (for future reference, i entered "linux aircard 340u" as search terms).

your modem wants to use LTE in addition to GPRS and UMTS. that's good, because it's fast.
please forget everything about ppp for now.
please forget network manager and delete all connections you tried to create.

first things first:
what distro are you running? looks like ubuntu but the kernel version looks way too old for any ubuntu that is still supprted.

yes, this is the most important question atm.

only after this question is answered should we move on.
-----------------------------------------------------
links for future reference:
http://mtekk.us/archives/guides/netg...rd-340u-linux/
http://wes.skeweredrook.com/raspberry-pi-att-beam/
http://askubuntu.com/questions/43554...h-aircard-340u
 
Old 09-02-2014, 09:34 AM   #8
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
I know a littl bit more than I did.
Kernel 3.2 is the latest kernnel for both Ubuntu and Debian i386.
LTE capability has been incorporated into the 3.14 kernel, as per the link that you provided. I have an AMD64 box with Debian stable loaded. That kernel is 3.14-1-amd64.
I attempted to cnnect the broadband device to the AMD64 box. Network Tools; Configure network device; add Mobile Broadband; Advanced: APN pulldown select Uniteed States yields an APN = pta; type = 4G (LTE) preferred; pin number; save. Still no connection.
Back to Ubuntu: https://wiki.ubuntu.com/Kernel/MainlineBuilds states that mainline kernels may be installed for testing purposes, but Ubuntu will not support them.

Quote:
Originally Posted by ondoho View Post
ok, i did some searching on your behalf (for future reference, i entered "linux aircard 340u" as search terms).

your modem wants to use LTE in addition to GPRS and UMTS. that's good, because it's fast.
please forget everything about ppp for now.
please forget network manager and delete all connections you tried to create.

first things first:
what distro are you running? looks like ubuntu but the kernel version looks way too old for any ubuntu that is still supprted.

yes, this is the most important question atm.

only after this question is answered should we move on.
-----------------------------------------------------
links for future reference:
http://mtekk.us/archives/guides/netg...rd-340u-linux/
http://wes.skeweredrook.com/raspberry-pi-att-beam/
http://askubuntu.com/questions/43554...h-aircard-340u
 
Old 09-03-2014, 03:27 PM   #9
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,232

Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by piobair View Post
Kernel 3.2 is the latest kernnel for both Ubuntu and Debian i386.
does this mean that you have to actually install a x86_64 version of ubuntu, to get a higher kernel?
if you don't know what architecture you're running, try
Code:
uname -m
fyi: it is possible to run 32bit systems on a machine with 64bit capability, but not vice versa.

Last edited by ondoho; 09-03-2014 at 03:37 PM.
 
Old 09-05-2014, 07:58 AM   #10
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
My laptop is _not_ an x86_64. It actually says IBM X41 on the cover; uname reports i686.
Since the Ubuntu page says that it does not support kernels > 3.2, and being tired of a system upgrade 3X per week, I did a wipe & installed Debian stable (wheezy) 3.2.0-4-686-pae. Lo and behold, the kernel is 3.2.60-1+deb7u3.

Quote:
Originally Posted by ondoho View Post
does this mean that you have to actually install a x86_64 version of ubuntu, to get a higher kernel?
if you don't know what architecture you're running, try
Code:
uname -m
fyi: it is possible to run 32bit systems on a machine with 64bit capability, but not vice versa.
 
Old 09-05-2014, 11:58 AM   #11
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,232

Rep: Reputation: 175Reputation: 175
ok.
and of course, the kernel version is not the newest, because it's debian stable.
i still think you did the right thing.
you have the option to install a higher kernel version on stable (backports, backporting, basically involves adding a line to your /etc/apt/sources.list).
 
Old 09-05-2014, 02:18 PM   #12
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
Moving on ...
I found this forum answer http://kb.netgear.com/app/answers/de...ported_Devices
I don't remember how I found it. It is generically helpful, even though the 340U is not listed as a supported device.
Attempting to install using KPPP, I cannot specify the correct modem.

Applicable /var/log/message contents:
Quote:
Sep 5 14:24:00 harold kernel: [ 306.392117] usb 1-4: new high-speed USB device number 3 using ehci_hcd
Sep 5 14:24:00 harold kernel: [ 306.524742] usb 1-4: config 1 has an invalid interface number: 9 but max is 0
Sep 5 14:24:00 harold kernel: [ 306.524754] usb 1-4: config 1 has no interface number 0
Sep 5 14:24:00 harold kernel: [ 306.525359] usb 1-4: New USB device found, idVendor=1199, idProduct=0fff
Sep 5 14:24:00 harold kernel: [ 306.525370] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 5 14:24:00 harold kernel: [ 306.525379] usb 1-4: Product: AirCard 340U
Sep 5 14:24:00 harold kernel: [ 306.525387] usb 1-4: Manufacturer: Sierra Wireless, Incorporated
Sep 5 14:24:00 harold kernel: [ 306.525396] usb 1-4: SerialNumber: 013323000762535
Sep 5 14:24:01 harold mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4"
Sep 5 14:24:01 harold mtp-probe: bus: 1, device: 3 was not an MTP device
Sep 5 14:24:01 harold kernel: [ 307.370703] Initializing USB Mass Storage driver...
Sep 5 14:24:01 harold kernel: [ 307.371909] usb-storage: probe of 1-4:1.9 failed with error -5
Sep 5 14:24:01 harold kernel: [ 307.373151] usbcore: registered new interface driver usb-storage
Sep 5 14:24:01 harold kernel: [ 307.373160] USB Mass Storage support registered.
Sep 5 14:24:02 harold usb_modeswitch: switching device 1199:0fff on 001/003
Sep 5 14:24:04 harold kernel: [ 309.899957] usb 1-4: USB disconnect, device number 3
Sep 5 14:24:04 harold kernel: [ 310.452086] usb 1-4: new high-speed USB device number 4 using ehci_hcd
Sep 5 14:24:04 harold kernel: [ 310.584875] usb 1-4: config 1 has an invalid interface number: 8 but max is 4
Sep 5 14:24:04 harold kernel: [ 310.584888] usb 1-4: config 1 has an invalid interface number: 9 but max is 4
Sep 5 14:24:04 harold kernel: [ 310.584898] usb 1-4: config 1 has no interface number 1
Sep 5 14:24:04 harold kernel: [ 310.584907] usb 1-4: config 1 has no interface number 4
Sep 5 14:24:04 harold kernel: [ 310.585865] usb 1-4: New USB device found, idVendor=1199, idProduct=9051
Sep 5 14:24:04 harold kernel: [ 310.585876] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 5 14:24:04 harold kernel: [ 310.585885] usb 1-4: Product: AirCard 340U
Sep 5 14:24:04 harold kernel: [ 310.585893] usb 1-4: Manufacturer: Sierra Wireless, Incorporated
Sep 5 14:24:04 harold kernel: [ 310.585902] usb 1-4: SerialNumber: 013323000762535
Sep 5 14:24:04 harold kernel: [ 310.590321] scsi3 : usb-storage 1-4:1.9
Sep 5 14:24:04 harold mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4"
Sep 5 14:24:04 harold mtp-probe: bus: 1, device: 4 was not an MTP device
Sep 5 14:24:05 harold kernel: [ 311.592922] scsi 3:0:0:0: Direct-Access Aircard Disk Drive 1.00 PQ: 0 ANSI: 2
Sep 5 14:24:05 harold kernel: [ 311.595807] sd 3:0:0:0: Attached scsi generic sg1 type 0
Sep 5 14:24:05 harold kernel: [ 311.598262] sd 3:0:0:0: [sdb] Attached SCSI removable disk
I am not sure what the correct entry for "modem" should be in KPPP, but apparently it is not available for me to pick. Do I need to MAKEDEV the applicable device to /dev/?
I expected KPPP to configure a file in /etc/ppp that I could tweek, but apparently that is not the case.

PS The laptop is named "harold" because it has a bluetooth.
 
Old 09-06-2014, 03:41 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,507

Rep: Reputation: 616Reputation: 616Reputation: 616Reputation: 616Reputation: 616Reputation: 616
Here is the download info for driver
http://downloadcenter.netgear.com/en...S2.12N2.21.zip
 
Old 09-06-2014, 07:48 AM   #14
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 110

Original Poster
Rep: Reputation: Disabled
In my original post on 8/27/14 I said that I had installed GobiNet and GobiSerial. Those are the names of the S2.12N2.21.zip drivers.
command line "modinfo sierra" tells me that the driver is installed. That is on the i686 machine. I still do not know if the driver presumably installed in the 3.24.12-1 kernel is satisfactory.
The 3.14.12-1 kernel presumably uses bhe "broadband" option. I have not figured out how to test that.
I did find where KPPP stores its data: (user)/.kde/share/config/kppprc . I edited that file and told it device = /dev/bus/usb/001/004 (per lsusb output).
Back to KPPP, I told it to "connect". It wanted a user ID. I gave it "IFP@CINGULAR.GPRS.COM". Connect. That gave me an error message, "Unable to create modem lock file"
That sounds like a permission issue. http://forums.opensuse.org/showthrea...-usr-sbin-pppd It sounds like KPPP is not a good app.

Quote:
Originally Posted by EDDY1 View Post
Here is the download info for driver
http://downloadcenter.netgear.com/en...S2.12N2.21.zip

Last edited by piobair; 09-06-2014 at 07:52 AM.
 
Old 09-06-2014, 09:59 AM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,507

Rep: Reputation: 616Reputation: 616Reputation: 616Reputation: 616Reputation: 616Reputation: 616
The download from the manufacturer has the actual driver & a pdf of how to install
 
  


Reply

Tags
aircard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner problems with Acer 340U recognition by xsane Yann Linux - Newbie 0 03-30-2012 10:16 AM
Telstra bigpond usb Sierra aircard 880u will not connect on mint debian cookies Linux - Newbie 2 08-08-2011 07:25 AM
Anyone tried an aircard router? abefroman Linux - Networking 6 12-30-2009 10:40 PM
aircard dsanders11 Linux - Newbie 1 11-09-2008 07:11 PM
Not able to get a Verizon wireless aircard AC595u to connect to internet remutica Linux - Newbie 1 10-10-2008 08:31 AM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration