I have been trying to get 4G LTE functionality using the Huawei E3372 USB Modem. I followed this tutorial, but the device id didn't change after the reboot. What might be the problem? It worked fine on an windows PC. Any solutions?
lsusb
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 1a2c:2c27 China Resource Semico Co., Ltd
Bus 001 Device 006: ID 12d1:157c Huawei Technologies Co., Ltd.
Bus 001 Device 004: ID 10c4:8103 Cygnal Integrated Products, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ifconfig
pi@raspberrypi:~ $ ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:f2:60:fb:47
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
inet6 addr: fe80::ea19:3bdb:6334:6754/64 Scope:Link
UP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr b8:27:eb:98:5e:b7
inet6 addr: fe80::88f8:da84:cb7e:3804/64 Scope:Link
UP 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)
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:352 errors:0 dropped:0 overruns:0 frame:0
TX packets:352 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:34045 (33.2 KiB) TX bytes:34045 (33.2 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:cd:0b:e2
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::b957:488b:72c8:6546/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:309 errors:0 dropped:0 overruns:0 frame:0
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21675 (21.1 KiB) TX bytes:48330 (47.1 KiB)
wwan0 Link encap:Ethernet HWaddr 46:b7:f0:cb:22:c2
inet6 addr: fe80::d47d:591e:63c:8136/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:8057 (7.8 KiB)
lsusb -vv -d 12d1:157c
> pi@raspberrypi:~ $ lsusb -vv -d 12d1:157c
>
> Bus 001 Device 007: ID 12d1:157c Huawei Technologies Co., Ltd.
> Couldn't open device, some information will be missing Device
> Descriptor: bLength 18 bDescriptorType 1
> bcdUSB 2.10 bDeviceClass 0 (Defined at
> Interface level) bDeviceSubClass 0 bDeviceProtocol
> 255 bMaxPacketSize0 64 idVendor 0x12d1 Huawei
> Technologies Co., Ltd. idProduct 0x157c bcdDevice
> 1.02 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 2 Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 32
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0xa0
> (Bus Powered)
> Remote Wakeup
> MaxPower 2mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> iInterface 4
> 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 1 Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 118
> bNumInterfaces 3
> bConfigurationValue 2
> iConfiguration 0
> bmAttributes 0xa0
> (Bus Powered)
> Remote Wakeup
> MaxPower 2mA
> Interface Association:
> bLength 8
> bDescriptorType 11
> bFirstInterface 0
> bInterfaceCount 2
> bFunctionClass 2 Communications
> bFunctionSubClass 14
> bFunctionProtocol 0
> iFunction 8
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 1
> bInterfaceClass 2 Communications
> bInterfaceSubClass 14
> bInterfaceProtocol 0
> iInterface 5
> CDC Header:
> bcdCDC 1.10
> CDC MBIM:
> bcdMBIMVersion 1.00
> wMaxControlMessage 1024
> bNumberFilters 32
> bMaxFilterSize 128
> wMaxSegmentSize 1500
> bmNetworkCapabilities 0x20
> 8-byte ntb input size
> UNRECOGNIZED CDC: 08 24 1c 00 01 10 dc 05
> CDC Union:
> bMasterInterface 0
> bSlaveInterface 1
> 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 5
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 10 CDC Data
> bInterfaceSubClass 0 Unused
> bInterfaceProtocol 2
> iInterface 6
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 1
> bNumEndpoints 2
> bInterfaceClass 10 CDC Data
> bInterfaceSubClass 0 Unused
> bInterfaceProtocol 2
> iInterface 6
> 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 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> iInterface 4
> 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
This what i get for sudo ip link set wwan up
sudo dhclient -v wwan
pi@raspberrypi:~ $ sudo ip link set wwan0 up
pi@raspberrypi:~ $ sudo dhclient -v wwan0
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wwan0/f6:48:0b:c6:9f:a6
Sending on LPF/wwan0/f6:48:0b:c6:9f:a6
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
when I run:
sudo qmi-network /dev/cdc-wdm0 start
I get:
root@raspberrypi:/home/pi# sudo qmi-network /dev/cdc-wdm0 start
Loading profile... APN: airtelgprs.com
Starting network with:
qmicli -d /dev/cdc-wdm0 --wds-start-network=airtelgprs.com --client-no-release-cid
... error: couldn't create client for the 'wds' service:
CID allocation failed in the CTL client: Transaction timed out error:
network start failed, client not allocated
E3372s-*
,E3372h-*
etc.. (*
is for different numbers indicating frequency band compatibility, should not matter here; buts
is the older andh
the newer version).