Temat: Huawei e3372-h + openwrt 19.07.4 - problem po aktualizacji
Cześć
po wgraniu do routera nexx wt3020 nowego openwrt - 19.07.4 - zaczałem setupować ponownie Huawei e3372-h (nie hilink).
Szedłem według https://eko.one.pl/?p=openwrt-3g, a więc po kolei :
Instalacja pakietów
root@OpenWrt:~# opkg install kmod-usb-core kmod-usb2 usb-modeswitch libusb-1.0
Package kmod-usb-core (4.14.195-1) installed in root is up to date.
Package kmod-usb2 (4.14.195-1) installed in root is up to date.
Package usb-modeswitch (2017-12-19-f40f84c2-2) installed in root is up to date.
Package libusb-1.0-0 (1.0.22-2) installed in root is up to date.root@OpenWrt:~# opkg install chat comgt kmod-usb-serial kmod-usb-serial-option
Package chat (2.4.7.git-2019-05-25-3) installed in root is up to date.
Package comgt (0.32-32) installed in root is up to date.
Package kmod-usb-serial (4.14.195-1) installed in root is up to date.
Package kmod-usb-serial-option (4.14.195-1) installed in root is up to date.root@OpenWrt:~# opkg install chat comgt-ncm kmod-usb-net-cdc-ncm kmod-usb-serial kmod-usb-serial-option kmod-usb-net-huawei-cdc-ncm
Package chat (2.4.7.git-2019-05-25-3) installed in root is up to date.
Package comgt-ncm (0.32-32) installed in root is up to date.
Package kmod-usb-net-cdc-ncm (4.14.195-1) installed in root is up to date.
Package kmod-usb-serial (4.14.195-1) installed in root is up to date.
Package kmod-usb-serial-option (4.14.195-1) installed in root is up to date.
Package kmod-usb-net-huawei-cdc-ncm (4.14.195-1) installed in root is up to date.Sprawdzam czy modem jest wykrywany
lsusb
Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcarddmesg
[ 334.325340] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[ 334.450728] option 1-1.3:1.0: GSM modem (1-port) converter detected
[ 334.463622] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 334.478166] option 1-1.3:1.1: GSM modem (1-port) converter detected
[ 334.491050] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 334.663657] huawei_cdc_ncm 1-1.3:1.2: MAC-Address: 00:1e:10:1f:00:00
[ 334.676378] huawei_cdc_ncm 1-1.3:1.2: setting rx_max = 16384
[ 334.715504] huawei_cdc_ncm 1-1.3:1.2: NDP will be placed at end of frame for this device.
[ 334.732152] huawei_cdc_ncm 1-1.3:1.2: cdc-wdm0: USB WDM device
[ 334.744964] huawei_cdc_ncm 1-1.3:1.2 wwan0: register 'huawei_cdc_ncm' at usb-101c0000.ehci-1.3, Huawei CDC NCM device, 00:1e:10:1f:00:00cat /sys/../usb/devices
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=MOBILE
S: Product=MOBILE
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E: Ad=86(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
I:* If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E: Ad=86(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125usobjawy
Dostaje `timeout sending AT command` :
logread
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.325340] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.450728] option 1-1.3:1.0: GSM modem (1-port) converter detected
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.463622] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.478166] option 1-1.3:1.1: GSM modem (1-port) converter detected
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.491050] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.663657] huawei_cdc_ncm 1-1.3:1.2: MAC-Address: 00:1e:10:1f:00:00
Fri Sep 18 16:44:33 2020 kern.info kernel: [ 334.676378] huawei_cdc_ncm 1-1.3:1.2: setting rx_max = 16384
Fri Sep 18 16:44:34 2020 kern.info kernel: [ 334.715504] huawei_cdc_ncm 1-1.3:1.2: NDP will be placed at end of frame for this device.
Fri Sep 18 16:44:34 2020 kern.info kernel: [ 334.732152] huawei_cdc_ncm 1-1.3:1.2: cdc-wdm0: USB WDM device
Fri Sep 18 16:44:34 2020 kern.info kernel: [ 334.744964] huawei_cdc_ncm 1-1.3:1.2 wwan0: register 'huawei_cdc_ncm' at usb-101c0000.ehci-1.3, Huawei CDC NCM device, 00:1e:10:1f:00:00
Fri Sep 18 16:44:34 2020 daemon.notice netifd: Interface 'gsm' is setting up now
Fri Sep 18 16:44:35 2020 daemon.notice netifd: gsm (2203): Stopping network gsm
Fri Sep 18 16:44:35 2020 daemon.notice netifd: gsm (2203): sending ->
Fri Sep 18 16:44:40 2020 daemon.notice netifd: Interface 'gsm' is now down
Mon Sep 21 15:31:14 2020 daemon.notice netifd: Interface 'gsm' is now down
Mon Sep 21 15:31:14 2020 daemon.notice netifd: Interface 'gsm' is setting up now
Mon Sep 21 15:31:16 2020 daemon.notice netifd: gsm (4281): Configuring modem
Mon Sep 21 15:31:16 2020 daemon.notice netifd: gsm (4281): Starting network gsm
Mon Sep 21 15:31:16 2020 daemon.notice netifd: gsm (4281): Connecting modem
Mon Sep 21 15:31:17 2020 daemon.notice netifd: gsm (4281): sending ->
Mon Sep 21 15:31:42 2020 daemon.notice netifd: gsm (4281): Timeout running AT-command
Mon Sep 21 15:31:42 2020 daemon.notice netifd: gsm (4281): Failed to connect
Mon Sep 21 15:31:42 2020 daemon.notice netifd: gsm (4340): Stopping network gsm
Mon Sep 21 15:31:43 2020 daemon.notice netifd: gsm (4340): sending ->{
"up": false,
"pending": false,
"available": false,
"autostart": true,
"dynamic": false,
"proto": "ncm",
"data": {
},
"errors": [
{
"subsystem": "interface",
"code": "NO_DEVICE"
}
}konfiguracja sieci - gsm (na końcu)
root@OpenWrt:~# 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.globals=globals
network.globals.ula_prefix='fd12:bab8:4d30::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan_eth0_1_dev=device
network.lan_eth0_1_dev.name='eth0.1'
network.lan_eth0_1_dev.macaddr='20:28:18:a1:11:d2'
network.wan=interface
network.wan.ifname='eth0.2'
network.wan.proto='dhcp'
network.wan_eth0_2_dev=device
network.wan_eth0_2_dev.name='eth0.2'
network.wan_eth0_2_dev.macaddr='20:28:18:a1:11:d3'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='4 6t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='0 6t'
network.wwan=interface
network.wwan.proto='dhcp'
network.gsm=interface
network.gsm.proto='ncm'
network.gsm.apn='internet'
network.gsm.pdptype='IP'
network.gsm.ipv6='auto'
network.gsm.dialnumber='*99#'
network.gsm.service='lte'
network.gsm.device='/dev/cdc-wdm0'próbowałem też ustawiać na `/dev/ttyUSB0` ale też nie działało.
Jakieś pomysły/sugestie ?
Z góry dziękuje