Skip to content

Instantly share code, notes, and snippets.

@bjoern-r
Last active November 15, 2024 08:20
Show Gist options
  • Save bjoern-r/1345e8a17f4acf41006330e688af1441 to your computer and use it in GitHub Desktop.
Save bjoern-r/1345e8a17f4acf41006330e688af1441 to your computer and use it in GitHub Desktop.
How to use a Huawei E3372 on OpenWRT

HOWTO use a Huawei E3372 on OpenWRT

This modem is also sold as a MegaFon M150-2 USB dongle

Needed Software

Install the needed packages via opkg tool

opkg update
opkg install kmod-usb-net-cdc-ether
opkg install usb-modeswitch

setup

  • install software
  • reboot router
  • connect device
  • create a new network named lte
  • select the eth device of the dongle ( e.g eth1)
  • assign the network to firewall zone wan
@Prophet-Phoenix
Copy link

As of 2023-09-20 this is the way.
Network should be DHCP.
Used in HiLink mode.

Huawei E3372
CL1E3372SM Ver.A
22.286.03.01.1202

@trohnjavolta
Copy link

I also had to change the name used when requesting dhcp. It was using "root" and was giving me errors. After I changed to "a", it worked just fine.

Can you elaborate on what you exactly changed?
I tried everything in the tutorial and according to log and device everything should be fine but I have no internet.

@ThinkPadNL
Copy link

ThinkPadNL commented Feb 2, 2024

Still works as of today with E3372 (hardware CL2E3372HM and software 22.328.62.00.1217) with OpenWrt 23.05.2

opkg update
opkg install kmod-usb-net-huawei-cdc-ncm
opkg install usb-modeswitch

Restart router, create new interface '4G' connected to eth2 (in my case) and assign to zone WAN at tab 'Firewall settings' of interface.

Stick is running in Hilink mode (hands out a 192.168.8.x address to client, stick webinterface at 192.168.81).
No pin configured on SIM.

If you need lsusb (which is not installed by default): opkg install usbutils

@ffainelli
Copy link

Also confirm this is working!

@NetoSimoes
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment