root@OpenWrt:~# uci set network.wwan=interface
root@OpenWrt:~# uci set network.wwan.proto='wwan'
root@OpenWrt:~# uci set network.wwan.apn='SANITISED'
root@OpenWrt:~# uci set network.wwan.pincode='SANITISED'
root@OpenWrt:~# uci set network.wwan.auto='0'
root@OpenWrt:~# uci commit network
root@OpenWrt:~# uci set firewall.@zone[1].network='wan wwan wan6'
root@OpenWrt:~# uci commit firewall
(Out of curiosity - why is the PIN code required here? I don't believe I needed it on the stock D-Link hardware, it just picked up the LTE connection automatically. Just curious.)
I then rebooted the router, and then entered in the commands:
ifup wwan
I now have a working LTE internet connection!
To clarify - do I need do use the ifup command every single time I boot up the router? Is there a way to have it start automatically?
And in the Luci Web UI, it says:
Unsupported protocol type.
When I click on install, it tries to search for a "luci-proto", then returns:
No packages matching "luci-proto". (Reset)
Is this related to the alternative instructions here:
Is there any disadvantage to that approach (using QMI etc.) versus the first approach?
but the label on the back of the hardware is showing C3 - and the software was built for C3 and is running fine.
Somehow this is confusing... (I need to open the case to check what is really inside)
First of all I must note that I am not a professional at Linux matter.
I was using D-Link DWR-921 rev C3 for some time. I had a big issue with WiFi connection to laptop (actually two laptops). The connection was dropping (No internet, secured). Only solution was restart of the router and the laptop. I have tried lots of solutions and couldn't find any.
So when I found that there's a compatible build of OpenWRT I have flashed it. As I said I'm a noob, so I couldn't get it working with LTE connection. I found a tutorial here: https://teklager.se/en/knowledge-base/openwrt-4g-wwan-configuration/
So I tried to download package qmi-utils, but had no internet access. I only had WiFi hotspot from my smartphone. Now I know I just could connect directly from router GUI to my WiFi, but instead I downloaded the package from OpenWRT web page. It couldn't be installed because missing dependencies. So I was downloading all those packages one by one
If any one want to know, all are here: https://downloads.openwrt.org/releases/19.07.3/packages/mipsel_24kc/
After some issues I had a working LTE connection. Next I had some problem with enabling WiFi. Instead of attaching lan I was attaching WAN which seemed logical to me.
Now the router is working, uptime is:
So anyone trying to get this router working with OpenWRT just follow steps from tutorial I used.
Now I have some questions: as I am paranoid of updating everything, I have updated all of the available packages updates. Later I found somewhere that I shouldn't do that. Is it true? Do you think I should re flash the firmware? The router seems to be working fine.
Only thing I found that the internet speed is looking to be slower than on stock firmware. But it is LTE so I must do more tests.
I can confirm that OpenWRT sees it as C1 revision. Feel free to ask me anything, and thank you.
Cheers.