Wwan Huawei E8372

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

4g_1

and as you see, we get an IP from the dongle's DHCP server (192.168.8.100)

happy surfing!

4 Likes

proof

4g_2

Hi, can you please help me? I have been trying to get this to work for days now, no luck.

I have installed all the software you indicate in your post.

I can also see a line like

cdc_ether 1-1:1.0 eth1: register 'cdc_ether' at usb-ehci-platform -1, CDC Ethernet Device, 0c:5b:8f:27:9a:64

in the kernel log.

Yet my router (a D-Link 860L) does not seem to get an IP address from the LTE dongle (E8372, same like yours), although the dongle is set to DHCP mode.

Maybe I miss the step which you describe as:

How do I switch the default WAN from eth0.1 to eth1?

Any help greatly appreciated.

Kind regards,
Gerald

You can see from the log that the modem is eth1. (Sometimes it is usb0, you may see that in guides, but if you use the same devices repeatedly it should be consistently eth1 for you).

In the web interface, go to network--interfaces--wan edit--physical settings and choose eth1. It should be listed if the modem is plugged in. If it is not listed create it as a new one at the bottom of the list.

Or in the CLI edit /etc/config/network, find the wan section, and change option ifname to eth1.

I don't have a WAN interface... might have deleted it in my attempts to get it to work :frowning:

I only have WAN0 and WAN1 and one of the both has eth1 attached, which is the dongle.

How can I set up WAN?

I have openwrt 19.07 for Zyxel Keenetic Omni and Huawei e8372 HiLink. Thanks, it worked!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.