Tak:
Huawei E3372h jsem rozjel jen pomocí ppp (kde jsem byl limitován maximální rychlostí 10-20 Mbits)
Mělo by to jít také přes nqm, ale to se mi nepodařilo rozjet.
Když zkouším příkaz: " uqmi -d /dev/cdc-wdm0 --get-data-status", tak bohužel nereaguje a v logu po aplikování AT^NDISDUP=1,1,“internet” to ani tak nereaguje a v logu mám:
2017-10-11T14:15:06+02:00 notice netifd: Interface ‘lte’ is setting up now
2017-10-11T14:15:08+02:00 notice netifd: lte (22222): sending → AT
2017-10-11T14:15:09+02:00 notice netifd: lte (22222): sending → ATZ
2017-10-11T14:15:09+02:00 notice netifd: lte (22222): sending → ATQ0
2017-10-11T14:15:10+02:00 notice netifd: lte (22222): sending → ATV1
2017-10-11T14:15:11+02:00 notice netifd: lte (22222): sending → ATE1
2017-10-11T14:15:11+02:00 notice netifd: lte (22222): sending → ATS0=0
2017-10-11T14:15:12+02:00 notice netifd: lte (22222): sending → AT^NDISDUP=1,1,“internet”
2017-10-11T14:15:12+02:00 notice netifd: lte (22222): Connected, starting DHCP
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte’ is now up
2017-10-11T14:15:12+02:00 notice netifd: Network device ‘wwan0’ link is up
2017-10-11T14:15:12+02:00 notice netifd: Network alias ‘wwan0’ link is up
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_4’ is enabled
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_4’ has link connectivity
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_4’ is setting up now
2017-10-11T14:15:12+02:00 notice netifd: lte (22222): Command failed: Unknown error
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_6’ is enabled
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_6’ has link connectivity
2017-10-11T14:15:12+02:00 notice netifd: Interface ‘lte_6’ is setting up now
2017-10-11T14:15:12+02:00 notice netifd: lte (22222): Command failed: Unknown error
2017-10-11T14:15:12+02:00 notice netifd: lte_4 (22391): udhcpc: started, v1.25.1
2017-10-11T14:15:12+02:00 notice netifd: lte_4 (22391): udhcpc: sending discover
V LuCI
RX: 0 B
TX: hejbe se to číslo nahorů, ale to je tak všechno.
Zkoušel jsem:
https://wiki.openwrt.org/doc/recipes/ethernetoverusb_ncm
https://wiki.openwrt.org/doc/recipes/ltedongle
a pak mě to zavedlo na bug report:
OpenWrt Forum Archive → #20103 (Pleas add support to modem E3372 no-hilink (and other new Huawei products)) – OpenWrt
ale vidím tam patche jen pro 3.18,4.0, 4.1, tak by si člověk myslel, že to bude opravené v kernelu 4.4. Buď něco dělám špatně nebo jsou staré balíčky a nebo nevím.
2017-10-11T14:06:00+02:00 info kernel: [ 19.681820] huawei_cdc_ncm 1-1.2:1.2: MAC-Address: 00:1e:10:1f:00:00
2017-10-11T14:06:00+02:00 info kernel: [ 19.681832] huawei_cdc_ncm 1-1.2:1.2: setting rx_max = 16384
2017-10-11T14:06:00+02:00 info kernel: [ 19.689096] huawei_cdc_ncm 1-1.2:1.2: NDP will be placed at end of frame for this device.
2017-10-11T14:06:00+02:00 info kernel: [ 19.689274] huawei_cdc_ncm 1-1.2:1.2: cdc-wdm0: USB WDM device
2017-10-11T14:06:00+02:00 info kernel: [ 19.689845] huawei_cdc_ncm 1-1.2:1.2 wwan0: register ‘huawei_cdc_ncm’ at usb-fsl-ehci.0-1.2, Huawei CDC NCM device, 00:1e:10:1f:00:00
Zatím to řešit nebudu, protože jako záložní připojení mi to přes ppp stačí. Když bude čas a nebo to někdo rozjede přes ncm, tak budu rád, když se o to podělí.