service netif restart [iface] runs a wpa_supplicant twice
clutton
clutton at zoho.com
Wed Oct 23 23:56:34 UTC 2013
What is the best way to restart a wireless stack?
A command "ifconfig wlan0 create wlandev ath0" starts the wpa_supplicant
by itself. It means that the netif script runs the wpa_supplicant twice,
always. Is it ok?
There is my debug during booting:
[netif.network_common()] START:
[netif.network_common()] ITERATION:
[wpa_supplicant] SUPPID=30067
[wpa_supplicant] SUPPID=30067
[netif.network_common()] STOP:
It means that during running a network_common() from the /etc/rc.d/netif
the /etc/rc.d/wpa_supplicant was called twice.
/etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_em0="DHCP"
ipsec_enable="YES"
/etc/wpa_supplicant.conf
network={
ssid="ssid"
psk="psk"
}
11.0-CURRENT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20131024/1f7fb1d8/attachment.sig>
More information about the freebsd-wireless
mailing list