Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2025 16:36:33 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        freebsd-wireless@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: shell set wlan country < ssid, dhcp waits on supplicant. fixes resolv
Message-ID:  <1nr766r2-5183-4s5s-n37q-656n40ops4os@yvfgf.mnoonqbm.arg>
In-Reply-To: <202507291622.56TGME85056887@dell.no.berklix.net>
References:  <202507291622.56TGME85056887@dell.no.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jul 2025, Julian H. Stacey wrote:

> 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.

What's your rc.conf line for wlan0?  Are you using SYNCDHCP?

Beyond that I am very little help as if I need IPv4 I start dhclient
manually being IPv6-only otherwise most of my time.

/bz

-- 
Bjoern A. Zeeb                                                     r15:7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1nr766r2-5183-4s5s-n37q-656n40ops4os>