gordon@ said:Check out wpa_supplicant(8). It has support for 802.1x. The conf page has some more about it as well: wpa_supplicant.conf(5).
cwthfly said:does wpa_supplicant also work for wired case? (I thought it only works for wireless...)
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
network={
ssid="1x-test"
scan_ssid=1
key_mgmt=IEEE8021X
eap=MD5
phase2="auth=PAP password=1234"
identity="haha"
anonymous_identity="haha"
password="1234"
eapol_flags=0
}