Date: Fri, 24 Oct 2008 10:03:34 GMT From: Jouke Witteveen <j.witteveen@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/128334: rc.d/wpa_supplicant doesn't take 'wired' driver Message-ID: <200810241003.m9OA3YFa011118@www.freebsd.org> Resent-Message-ID: <200810241010.m9OAA1ce066313@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 24 10:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jouke Witteveen >Release: 7.0 >Organization: >Environment: FreeBSD december 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 31 12:27:56 UTC 2007 admin@december:/usr/obj/usr/src/sys/DECEMBER i386 >Description: 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. >How-To-Repeat: 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. >Fix: The easy way is to modify the wpa_supplicant script so that it contains: case ${ifn} in ndis*) driver="ndis" ;; <wired_interface>*) driver="wired" ;; *) driver="bsd" ;; esac 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. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810241003.m9OA3YFa011118>