[PATCH] wpa-supplicant script

Sascha Wildner saw at online.de
Tue Jun 26 14:32:56 PDT 2007


the following work-in-slow-progress patch brings in some changes from 
FreeBSD that will allow to bring up a wireless interface with:

ifconfig_ath0="up WPA DHCP"

That is, besides the special parameters WPA and DHCP, all normal 
ifconfig parameters are possible in the ifconfig_... line now.

The patch also adds interface renaming via rc.conf, e.g.:

ifconfig_net0="DHCP media 10baseT/UTP"

Don't forget -p0 as it adds the wpa_supplicant rc script.

My work is eating most of my time at the moment so it's not the final 
version. Some things to consider with this version:

* I haven't tested the pccard part at all.

* Without "up" in the ifconfig_... line WPA doesn't yet seem to work it 
seems. Setting "DHCP polling" also didn't work last time I checked 
(didn't yet test if it works with "up", though).

* FreeBSD has OpenBSD's dhclient so I had to comment out some stuff 
(that uses -b which we don't have) in dhclient's rc script.

As I figure out these issues and find more stuff to add, I'll post 
another patch later next week or so.



More information about the Users mailing list