Skip to main content Help setting up a router with sim card : r/openwrt
Go to openwrt

Help setting up a router with sim card

Hi, I have a D-LinkDWR-921 c3 and I want to use the lte modem in it, the wiki does have a guide for setting that up but i run the commands and still get no network access. Any help would be appreciated

PSA, Redditors: You don't need a business to have a website. All you need is yourself. And with Squarespace, you can easily create a website that reflects your personal brand, individuality, and identity–all by using its intuitive design, AI, and expressibility tools.
Thumbnail image: PSA, Redditors: You don't need a business to have a website. All you need is yourself. And with Squarespace, you can easily create a website that reflects your personal brand, individuality, and identity–all by using its intuitive design, AI, and expressibility tools.
Sort by:
Best
Open comment sort options

I have set up that router, currently using the "Play" service provider in Poland, but it also worked seamlessly with other providers in the past.

Please provide answers to the following:

  1. Which guide did you follow?

  2. Are you using the QMI mode for the modem?

  3. Can you provide the output of uci export (removing any passwords you might have in there)?

i am also from poland using play, i followed the guide on the wiki with qmi mode, will provide the uci export when i get home

uci export output here : https://pastebin.com/iQKTp5n1

okay, nevermind i got it to connect to a dns server

More replies

What commands and what is the output of those commands?

uci set network.wwan=interface
uci set network.wwan.proto='qmi'
uci set network.wwan.device='/dev/cdc-wdm0'
uci set network.wwan.apn='YOUR_APN_HERE'
uci commit network

uci set network.wwan.autoconnect='1'
uci set network.wwan.delay='5'
uci commit network

uci set firewall.@zone[1].network='wan wan6 wwan'
uci commit firewall

ifup wwan

opkg update && opkg install luci-proto-qmi

reboot

there is no output and the wwan interface starts and crashes and restarts in a loop

More replies
More replies