[regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more

Kevin Oberman rkoberman at gmail.com
Wed Jul 4 19:22:31 UTC 2018


On Wed, Jul 4, 2018 at 12:06 PM, Yuri <yuri at rawbw.com> wrote:

> On 07/04/18 12:00, Rodney W. Grimes wrote:
>
>> Just for fun to see if this can clear up your issue add
>>         if_run_load="YES"
>> to /boot/loader.conf
>>
>
>
> This doesn't help. In the presence of preloaded if_run.ko wpa_supplicant
> still can't initialize wlan0.
>
>
> Yuri


This is a shot in the dark, but I have a possibly similar issue with my
Intel  6205 (iwn) card. It appears that thee is a race involving the timing
of the iwn (wlan0) coming up and the start of the wpa_supplicant.

I see the interface start, and aesociate but immediately go down. dhclient
starts, but fails. If I kill the interface (service netif stop wlan0) and
manually start it (ifconfig wlan0 up), it comes up fine. I can then start
the wpa_supplicant and dhclient to get it working. From this point, it
remains stable.

If I just let it bounce up and down, it usually will eventually come up,
but it can take some time and, on occasion it simply fails to some up
unless I intervene.
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-current mailing list