Re: shell set wlan country < ssid, dhcp waits on supplicant. fixes resolv

"Julian H. Stacey" <[email protected]>
Newsgroups gmane.os.freebsd.devel.wireless,gmane.os.freebsd.devel.net
Organization http://berklix.com/jhs/
Message-ID <[email protected]>
On Fri, 25 Jul 2025 11:49:30 +0000 (UTC) Bjoern A. Zeeb: wrote 
> On Fri, 25 Jul 2025, Julian H. Stacey wrote:
>
> > Hi freebsd-wireless@, freebsd-net@
> > This a repost as I sent to non existant mobile@ should have been wireless@.
> >
> > http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/wlan_action
> > Solves problems I've had, See `Purposes:' & `Limitations:' Comments Welcome.
>
> "(country is not available in wpa_supplicant)."
>
> That's not true; it is but also only globally;  I would have wised for
> it to be per-network for a while.  Might be interesting if someone took
> that idea forward?

Thanks.  I'd happily hack src/ later after I reduce my backlog,
but no time yet even to upgrade my laptop from 12.4-RELEASE to 14.3.

For now my shell fixes what I need, & more important than setting country,
it delays calling dhclient till after wpa_supplicant has associated.

I've wondered why others haven't suffered failing dhclient, Maybe
I have a wrong config or dhclient waits better on wpa_supplicant by 14.3.

Cheers,
-- 
Julian Stacey  http://berklix.org/jhs/mail/  @gmail blocks replies.
Arm Ukraine.  Contraception against global warming.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.