Skip to content

Instantly share code, notes, and snippets.

@Toomoch
Last active September 10, 2021 17:37
Show Gist options
  • Save Toomoch/92dd531f5371873324cffcd8d7105360 to your computer and use it in GitHub Desktop.
Save Toomoch/92dd531f5371873324cffcd8d7105360 to your computer and use it in GitHub Desktop.
Adding LTE support for the EP06E Quectel module in openwrt-21.02

Packages for qmi: usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan uqmi kmod-usb-serial-option kmod-usb-serial kmod-usb-serial-wwan luci-proto-qmi

Some carriers may need this fix for reconnecting and getting a new IP every day at 5AM (for use in crontab): 0 5 * * * echo -e -n 'AT+CGDCONT=1,"IPV4V6","movistar.es";+CFUN=0;+CFUN=1\r' > /dev/ttyUSB2 && sleep 3 && ifdown LTEWAN && ifup LTEWAN

For mbim support (not recommended, adds latency and there is not LuCI GUI): kmod-usb-net-cdc-mbim umbim

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