Router: TL-WR1043N v2
OpenWRT: Chaos Calmer 15.05
Modem: HUAWEI E392 (Vendor=12d1, ProdID=1506, chipset=Qualcomm MDM9600)
I've followed the guide on How To Use LTE modem in QMI mode for WAN connection
When I try to connect I get either "No effect" or "Call failed"
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --start-network internet --autoconnect
"No effect"
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --start-network internet --autoconnect
"Call failed"
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
{
"type": "lte",
"rssi": -53,
"rsrq": -7,
"rsrp": -78,
"snr": 230
}
I've tried the modem using another router (TL-MR3020 with TP-Link stock firmware) and it connects fine!
Does the network configuration play any matter when it comes connecting?
I found a lot of different ways to setup "/etc/config/network" when it comes to USB modems, but in the guide it just say
config interface 'wwan'
option ifname 'wwan0'
option proto 'dhcp'
I got the following device/setup info:
dmesg | grep usb
[ 4.370000] usbcore: registered new interface driver usbfs
[ 4.370000] usbcore: registered new interface driver hub
[ 4.380000] usbcore: registered new device driver usb
[ 11.480000] usbcore: registered new interface driver cdc_wdm
[ 11.760000] usbcore: registered new interface driver qmi_wwan
[ 105.480000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 105.930000] usb 1-1: USB disconnect, device number 2
[ 117.990000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 118.150000] qmi_wwan 1-1:1.1 wwan0: register 'qmi_wwan' at usb-ehci-platform.0-1, WWAN/QMI device, 00:a0:c6:00:00:00
cat /sys/kernel/debug/usb/devices
.......
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=HUAWEI Mobile
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=09 Driver=qmi_wwan
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=08 Driver=qmi_wwan
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
ls -l /dev/cdc-wdm0
crw-r--r-- 1 root root 180, 176 Nov 21 14:18 /dev/cdc-wdm0
lsmod
arc4 1232 2
ath 19280 3 ath9k
ath9k 83696 0
ath9k_common 15760 1 ath9k
ath9k_hw 331712 2 ath9k
cdc_wdm 7728 1 qmi_wwan
cfg80211 204048 4 ath9k
compat 1120 4 ath9k
crc_ccitt 944 1 ppp_async
crypto_blkcipher 9744 1 arc4
ehci_hcd 31888 1 ehci_platform
ehci_platform 3408 0
gpio_button_hotplug 4400 0
ip6_tables 9056 3 ip6table_raw
ip6t_REJECT 1104 2
ip6table_filter 528 1
ip6table_mangle 992 1
ip6table_raw 496 1
ip_tables 9200 4 iptable_nat
ipt_MASQUERADE 544 1
ipt_REJECT 832 2
iptable_filter 592 1
iptable_mangle 864 1
iptable_nat 688 1
iptable_raw 560 1
ipv6 261168 26 nf_conntrack_ipv6
ledtrig_usbdev 1856 0
mac80211 362512 1 ath9k
mii 3216 1 usbnet
nf_conntrack 44800 11 nf_nat_ipv4
nf_conntrack_ftp 5200 1 nf_nat_ftp
nf_conntrack_ipv4 5072 8
nf_conntrack_ipv6 5456 3
nf_conntrack_rtcache 2400 0
nf_defrag_ipv4 720 1 nf_conntrack_ipv4
nf_defrag_ipv6 8800 1 nf_conntrack_ipv6
nf_log_common 2240 2 nf_log_ipv4
nf_log_ipv4 3056 0
nf_log_ipv6 3216 0
nf_nat 9168 5 nf_nat_ipv4
nf_nat_ftp 1120 0
nf_nat_ipv4 3968 1 iptable_nat
nf_nat_masquerade_ipv4 1184 1 ipt_MASQUERADE
nf_reject_ipv4 1760 1 ipt_REJECT
nf_reject_ipv6 1856 1 ip6t_REJECT
nls_base 4656 1 usbcore
ppp_async 6240 0
ppp_generic 20176 3 pppoe
pppoe 8032 0
pppox 1136 1 pppoe
qmi_wwan 10224 0
slhc 4080 1 ppp_generic
usb_common 1008 1 usbcore
usbcore 111392 6 qmi_wwan
usbnet 15696 1 qmi_wwan
x_tables 9776 26 ipt_REJECT
xt_CT 2144 0
xt_LOG 688 0
xt_REDIRECT 976 0
xt_TCPMSS 2528 4
xt_comment 400 64
xt_conntrack 2080 10
xt_id 400 0
xt_limit 912 20
xt_mac 544 0
xt_mark 592 0
xt_multiport 1104 0
xt_nat 992 0
xt_state 608 0
xt_tcpudp 1616 12
xt_time 1552 0
The strange thing is I got it to work yesterday.
I've tried to reinstall OpenWRT and redo the AT setup (to set the modem to NDIS mode).....but still no connection :-(
Any clues?
(Last edited by MrBW on 21 Nov 2015, 16:24)