Tuesday, November 2, 2010

/etc/network/interfaces configuration for 802.1x authentication

Hey :)

I have a problem with adjust Network Manager for 802.x1 Tunneled TLS (TTLS) and MD5 in Ubuntu. MD5 does not exist in `Inner Authentication` when I choose TTLS.
I was forced to enter the settings to interfaces file (/etc/network/interfaces). Interfaces file content is shown below:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address xx.xx.xx.xx
netmask xx.xx.xx.xx
gateway xx.xx.xx.xx
wpa-driver wired
wpa-eap TTLS MD5
wpa-key-mgmt IEEE8021X
wpa-anonymous-identity USER_NAME
wpa-identity USER_NAME
wpa-password PASSWORD
wpa-phase1 auth=MD5
wpa-phase2 auth=PAP password=PASSWORD

Also you can use Open1X (XSupplicant).

IEEE 802.1X
Network 802.1x Authentication
Open1X (XSupplicant)

Have a good time ;)