Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 12:22:28 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>, Sean Bruno <sbruno@freebsd.org>,  Lev Serebryakov <lev@freebsd.org>, current <current@freebsd.org>
Subject:   Re: [regression] The USB WiFi card stopped working: if_run doesn't create the 'run0' interface any more
Message-ID:  <CAN6yY1s4jgUFv%2BVb_DtNhznZa3RZP5GkJcn2W4v5B4TbPWVzcA@mail.gmail.com>
In-Reply-To: <14f86d91-1550-ba3e-a71d-36364155593e@rawbw.com>
References:  <201807041900.w64J0QeZ044339@pdx.rh.CN85.dnsmgr.net> <14f86d91-1550-ba3e-a71d-36364155593e@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 4, 2018 at 12:06 PM, Yuri <yuri@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@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1s4jgUFv%2BVb_DtNhznZa3RZP5GkJcn2W4v5B4TbPWVzcA>