DragonFly users List (threaded) for 2007-06
DragonFly BSD
DragonFly users List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[PATCH] wpa-supplicant script


From: Sascha Wildner <saw@xxxxxxxxx>
Date: Tue, 26 Jun 2007 23:32:56 +0200

Hi,

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_rl0_name="net0"
ifconfig_net0="DHCP media 10baseT/UTP"

http://leaf.dragonflybsd.org/~swildner/ifconfig_wpa.20070626.diff

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.

Sascha

--
http://yoyodyne.ath.cx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]