Freeze on closing terminal that runs wpa_supplicant

Kevin Oberman oberman at es.net
Wed Mar 17 21:39:50 UTC 2010


> Date: Wed, 17 Mar 2010 20:47:19 +0100
> From: Mathias Sogorski <mathias.sogorski at googlemail.com>
> Sender: owner-freebsd-stable at freebsd.org
> 
> Hello!
> I am running 8.0-RELEASE on a notebook with the Intel 3945 WiFi. I
> usually start wpa_supplicant [...]& on a terminal when entering gnome
> followed by the dhcpcd call to use the WiFi connection. After having
> finished work and closing the terminal that runs wpa_supplicant,
> everything freezes and I have to turn the power off. Any suggestions?

Is there a reason you don't use the standard incantation of
ifconfig_wlan0="WPA DHCP" in /etc/rc.conf?

An alternative would be to manually do an "/etc/rc.d/netif stop wlan0"
or, even "ifconfig wlan0 down". I suspect that yanking the parent
process out from under the wpa_supplicant is causing a deadlock. (This
is a bug, but I have no idea how difficult it might be to fix.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


More information about the freebsd-stable mailing list