Jump to content

Recommended Posts

On the older Tetra i could use my Sierra Aircard modem out of the box.

When I made a SSH connection to the Pineapple Tetra and ran ifconfig -a then i could see it as wwan0

I only had to 

vi /etc/config/network

option ifname 'wwan0' # add this line under wwan

and

vi /etc/config/dhcp

option ignore 0 # set this under under wan

Then it worked. 

But here on the Pineapple VII i cant see the card

What opkg update && opkg install xxx do i need ? I cant find kmod-usb-net-sierrawireless kmod-usb-serial-wwan kmod-usb-serial-sierrawireless kmod-usb-serial-qualcomm or anything that would make the card work ( like opkg list|grep -i sierra )

Any hints ? 

 

Link to comment
Share on other sites

The card is called AirCard 320U BigPond ( a qualcomm chip) 3G
The ttyUSB does not appear - but the SD card on the modem is shown

root@mk7:~# lsusb -s 001:006
Bus 001 Device 006: ID 0f3d:68aa Airprime, Incorporated 


root@mk7:~# lsusb -s 001:006 -v

Bus 001 Device 006: ID 0f3d:68aa Airprime, Incorporated 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0f3d Airprime, Incorporated
  idProduct          0x68aa 
  bcdDevice            0.06
  iManufacturer           3 Sierra Wireless, Incorporated
  iProduct                2 AirCard 320U
  iSerial                 4 redacted
  bNumConfigurations      1

...
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          191
    bNumInterfaces          7
    bConfigurationValue     1
    iConfiguration          1 Sierra Configuration
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
   ...

the dmesg: 

[   63.470496] wlan2: authenticate with xx:re:da:ct:ed:xx
[   63.555564] wlan2: send auth to xx:re:da:ct:ed:xx (try 1/3)
[   63.570812] wlan2: authenticated
[   63.597942] wlan2: associate with xx:re:da:ct:ed:xx (try 1/3)
[   63.618587] wlan2: RX AssocResp from xx:re:da:ct:ed:xx (capab=0x31 status=0 aid=5)
[   63.699849] wlan2: associated
[   63.737384] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready       <-- LAST LINE BEFORE ATTACHING THE Aircard 320U BigPond MODEM
[  287.378195] usb 1-1.3: new high-speed USB device number 5 using ehci-platform
[  287.539842] usb 1-1.3: config 1 has an invalid interface number: 9 but max is 0
[  287.554445] usb 1-1.3: config 1 has no interface number 0
[  287.571789] usb-storage 1-1.3:1.9: USB Mass Storage device detected
[  287.625020] usb-storage: probe of 1-1.3:1.9 failed with error -5
[  290.157559] usb 1-1.3: USB disconnect, device number 5
[  290.538269] usb 1-1.3: new high-speed USB device number 6 using ehci-platform
[  290.740515] usb 1-1.3: config 1 has an invalid interface number: 9 but max is 6
[  290.755229] usb 1-1.3: config 1 has an invalid interface number: 7 but max is 6
[  290.770073] usb 1-1.3: config 1 has no interface number 5
[  290.781241] usb 1-1.3: config 1 has no interface number 6
[  290.932927] usb-storage 1-1.3:1.9: USB Mass Storage device detected
[  291.013949] scsi host0: usb-storage 1-1.3:1.9
[  292.070278] scsi 0:0:0:0: Direct-Access     SWI      SD Card          2.31 PQ: 0 ANSI: 2
[  292.097114] sd 0:0:0:0: [sda] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
[  292.165271] sd 0:0:0:0: [sda] Write Protect is off
[  292.174934] sd 0:0:0:0: [sda] Mode Sense: 0f 0e 00 00
[  292.212427] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  292.314471]  sda: sda1 sda2
[  292.356832] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  298.568580] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

 

root@mk7:~# cat /etc/*release*
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.3'
DISTRIB_REVISION='r11063-85e04e9f46'
DISTRIB_TARGET='ramips/mt76x8'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 19.07.3 r11063-85e04e9f46'
DISTRIB_TAINTS='no-all busybox'
NAME="OpenWrt"
VERSION="19.07.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.3"
VERSION_ID="19.07.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11063-85e04e9f46"
OPENWRT_BOARD="ramips/mt76x8"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS="no-all busybox"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.3 r11063-85e04e9f46"

 

 

Link to comment
Share on other sites

  • 10 months later...

As an alternative to a USB "modem", it's possible to use a mobile USB router. I use my Huawei E5377 with the Mk7 connected via USB. If I remember correctly, the following packages are needed for that specific scenario:

usb-modeswitch
kmod-usb-net
kmod-usb-net-cdc-ether

However, it's easier to use the AP of the mobile router (or use the hotspot of my phone) instead of connecting cables.

Link to comment
Share on other sites

I think i ended up with this My Pineapple Nano with the modem and got it to work: 

 

#opkg install wwan guide pineapple wan sierra u320 air

opkg update

opkg install usb-modeswitch kmod-usb-net-cdc-ether

# vi /etc/config/network

option ifname 'wwan0' # under wwan

# vi /etc/config/dhcp

option ignore 0 # under wan

 

Edited by Thermostaten
Added Image
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...