Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2022 13:36:39 +0100
From:      Graham Perrin <grahamperrin@freebsd.org>
To:        FreeBSD wireless <freebsd-wireless@freebsd.org>
Subject:   Wi-Fi: netif restart wlan0: name resolution
Message-ID:  <7f07811f-503b-23ec-09a1-e563a4d39f32@freebsd.org>

index | next in thread | raw e-mail

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/>;


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f07811f-503b-23ec-09a1-e563a4d39f32>