Hi everyone,
I have just successfully enabled a wwan connection using the "wingel" Huawei E8372 using the QMI protocol.
I quickly want to write to everyone who has the same 4G dongle and/or is thinking about doing this. There is alot on fora about changing from QMI to serial but this only will limit the speed you are able to get. So please don't do this. In fact, you do not have to mess with the dongle at all.
My info
|Hostname|LEDE|
|Model|NETGEAR WNDR3700v4|
|Firmware Version|LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)|
|Kernel Version|4.4.92|
|Local Time|Wed Jul 4 10:00:53 2018|
Dongle: Huawei E8372
What I did
step 1:
I plugged the dongle in my PC and the web interface poppes up on 192.168.8.1
I filled in the necessary and made sure all worked and tested the dongle
step 2:
I installed the required packages on openWRT as found on the wiki
However there were a few that were not recognised and I installed them using the GUI (system-> software). Especially
kmod-usb-net-huawei-cdc-ncm
And I ended up with installing a whole lot more since it wasn't working. You probably do not need everything
opkg install kmod-usb-net-rndis comgt-ncm kmod-usb-net-huawei-cdc-ncm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan uqmi kmod-usb-net-cdc-mbim umbim
step 3
Then I saw using dmesg
11.204447] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.223447] nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
[ 11.300289] usbcore: registered new interface driver usbserial
[ 11.306389] usbcore: registered new interface driver usbserial_generic
[ 11.313160] usbserial: USB Serial support registered for generic
[ 11.383933] xt_time: kernel timezone is -0000
[ 11.396942] cdc_ether 1-1:1.0 eth1: register 'cdc_ether' at usb-ehci-platform -1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
[ 11.408107] usbcore: registered new interface driver cdc_ether
[ 11.438857] usbcore: registered new interface driver cdc_ncm
[ 11.494377] usbcore: registered new interface driver huawei_cdc_ncm
[ 11.585831] PPP generic driver version 2.4.2
[ 11.603995] NET: Registered protocol family 24
[ 11.615131] usbcore: registered new interface driver qmi_wwan
[ 11.632972] usbcore: registered new interface driver rndis_host
[ 11.698801] usbcore: registered new interface driver cdc_mbim
[ 11.728944] usbcore: registered new interface driver option
[ 11.734760] usbserial: USB Serial support registered for GSM modem (1-port)
[ 11.787293] ath: EEPROM regdomain: 0x0
There was a new interface eth1.
Easy does it, and switched the default WAN from eth0.1 to eth1
and as you see, we get an IP from the dongle's DHCP server (192.168.8.100)
happy surfing!