Wi-Fi: netif restart wlan0: name resolution
Date: Sun, 11 Sep 2022 12:36:39 UTC
Recent experience, in a nutshell: 1.boot with no connectivity (no known Wi-Fi network within range) 2.use WiFi Networks Manager to configure the OS for an available network 3./etc/rc.d/netif restart wlan0 (the 'Save and Reconnect' button in WiFi Networks Manager) 4.ifconfig wlan0 (observe a connection to the network) 5.wait, no name resolution. Please: is that expected, no name resolution (after netif restart wlan0)? If expected: what's the solution? ---- As far as I recall: /etc/resolv.conf lacked what was required. I tried various approaches to populating the file -- excluding /etc/resolvconf.conf -- none worked. I resorted to a reboot of the OS. % grep -v \#/etc/resolvconf.conf % pkg info -x wifimgr wifimgr-1.21 % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #20 main-n257645-160a2f2cdda8: Mon Aug 29 00:44:34 BST 2022 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400066 1400066 % <https://www.freshports.org/net-mgmt/wifimgr/>