When I reboot my AP/router, my print server (running OpenWRT) ends up
being unknown: I can still connect to it via its IP address, but its DNS
name is lost.

This is simply due to the fact that the DNS name comes from the DHCP
registration and that when the AP/router is rebooted, OT1H the AP/router
loses this DNS info, and OTOH the print server doesn't re-issue a DHCP
request upon reconnection, since the IP-lease it has is still valid.

I do not have much control over the AP/router sadly, so I can't solve
the problem there.  OTOH on the print-server side, not only do I have
complete control, but re-issuing a DHCP request might be a really good
idea: after all, wpa_supplicant can be configured to reconnect to some
other network if the primary fails, so after wpa_supplicant connects to
a network, I'd want to *always* perform a DHCP-request to get a fresh
new IP-lease.

So: how can I configure OpenWRT to always do a DHCP request upon
connection, even when it already has a valid IP-lease?


        Stefan


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to