-
Download OpenWrt firmware image here.
-
Flash your router using this guide.
-
SSH into your router:
ssh [email protected]
. -
Add a new interface in
/etc/config/network
.
option device 'switch0'
option vlan '2'
option ports '4 6t'
+
+config interface 'vodafone'
+ option proto 'modemmanager'
+ option device '/sys/devices/platform/101c0000.ehci/usb1/1-1'
+ option apn 'internet'
+ option pincode '0000'
+ option username 'web'
+ option password 'web'
-
Get the path of your device from
mmcli -m 0
. Do not use/dev/cdc-wdm0
. -
Add the newly added interface in
/etc/config/firewall
.
config zone
option name wan
list network 'wan'
list network 'wan6'
+ list network 'vodafone'
option input REJECT
option output ACCEPT
option forward REJECT
-
Reboot your router:
reboot
. -
Enjoy!
I tried this on TP-Link TL-MR6400 V5 but had no success, because of insufficient drive space to install the package "modemmanager".
So here are my steps using QMI and the simple LuCI configuration interface.