misc/128334: rc.d/wpa_supplicant doesn't take 'wired' driver

Jouke Witteveen j.witteveen at gmail.com
Fri Oct 24 10:10:02 UTC 2008

>Number:         128334
>Category:       misc
>Synopsis:       rc.d/wpa_supplicant doesn't take 'wired' driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 10:10:01 UTC 2008
>Originator:     Jouke Witteveen
>Release:        7.0
FreeBSD december 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 31 12:27:56 UTC 2007     admin at december:/usr/obj/usr/src/sys/DECEMBER  i386
FreeBSD is able to do wired WPA authentication. However, the /etc/rc.d/wpa_supplicant script is not able to select the 'wired' driver. By default it selects the 'bsd' driver and on interface names matching 'ndis*' it selects the 'ndis' driver.
In /etc/rc.conf one can have:

ifconfig_<wired_interface>#="WPA DHCP"

The wpa_supplicant rc.d script is executed but selects the wrong driver.
The easy way is to modify the wpa_supplicant script so that it contains:

case ${ifn} in

I suppose there are too many interface names to make this into a general patch, though.
Furthermore it is feasable to use wpa_cli in the "WPA DHCP" situation as it makes it possible to run the dhcp client post-authentication. This suggests a more thorough modification of the involved rc.d scripts.


More information about the freebsd-bugs mailing list