Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
jlsl2008
Posts: 13
Joined: Mon May 21, 2018 4:04 pm

Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by jlsl2008 »

Hi,

I'm hoping someone can guide me to some where. I have tried to ask on the Sierra forum but no one is responding to my question. I have MC8705 run on my v1.8.1 barrier break, which i checkout from the git and build the kernel. I have build the kernel and run on my router and i can confirm MC8705 is connected properly.

My problem is how do i start the 3g connection? which device i should go to? My predecessor did build a kernel and has made the connection via /dev/3gmodem. How can i make the /dev/3gmodem, so i can connection via the /etc/config/network?


Code: Select all

root@Gargoyle:/# dmesg | grep tty
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 
rootfstype=ext4 rootwait console=ttyS0,38400n8 noinitrd
[    0.000000] console [ttyS0] enabled
[    0.438270] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[    0.457148] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[    8.160325] usb 1-2: Sierra USB modem converter now attached to ttyUSB0
[    8.213879] usb 1-2: Sierra USB modem converter now attached to ttyUSB1
[    8.274693] usb 1-2: Sierra USB modem converter now attached to ttyUSB2
[    8.337052] usb 1-2: Sierra USB modem converter now attached to ttyUSB3
[    8.391793] usb 1-2: Sierra USB modem converter now attached to ttyUSB4
[    8.447675] usb 1-2: Sierra USB modem converter now attached to ttyUSB5
[    8.507425] usb 1-2: Sierra USB modem converter now attached to ttyUSB6

root@Gargoyle:/# opkg list-installed | grep usb
kmod-ledtrig-usbdev - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-core - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-ether - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-mbim - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-ncm - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-sierrawireless - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-ohci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-ipw - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-option - 3.10.49-1-7c745cc448ed36a3954c9f92c8478955
kmod-usb-serial-sierrawireless - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-wwan - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-uhci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-wdm - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb2 - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb2-pci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usbip - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
libusb-1.0 - 1.0.9-1
usb-modeswitch - 2014-07-18-01ecc3b9764d1dd89cf36ede0a2d98f9adb0cd33
usbutils - 007-1
root@Gargoyle:/#  modinfo sierra
module:         /lib/modules/3.10.49/sierra.ko
license:        GPL
depends:        usbserial,usbcore
root@Gargoyle:/# modinfo sierra_net
module:         /lib/modules/3.10.49/sierra_net.ko
license:        GPL
depends:        usbnet,usbcore

    
root@Gargoyle:/# ls /dev
bus                 net                 root                ttyUSB1
console             network_latency     rtc0                ttyUSB2
cpu                 network_throughput  sda                 ttyUSB3
cpu_dma_latency     null                sda1                ttyUSB4
crypto              nvram               sda2                ttyUSB5
full                port                shm                 ttyUSB6
hwrng               ppp                 tty                 urandom
kmsg                ptmx                ttyS0               watchdog
log                 pts                 ttyS1               zero
mem                 random              ttyUSB0

many thanks.

Looking forward some guidance.


best regards.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by Lantis »

It may not be a supported type of USB modem by Gargoyle.
If it is, it would show up in the GUI at Connection -> Basic.

If it is not supported, we can’t help you set it up, you might try the Openwrt forums for more assistance. However running an older kernel like that is going to make it difficult to get any assistance.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

jlsl2008
Posts: 13
Joined: Mon May 21, 2018 4:04 pm

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by jlsl2008 »

Lantis wrote:It may not be a supported type of USB modem by Gargoyle.
If it is, it would show up in the GUI at Connection -> Basic.

If it is not supported, we can’t help you set it up, you might try the Openwrt forums for more assistance. However running an older kernel like that is going to make it difficult to get any assistance.
Hi Lantis,

Thanks. I have moved to CC and build the kernel (i think running OK.) but i still struggling to get 3g connection running.

On the webpage, under Connection->Basic->Internet/WAN. I have selected :Connection via:->USB Modem(ppp) and i have clicked "Scan" button next to the "Device" option. it does show "/dev/ttyUSB0". I have entered all the credentials for the SIM.

Here is the my /etc/config/network file

Code: Select all


config interface 'wan'
        option ipv6 '0'
        option proto '3g'
        option device '/dev/ttyUSB0'
        option username 'web'
        option password 'web'
        option apn 'ppbundle.internet'
        option service 'umts'
        option mobile_isp 'custom'

I ran the uci command

Code: Select all

root@Gargoyle:/etc/config# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.lan=interface
network.lan.type='bridge'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.dns='192.168.1.1'
network.lan.ifname='eth0 eth1'
network.wan=interface
network.wan.ipv6='0'
network.wan.proto='3g'
network.wan.device='/dev/ttyUSB0'
network.wan.username='web'
network.wan.password='web'
network.wan.apn='ppbundle.internet'
network.wan.service='umts'
network.wan.mobile_isp='custom'
network.wan6=interface
network.wan6.ifname='eth1'
network.wan6.proto='dhcpv6'
network.globals=globals
network.globals.ula_prefix='fd6d:4e17:c58f::/48'
On the dmesg,

Code: Select all

root@Gargoyle:/etc/config# dmesg | grep usb
[    0.210701] usbcore: registered new interface driver usbfs
[    0.220107] usbcore: registered new interface driver hub
[    0.230081] usbcore: registered new device driver usb
[    0.802949] usbcore: registered new interface driver plusb
[    0.819546] usbcore: registered new interface driver sierra_net
[    0.909458] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.919865] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.921570] usb usb1: Product: EHCI Host Controller
[    0.936243] usb usb1: Manufacturer: Linux 3.18.84 ehci_hcd
[    0.942722] usb usb1: SerialNumber: 0000:00:0f.5
[    1.123488] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.133885] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.145598] usb usb2: Product: OHCI PCI host controller
[    1.151308] usb usb2: Manufacturer: Linux 3.18.84 ohci_hcd
[    1.167788] usb usb2: SerialNumber: 0000:00:0f.4
[    1.261466] usbcore: registered new interface driver cdc_wdm
[    1.278708] usbcore: registered new interface driver usbserial
[    1.286304] usbcore: registered new interface driver usbserial_generic
[    1.295983] usbserial: USB Serial support registered for generic
[    1.304113] usbcore: registered new interface driver sierra
[    1.320946] usbserial: USB Serial support registered for Sierra USB modem
[    1.321375] usbip_core: USB/IP Core v1.0.0
[    1.396285] usb 1-2: new high-speed USB device number 2 using ehci-pci
[    1.824927] usb 1-2: New USB device found, idVendor=1199, idProduct=683c
[    1.845207] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[    1.866728] usb 1-2: Product: MC8790
[    1.877512] usb 1-2: Manufacturer: Sierra Wireless, Incorporated
[    1.917319] usb 1-2: Sierra USB modem converter now attached to ttyUSB0
[    1.956188] usb 1-2: Sierra USB modem converter now attached to ttyUSB1
[    1.994883] usb 1-2: Sierra USB modem converter now attached to ttyUSB2
[    2.033817] usb 1-2: Sierra USB modem converter now attached to ttyUSB3
[    2.072692] usb 1-2: Sierra USB modem converter now attached to ttyUSB4
[    2.111577] usb 1-2: Sierra USB modem converter now attached to ttyUSB5
[    2.323233] usb 1-2: Sierra USB modem converter now attached to ttyUSB6
[    6.271563] usbcore: registered new interface driver usb-storage
[   51.398708] usbcore: registered new interface driver cdc_acm
[   51.440496] cdc_wdm: exports duplicate symbol usb_cdc_wdm_register (owned by kernel)
[   51.681562] usbcore: registered new interface driver pl2303
[   51.698528] usbserial: USB Serial support registered for pl2303
[   51.746516] usbcore: registered new interface driver usbhid
[   51.763303] usbhid: USB HID core driver
[   51.775672] usbip_core: exports duplicate symbol dev_attr_usbip_debug (owned by kernel)
[   51.801077] usbcore: registered new interface driver usblp
[   51.818664] usbnet: exports duplicate symbol usbnet_device_suggests_idle (owned by kernel)
[   51.845133] usbserial: exports duplicate symbol usb_serial_resume (owned by kernel)
[   51.938723] usbcore: registered new interface driver ath9k_htc
[   51.966486] usbcore: registered new interface driver brcmfmac
[   51.985660] cdc_wdm: exports duplicate symbol usb_cdc_wdm_register (owned by kernel)
[   52.122022] usbip_core: exports duplicate symbol dev_attr_usbip_debug (owned by kernel)
[   52.147019] usbnet: exports duplicate symbol usbnet_device_suggests_idle (owned by kernel)
[   52.172911] usbserial: exports duplicate symbol usb_serial_resume (owned by kernel)
[   52.213019] cdc_wdm: exports duplicate symbol usb_cdc_wdm_register (owned by kernel)
[   52.285740] usbip_core: exports duplicate symbol dev_attr_usbip_debug (owned by kernel)
[   52.310756] usbnet: exports duplicate symbol usbnet_device_suggests_idle (owned by kernel)
[   52.336638] usbserial: exports duplicate symbol usb_serial_resume (owned by kernel)
[   52.361569] cdc_wdm: exports duplicate symbol usb_cdc_wdm_register (owned by kernel)
[   52.432138] usbip_core: exports duplicate symbol dev_attr_usbip_debug (owned by kernel)
[   52.457170] usbnet: exports duplicate symbol usbnet_device_suggests_idle (owned by kernel)
[   52.483165] usbserial: exports duplicate symbol usb_serial_resume (owned by kernel)
I have check the lspci as well, it shows:

Code: Select all

root@Gargoyle:/etc/config# lspci -mk
00:01.0 "Class 0600" "1022" "2080" "1022" "2080"
00:01.2 "Class 1010" "1022" "2082" "1022" "2082" "Geode LX AES"
00:09.0 "Class 0200" "1106" "3053" "1106" "0106" "via-rhine"
00:0a.0 "Class 0200" "1106" "3053" "1106" "0106" "via-rhine"
00:0c.0 "Class 0200" "168c" "001b" "168c" "2062" "ath5k"
00:0f.0 "Class 0601" "1022" "2090" "1022" "2090" "cs5535-mfd"
00:0f.2 "Class 0101" "1022" "209a" "1022" "209a" "pata_cs5536"
00:0f.4 "Class 0c03" "1022" "2094" "1022" "2094" "ohci-pci"
00:0f.5 "Class 0c03" "1022" "2095" "1022" "2095" "ehci-pci"
I think i have include the driver for Sierra driver. Did i do it correctly? why i still couldn't see 3g modem under /dev/ (as i'm expecting it's shows as /dev/3gmodem?

many thanks.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by ispyisail »

screen shots please

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by Lantis »

This is out of my area of expertise to be honest with you.
Which drivers did you include?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

jlsl2008
Posts: 13
Joined: Mon May 21, 2018 4:04 pm

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by jlsl2008 »

Thanks for the prompt reply.
I have clean everything and build from scratch to eliminate my play around with the configuration (make menuconfig).

Should i use /dev/ttyUSB3 or /dev/ttyUSB0? I am actually expecting something like /dev/3g-wan (or /dev/3gmodem) appear on my kernel so i can choose on the webpage and make the connection (or configure it in the /etc/config/network.

I am bit stuck here. This is my first time build kernel from scratch and i have feeling i need to load the driver so the kernel will show the device in the /dev/ (correct me if i'm wrong). but i have no clue how to do it over here.

Code: Select all

root@Gargoyle:/# ls /dev/
bus                 rtc0                tty3                tty56
console             sda                 tty30               tty57
cpu                 sda1                tty31               tty58
cpu_dma_latency     sda2                tty32               tty59
crypto              shm                 tty33               tty6
full                tty                 tty34               tty60
fuse                tty0                tty35               tty61
hwrng               tty1                tty36               tty62
kmsg                tty10               tty37               tty63
log                 tty11               tty38               tty7
mem                 tty12               tty39               tty8
memory_bandwidth    tty13               tty4                tty9
mtd0                tty14               tty40               ttyS0
mtd0ro              tty15               tty41               ttyS1
mtd1                tty16               tty42               ttyUSB0
mtd1ro              tty17               tty43               ttyUSB1
mtdblock0           tty18               tty44               ttyUSB2
mtdblock1           tty19               tty45               ttyUSB3
net                 tty2                tty46               ttyUSB4
network_latency     tty20               tty47               ttyUSB5
network_throughput  tty21               tty48               ttyUSB6
null                tty22               tty49               urandom
nvram               tty23               tty5                vcs
port                tty24               tty50               vcs1
ppp                 tty25               tty51               vcsa
ptmx                tty26               tty52               vcsa1
pts                 tty27               tty53               watchdog
random              tty28               tty54               zero
root                tty29               tty55
root@Gargoyle:/# dmesg | grep usb
[    0.200562] usbcore: registered new interface driver usbfs
[    0.210104] usbcore: registered new interface driver hub
[    0.220078] usbcore: registered new device driver usb
[    1.396481] usb 1-2: new high-speed USB device number 2 using ehci-pci
[    5.417564] usbcore: registered new interface driver usb-storage
[   25.884196] usbcore: registered new interface driver cdc_acm
[   25.926624] usbcore: registered new interface driver cdc_wdm
[   26.049473] usbcore: registered new interface driver ov534
[   26.069466] usbcore: registered new interface driver gspca_zc3xx
[   26.211651] usbcore: registered new interface driver ums-alauda
[   26.231767] usbcore: registered new interface driver ums-cypress
[   26.252401] usbcore: registered new interface driver ums-datafab
[   26.273285] usbcore: registered new interface driver ums-freecom
[   26.293869] usbcore: registered new interface driver ums-isd200
[   26.314358] usbcore: registered new interface driver ums-jumpshot
[   26.335458] usbcore: registered new interface driver ums-karma
[   26.356478] usbcore: registered new interface driver ums-sddr09
[   26.376917] usbcore: registered new interface driver ums-sddr55
[   26.398224] usbcore: registered new interface driver ums-usbat
[   26.417290] usbcore: registered new interface driver usblp
[   26.446748] usbcore: registered new interface driver usbserial
[   26.464480] usbcore: registered new interface driver usbserial_generic
[   26.484274] usbserial: USB Serial support registered for generic
[   26.508037] usbcore: registered new interface driver uvcvideo
[   26.611435] usbcore: registered new interface driver ath9k_htc
[   26.632053] usbcore: registered new interface driver cdc_ether
[   26.653639] usbcore: registered new interface driver cdc_ncm
[   26.676438] usbcore: registered new interface driver huawei_cdc_ncm
[   26.730024] usbcore: registered new interface driver oti6858
[   26.750917] usbserial: USB Serial support registered for oti6858
[   26.772289] usbcore: registered new interface driver pl2303
[   26.789205] usbserial: USB Serial support registered for pl2303
[   26.811443] usbcore: registered new interface driver qmi_wwan
[   26.831895] usbcore: registered new interface driver rndis_host
[   26.851460] usbcore: registered new interface driver sierra
[   26.868426] usbserial: USB Serial support registered for Sierra USB modem
[   26.907533] usb 1-2: Sierra USB modem converter now attached to ttyUSB0
[   26.978233] usb 1-2: Sierra USB modem converter now attached to ttyUSB1
[   27.016771] usb 1-2: Sierra USB modem converter now attached to ttyUSB2
[   27.062110] usb 1-2: Sierra USB modem converter now attached to ttyUSB3
[   27.112431] usb 1-2: Sierra USB modem converter now attached to ttyUSB4
[   27.151202] usb 1-2: Sierra USB modem converter now attached to ttyUSB5
[   27.189700] usb 1-2: Sierra USB modem converter now attached to ttyUSB6
[   27.212256] usbcore: registered new interface driver sierra_net
[   27.296478] usbcore: registered new interface driver cdc_mbim
[   27.317085] usbcore: registered new interface driver option
[   27.334019] usbserial: USB Serial support registered for GSM modem (1-port)
[   27.357573] usbcore: registered new interface driver qcserial
[   27.375044] usbserial: USB Serial support registered for Qualcomm USB modem
root@Gargoyle:/# lsmod | grep usb
ledtrig_usbdev          1468  0
ums_usbat               7104  0
usb_storage            34879 10 ums_usbat
usb_wwan                3475  2 qcserial
usblp                   7868  0
usbnet                 14346  7 cdc_mbim
usbserial              15819  6 qcserial
root@Gargoyle:/# comgt -d /dev/ttyUSB3 info
##### Wireless WAN Modem Configuration #####
Product text:
====

Manufacturer: Sierra Wireless, Incorporated
Model: MC8790
Revision: K2_0_7_35AP C:/WS/FW/K2_0_7_35AP/MSM6290/SRC 2010/03/04 17:37:08
IMEI: 352974027148428
IMEI SV: 16
FSN: C661442213410
3GPP Release 6
+GCAP: +CGSM,+FCLASS,+DS
OK
====
Manufacturer:           Sierra Wireless, Incorporated
IMEI and Serial Number: 352974027148428
Manufacturer's Revision:
K2_0_7_35AP C:/WS/FW/K2_0_7_35AP/MSM6290/SRC 2010/03/04 17:37:
Hardware Revision:

Network Locked:         0
Customisation:

Band settings:          (
)
APN:                    1,"IP","PPBUNDLE.INTERNET","0.0.0.0",0,0
##### END #####

root@Gargoyle:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:0D:B9:28:5B:6C
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1841 (1.7 KiB)  TX bytes:1428 (1.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:28:5B:6C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:648 errors:0 dropped:0 overruns:0 frame:0
          TX packets:688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:77460 (75.6 KiB)  TX bytes:524822 (512.5 KiB)

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:28:5B:6D
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:860 errors:0 dropped:307 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:57744 (56.3 KiB)  TX bytes:4522 (4.4 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4454 (4.3 KiB)  TX bytes:4454 (4.3 KiB)

https://imgur.com/a/lEW5mtm
*not sure this url will work. If it's doesn't, i'll redo the screenshot again.

Thanks.

jlsl2008
Posts: 13
Joined: Mon May 21, 2018 4:04 pm

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by jlsl2008 »

Lantis wrote:This is out of my area of expertise to be honest with you.
Which drivers did you include?
i see. This is not one of my thing either! :( A big learning curve to me.

I am trying all my luck by include all of the drivers as much i can but these few drivers definitely included in the configuration:
- kmod-usb-serial-sierrawireless....... Support for Sierra Wireless devices
- kmod-usb-serial..................... Support for USB-to-Serial converters

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by Lantis »

This is a different version of the Sierra wireless module, but I wonder if similar instructions apply to your device as well?
https://forum.sierrawireless.com/t/help ... ter/8919/2

I only suggest this because Gargoyle supports MBIM natively.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

jlsl2008
Posts: 13
Joined: Mon May 21, 2018 4:04 pm

Re: Sierra Wireless AirPrime MC8705 barrier break v1.8.1

Post by jlsl2008 »

Thanks you for awesome reply. I found out it's actually mounted successfully on /dev/ttyUSB3.

thanks again.

Post Reply