DNS Issues on a Nokia FastMile 5G

21 December 2024

Nokia FastMile 5G Gateway

ProductClass:3TG01797
HWVer:3TG01797AMFA
SWVer:1.2304.00.0445

For around six months my home internet has been provided by a Nokia modem, a unit my ISP supplied and I am obliged to use. I have various devices connected both via the LAN port and WiFi.

Over time I have observed a problem: the modem's DNS server stops responding for periods of time ranging from minutes to hours. While it is in this state IP traffic is flowing normally and existing TCP connections continue to work. Power cycling the modem always fixes it. I haven't been able to spot anything suspicious in the modem's own system logs that would correlate with the failures.

While it is possible that my unit is faulty, to me the nature of the fault feels more like a software bug. The admin interface has a firmware upgrade feature but the files are not publicly available on Nokia's website. I'm not even sure if a newer version exists than what I have.

At this point I'm hesitant to undertake the hassle of seeking a replacement modem since it may be difficult to convince them that a problem exists, and there's a reasonable chance the new unit will have the same flaw anyway. If it's practical to do so I'd rather work around the problem myself.

I believe I have accomplished a workaround but this has been more tedious than I hoped.

Plan A: Set a different DNS server via DHCP

The easiest fix would be to set a different DNS server like 1.1.1.1 or 8.8.8.8 which will continue to be accessible even when the modem goes into its buggy state. The modem lets you configure many aspects of the DHCP server, however sadly there is no option to customise the DNS server IP. It always directs clients to use the modem itself. No good.

Plan B: Substitute DHCP server

I already have a couple of Raspberry Pis that are always powered on and connected to the modem via Ethernet. Why not press one of those into service as a DHCP server and disable the one on the modem?

When I tried this I found that the modem does not bridge DHCP traffic between its wired and wireless interfaces. That is, the Pi could issue IPs to other devices on the same switch but WiFi clients would never get an IPv4 address. I didn't test if a DHCP server on the WiFi side works since I didn't want to run it that way anyway.

Of course, IPv6 was still working correctly on WiFi but figuring out how to usefully run an IPv6-only LAN was out of scope for this fix.

Plan C: Double router

With a little bit of sadness, I switched off the WiFi on the Nokia and plugged in a spare TP-Link WAP. This provides another layer of NAT, which is unnecessary, but happens to provide more control over the DHCP so that I could give all clients a different DNS server that's located out on the internet.

This is inelegant, no doubt. Together with the CGNAT there are now three layers of translation between my WiFi and the internet. It works well enough, though.

The main difficulty I had was that the Nokia supports more advanced WiFi security—WPA3 I believe—and when I put in the older TP-Link with the same SSID, many devices refused to accept the security downgrade until I explicitly forgot and re-joined the WiFi network.

So it's all been a bit of a pain. Fingers crossed it will remain stable from here on.


Tech Tidbits Blog by Thomas Karpiniec
Posts RSS, Atom