Adding a Qualcomm 4G modem to Openwrt routers

Login using ssh into your router:

ssh root@192.168.1.1

then

run:

opkg update

opkg install nano

nano /etc/usb-mode-customMDM9200.json

paste the following content and CTR+X

{ "messages": [ "5553424308306384c000000080000671030000000000000000000000000000" ], "devices": { "05c6:f000": { "*": { "t_vendor": "05c6", "t_product": "6000", "msg": [0] } } } }

then paste the following command:

usbmode -s -v -c /etc/usb-mode-customMDM9200.json

This command should be added to start up (see in gui, startup scripts, paste it before exit 0)

Then install modemmanager

opkg update && opkg install kmod-usb-serial kmod-usb-net kmod-usb-serial-wwan kmod-usb-serial-option kmod-usb-net-qmi-wwan kmod-usb-net-cdc-mbim
opkg install modemmanager luci-proto-modemmanager

Then go to luci ui (192.168.1.1) default address to interfaces and add a new interface. If something went wrong, modem device will be empty, otherwise will like in my screenshots

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *