Hello,
My Huawei USB modem E5573Bs-322 is recognized by my brand new GL-MT300N-V2 (3.025) as “Tethering” instead of “3G/4G Modem”, is it desired?
I have captured the outputs of ifconfig -a
, lsusb -v
, dmesg
and logread
on Huawei USB modem E5573Bs-322 detected by a GL-MT300N-V2 (3.025) as "Tethering" rather than as "3G/4G Modem" · GitHub
# lsusb -v
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 4.14
iManufacturer 3 Linux 4.14.63 ohci_hcd
iProduct 2 Generic Platform OHCI controller
iSerial 1 101c1000.ohci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 001 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x14db E353/E3131
bcdDevice 1.02
iManufacturer 1 HUAWEI_MOBILE
iProduct 2 HUAWEI_MOBILE
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 71
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 5 CDC Ethernet Control Model (ECM)
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 7 0C5B8F279A64
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 6
bInterfaceProtocol 0
iInterface 6 CDC Ethernet Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000f
Device can operate at Low Speed (1Mbps)
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 1 micro seconds
bU2DevExitLat 500 micro seconds
Device Status: 0x0001
Self Powered
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.14
iManufacturer 3 Linux 4.14.63 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 101c0000.ehci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Device Status: 0x0001
Self Powered
# ifconfig -a
apcli0 Link encap:Ethernet HWaddr E6:95:6E:03:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-lan Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
inet addr:192.168.8.1 Bcast:192.168.8.255 Mask:255.255.255.0
inet6 addr: fd30:99f:487f:10::1/60 Scope:Global
inet6 addr: fe80::e695:6eff:fe43:8ec0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55720 errors:0 dropped:0 overruns:0 frame:0
TX packets:62979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12408361 (11.8 MiB) TX bytes:40629784 (38.7 MiB)
eth0 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
inet6 addr: fe80::e695:6eff:fe43:8ec0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:511589 (499.5 KiB)
Interrupt:5
eth0.1 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1454 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:197866 (193.2 KiB)
eth0.2 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
inet6 addr: fe80::e695:6eff:fe43:8ec0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:896 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:298572 (291.5 KiB)
eth1 Link encap:Ethernet HWaddr 0C:5B:8F:27:9A:64
inet addr:192.168.1.126 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e5b:8fff:fe27:9a64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60425 errors:0 dropped:0 overruns:0 frame:0
TX packets:49659 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38141829 (36.3 MiB) TX bytes:11656641 (11.1 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:502 errors:0 dropped:0 overruns:0 frame:0
TX packets:502 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46567 (45.4 KiB) TX bytes:46567 (45.4 KiB)
ra0 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
inet6 addr: fe80::e695:6eff:fe43:8ec0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60026 errors:31 dropped:0 overruns:0 frame:0
TX packets:62147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14569560 (13.8 MiB) TX bytes:39493081 (37.6 MiB)
Interrupt:6
ra1 Link encap:Ethernet HWaddr E6:95:6E:53:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wds0 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wds1 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wds2 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wds3 Link encap:Ethernet HWaddr E4:95:6E:43:8E:C0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# logread
... SEE entire logs on https://gist.github.com/cyrille-leclerc/5eaccd4c4d483a8a51a15cf033b95644
Mon Aug 5 02:17:42 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led wifi
Mon Aug 5 02:17:43 2019 user.info : Sta config not set!!!!
Mon Aug 5 02:17:43 2019 daemon.notice procd: /etc/rc.d/S99gl_route_policy: uci: Entry not found
Mon Aug 5 02:17:47 2019 daemon.info procd: - init complete -
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' is enabled
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Network device 'eth1' link is up
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' has link connectivity
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' is setting up now
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Network device 'eth1' link is down
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' has link connectivity loss
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Network device 'eth1' link is up
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' has link connectivity
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' is setting up now
Mon Aug 5 02:18:13 2019 daemon.notice netifd: tethering (3848): Command failed: Permission denied
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' is now down
Mon Aug 5 02:18:13 2019 daemon.notice netifd: Interface 'tethering' is disabled
Mon Aug 5 02:18:14 2019 daemon.notice netifd: Interface 'tethering' is enabled
Mon Aug 5 02:18:14 2019 daemon.notice netifd: Interface 'tethering' is setting up now
Mon Aug 5 02:18:14 2019 daemon.notice netifd: tethering (3913): udhcpc: started, v1.28.3
Mon Aug 5 02:18:14 2019 daemon.notice netifd: tethering (3913): udhcpc: sending discover
Mon Aug 5 02:18:14 2019 daemon.notice netifd: tethering (3913): udhcpc: sending select for 192.168.1.126
Mon Aug 5 02:18:14 2019 daemon.notice netifd: tethering (3913): udhcpc: lease of 192.168.1.126 obtained, lease time 86400
Mon Aug 5 02:18:15 2019 daemon.notice netifd: Interface 'tethering' is now up
Mon Aug 5 02:18:15 2019 daemon.info dnsmasq[2555]: reading /tmp/resolv.conf.auto
...