[ 2.199913] init: - watchdog -
[ 3.267118] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.317724] usbcore: registered new interface driver usbfs
[ 3.323399] usbcore: registered new interface driver hub
[ 3.328919] usbcore: registered new device driver usb
[ 3.340796] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.349212] ehci-fsl: Freescale EHCI Host controller driver
[ 3.356433] ehci-platform: EHCI generic platform driver
[ 3.362056] ehci-platform 1b000000.usb: EHCI Host Controller
[ 3.367877] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 3.375946] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 3.397708] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 3.404953] hub 1-0:1.0: USB hub found
[ 3.409207] hub 1-0:1.0: 1 port detected
[ 3.416678] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.435180] init: - preinit -
[ 3.762704] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 4.114384] hub 1-1:1.0: USB hub found
[ 4.185924] hub 1-1:1.0: 4 ports detected
[ 4.279829] random: procd: uninitialized urandom read (4 bytes read)
[ 4.931191] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.198840] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.456210] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.586334] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.677807] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.833722] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[ 6.841684] eth0: link up (1000Mbps/Full duplex)
[ 6.857712] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.871644] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 7.705642] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[ 7.827576] usb 1-1.2: unable to read config index 2 descriptor/start: -32
[ 7.834587] usb 1-1.2: chopping to 2 config(s)
[ 7.839111] usb 1-1.2: can't read configurations, error -32
[ 8.377648] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[ 11.135760] jffs2: notice: (583) jffs2_build_xattr_subsystem: complete building xattr subsystem, 70 of xdatum (47 unchecked, 23 orphan) and 105 of xref (8 dead, 19 orphan) found.
[ 11.156042] mount_root: switching to jffs2 overlay
How would I go on? If I read corretly it is not been recognized?
lsusb
Bus 001 Device 004: ID 19d2:1405 ZTE,Incorporated ZTE Mobile Broadband Station
Bus 001 Device 002: ID 05e3:0608 USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.179 ehci_hcd EHCI Host Controller
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
|__ Port 2: Dev 6, If 0, Class=, Driver=cdc_ether, 480M
|__ Port 2: Dev 6, If 1, Class=, Driver=cdc_ether, 480M
|__ Port 2: Dev 6, If 2, Class=, Driver=, 480M
root@OpenWrt:~# lsusb -v
Bus 001 Device 006: ID 19d2:1405 ZTE,Incorporated ZTE Mobile Broadband Station
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x19d2
idProduct 0x1405
bcdDevice 51.33
iManufacturer 1 ZTE,Incorporated
iProduct 2 ZTE Mobile Broadband Station
iSerial 3 1234567890ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x006f
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2
bFunctionSubClass 6
bFunctionProtocol 0
iFunction 6 CDC
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2
bInterfaceSubClass 6
bInterfaceProtocol 0
iInterface 4 CDC Ethernet Control Model (ECM)
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 7 020CE70B0102
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 5 CDC Ethernet Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 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 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8
bInterfaceSubClass 6
bInterfaceProtocol 80
iInterface 8 Mass Storage
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 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 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 2
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Bus 001 Device 002: ID 05e3:0608 USB2.0 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x05e3
idProduct 0x0608
bcdDevice 85.36
iManufacturer 0
iProduct 1 USB2.0 Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9
bInterfaceSubClass 0
bInterfaceProtocol 0
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 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x00e9
Per-port power switching
Per-port overcurrent protection
TT think time 32 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0503 highspeed power enable connect
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.179 ehci_hcd EHCI Host Controller
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x1d6b
idProduct 0x0002
bcdDevice 5.04
iManufacturer 3 Linux 5.4.179 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 1b000000.usb
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
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
bInterfaceSubClass 0
bInterfaceProtocol 0
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
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
added the missing entry, reboot but still like this:
[ 19.373123] cdc_ether 1-1.2:1.0 usb0: unregister 'cdc_ether' usb-1b000000.usb-1.2, ZTE CDC Ethernet Device
[ 30.011702] usb 1-1.2: USB disconnect, device number 4
[ 40.729694] usb 1-1.2: new high-speed USB device number 5 using ehci-platform
[ 40.859330] usb 1-1.2: unable to read config index 2 descriptor/start: -32
[ 40.866365] usb 1-1.2: chopping to 2 config(s)
[ 40.870900] usb 1-1.2: can't read configurations, error -32
[ 41.241696] usb 1-1.2: new high-speed USB device number 6 using ehci-platform
[ 41.380538] cdc_ether 1-1.2:1.0 usb0: register 'cdc_ether' at usb-1b000000.usb-1.2, ZTE CDC Ethernet Device, 92:09:23:6c:a8:ae
[ 42.390356] cdc_ether 1-1.2:1.0 usb0: unregister 'cdc_ether' usb-1b000000.usb-1.2, ZTE CDC Ethernet Device
no thats all there is as i posted dmesg
I did try a different 4LTE stick almost same result.
1st is ZTE stick, 2nd is huawai stick:
[ 17.246250] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 19.373123] cdc_ether 1-1.2:1.0 usb0: unregister 'cdc_ether' usb-1b000000.usb-1.2, ZTE CDC Ethernet Device
[ 30.011702] usb 1-1.2: USB disconnect, device number 4
[ 40.729694] usb 1-1.2: new high-speed USB device number 5 using ehci-platform
[ 40.859330] usb 1-1.2: unable to read config index 2 descriptor/start: -32
[ 40.866365] usb 1-1.2: chopping to 2 config(s)
[ 40.870900] usb 1-1.2: can't read configurations, error -32
[ 41.241696] usb 1-1.2: new high-speed USB device number 6 using ehci-platform
[ 41.380538] cdc_ether 1-1.2:1.0 usb0: register 'cdc_ether' at usb-1b000000.usb-1.2, ZTE CDC Ethernet Device, 92:09:23:6c:a8:ae
[ 42.390356] cdc_ether 1-1.2:1.0 usb0: unregister 'cdc_ether' usb-1b000000.usb-1.2, ZTE CDC Ethernet Device
[ 49.126526] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down
[ 49.134690] eth0: link up (1000Mbps/Full duplex)
[ 49.148450] br-lan: port 1(eth0.1) entered blocking state
[ 49.153990] br-lan: port 1(eth0.1) entered disabled state
[ 49.159841] device eth0.1 entered promiscuous mode
[ 49.164758] device eth0 entered promiscuous mode
[ 49.181703] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 49.207087] br-lan: port 1(eth0.1) entered blocking state
[ 49.212629] br-lan: port 1(eth0.1) entered forwarding state
[ 50.149890] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 57.526220] wlan1: authenticate with 2c:3a:fd:fa:3a:1c
[ 57.541094] wlan1: send auth to 2c:3a:fd:fa:3a:1c (try 1/3)
[ 57.549069] wlan1: authenticated
[ 57.553703] wlan1: associate with 2c:3a:fd:fa:3a:1c (try 1/3)
[ 57.562933] wlan1: RX AssocResp from 2c:3a:fd:fa:3a:1c (capab=0x1511 status=0 aid=3)
[ 57.571098] wlan1: associated
[ 57.591424] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 57.619034] wlan1: Limiting TX power to 23 (23 - 0) dBm as advertised by 2c:3a:fd:fa:3a:1c
[ 177.157965] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[ 813.592208] usb 1-1.1: new high-speed USB device number 7 using ehci-platform
[ 814.394103] usb 1-1.1: USB disconnect, device number 7
[ 814.772258] usb 1-1.1: new high-speed USB device number 8 using ehci-platform
[ 814.973988] cdc_ether 1-1.1:1.0 eth1: register 'cdc_ether' at usb-1b000000.usb-1.1, CDC Ethernet Device, 00:1e:10:1f:00:00
Your Huawei modem seems to be working. If you make eth1 the wan device it should reach the Internet.
The ZTE on the other hand registers as usb0 then de-registers probably because it is going into mass storage mode. Either get usb-modeswitch working on it or use a PC to reconfigure the modem to disable the CD / mass storage mode.