Temat: E3272s-153 ncm
E3272s-153 ncm
Witam.
Na fw luci-15.05-ar71xx-generic-tl-mr3020-v1-8M-squashfs-factory.bin nie udaje mi się zmusić modemu E3272s-153 (zwykły USB) do współpracy z ncm.
W trybie wwan działa OK, chociaż transfery są kiepskie.
Po przekonfigurowaniu na ncm nie łączy i daje kern.err w logu
root@OpenWrt:~# 3ginfo
Status: Rozłączony
Czas polaczenia: -
Przeslano danych: - / -
Operator: Play
Tryb pracy: LTE
Sila sygnalu: 83%
Urzadzenie: huawei E3272
MCC MNC: 260 06
LAC: 0072 (114)
CID: 00102D11 (1060113)
TAC: 0072 (114)
CSQ: 26
RSSI: -61 dBm
RSCP: -145 dBm
Ec/IO: -32 dB
RSRP: -86 dBm
SINR: 18 dB
RSRQ: -6 dB
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fda1:cffd:e784::/48'
config interface 'lan'
option ifname 'eth0'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option dns '8.8.8.8'
option ipaddr '192.168.2.1'
config interface 'wan'
option proto 'ncm'
option delegate '0'
option device '/dev/ttyUSB0'
option mode 'auto'
option apn 'internet'
option ipv6 '0'
root@OpenWrt:~# ifstatus wan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 113,
"l3_device": "wwan0",
"proto": "ncm",
"metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
]
},
"data": {
}
}
cat /var/state/network
network.lan.up='1'
network.lan.device='eth0'
network.lan.ifname='br-lan'
network.loopback.up='1'
network.loopback.device='lo'
network.wan.driver='comgt'
network.wan.ctl_device='/dev/'
network.wan.dat_device='/dev/ttyUSB0'
network.wan.up='1'
-network.wan.device
network.wan.ifname='wwan0'
Logread
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: started, version 2.73 cachesize 150
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: DNS service limited to local subnets
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq-dhcp[5151]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: using local addresses only for domain lan
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: reading /tmp/resolv.conf.auto
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: using local addresses only for domain lan
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: using nameserver 8.8.8.8#53
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: read /etc/hosts - 1 addresses
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq[5151]: read /tmp/hosts/dhcp - 1 addresses
Sat Dec 10 00:13:34 2016 daemon.info dnsmasq-dhcp[5151]: read /etc/ethers - 0 addresses
Sat Dec 10 00:13:35 2016 daemon.notice netifd: wan (5086): sending -> AT
Sat Dec 10 00:13:36 2016 daemon.notice netifd: wan (5086): sending -> ATZ
Sat Dec 10 00:13:36 2016 daemon.notice netifd: wan (5086): sending -> ATQ0
Sat Dec 10 00:13:37 2016 daemon.notice netifd: wan (5086): sending -> ATV1
Sat Dec 10 00:13:38 2016 daemon.notice netifd: wan (5086): sending -> ATE1
Sat Dec 10 00:13:38 2016 daemon.notice netifd: wan (5086): sending -> ATS0=0
Sat Dec 10 00:13:39 2016 daemon.notice netifd: wan (5086): sending -> AT^SYSCFGEX="00",3fffffff,2,4,7fffffffffffffff,,
Sat Dec 10 00:13:40 2016 daemon.notice netifd: wan (5086): sending -> AT^NDISDUP=1,1,"internet"
Sat Dec 10 00:13:41 2016 daemon.notice netifd: wan (5086): Connected, starting DHCP
Sat Dec 10 00:13:41 2016 kern.err kernel: [ 1813.820000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sat Dec 10 00:13:41 2016 kern.err kernel: [ 1813.820000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sat Dec 10 00:13:41 2016 kern.err kernel: [ 1813.830000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan' is now up
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Network device 'wwan0' link is up
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Network alias 'wwan0' link is up
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_4' is enabled
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_4' has link connectivity
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_4' is setting up now
Sat Dec 10 00:13:41 2016 daemon.notice netifd: wan (5086): Command failed: Unknown error
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_6' is enabled
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sat Dec 10 00:13:41 2016 daemon.notice netifd: Interface 'wan_6' is setting up now
Sat Dec 10 00:13:41 2016 daemon.notice netifd: wan (5086): Command failed: Unknown error
Sat Dec 10 00:13:41 2016 daemon.notice netifd: wan_4 (5286): udhcpc (v1.23.2) started
Sat Dec 10 00:13:42 2016 daemon.notice netifd: wan_4 (5286): Sending discover...
Sat Dec 10 00:13:42 2016 user.notice firewall: Reloading firewall due to ifup of wan (wwan0)
Sat Dec 10 00:13:44 2016 user.notice ddns-scripts[5381]: myddns_ipv4: PID '5381' started at 2016-12-10 00:13
Sat Dec 10 00:13:44 2016 user.warn ddns-scripts[5381]: myddns_ipv4: Service section disabled! - TERMINATE
Sat Dec 10 00:13:44 2016 user.warn ddns-scripts[5381]: myddns_ipv4: PID '5381' exit WITH ERROR '1' at 2016-12-10 00:13
Sat Dec 10 00:13:45 2016 daemon.notice netifd: wan_4 (5286): Sending discover...
Sat Dec 10 00:13:48 2016 daemon.notice netifd: wan_4 (5286): Sending discover...
Sat Dec 10 00:14:05 2016 daemon.info hostapd: wlan0: STA 24:77:03:66:b3:50 WPA: group key handshake completed (RSN)
Sat Dec 10 00:16:09 2016 daemon.info dnsmasq-dhcp[5151]: DHCPINFORM(br-lan) 192.168.2.182 24:77:03:66:b3:50
Sat Dec 10 00:16:09 2016 daemon.info dnsmasq-dhcp[5151]: DHCPACK(br-lan) 192.168.2.182 24:77:03:66:b3:50 DHome