802.1x

Sepherosa Ziehau sepherosa at gmail.com
Thu Sep 7 05:22:21 PDT 2006


On 9/6/06, Gergo Szakal <bastyaelvtars at xxxxxxxxx> wrote:
Is there any way to use DF as a 802.1x client (supplicant)? Can one use
it on a network where this is mandatory in order to gain access to the LAN?
Sure we have wpa_supplicant, which can be used to do wired Lan 802.1X
too, please apply following patch, compile wpa_supplicant and
reinstall it:
http://leaf.dragonflybsd.org/~sephe/wpa_supplicant.diff
Create a wpa.conf containing following lines:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
network={
   key_mgmt=IEEE8021X
   eap=MD5
   identity="your_username"
   password="your_password"
   eapol_flags=0
}
# ifconfig xxx0 down
# ifconfig xxx0 up
# wpa_supplicant -B -c ./wpa.conf -i xxx0 -D wired
Then configure your IP address either by dhclient or manually

Hope it will work for you.

Best Regards,
sephe
--
Live Free or Die




More information about the Users mailing list