Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 16:13:18 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        arch@FreeBSD.org
Subject:   conflict between netif and pccard_ether...
Message-ID:  <20140618231318.GH31367@funkthat.com>

next in thread | raw e-mail | index | archive | help
So, I recently was trying to figure out why wireless on my notebook
wouldn't work..  I would boot up the machine w/o the wireless
configured, uncomment the lines in rc.conf, and then run
"service netif start"...

Wireless would associate, but when disconnect... After some
investigation, it turns out that two copies of wpa_supplicant are
being launched... I believe one from netif, and another from
pccard_ether launched by devd...

The issue is that both netif and pccard_ether "claim" ownership of
them.  pccard_ether will ignore the ifconfig_ line if NOAUTO is
specified.  IMO, we need to make one or the other "own" configuring
and launching the interface...

There is also the issue that wpa_sup doesn't use proper locking on
the pidfile and allows two copies to be launched...  My thoughts
is to convert it to pidfile to fix this issue the easiest...

Comments?  Suggestions?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140618231318.GH31367>