York Network Acccess Service Linux Config (Wired)

Put the following config file in /etc/wpa_supplicant/york.conf

network={
    key_mgmt=IEEE8021X
    eap=PEAP
    phase2="auth=MSCHAPV2"
    anonymous_identity="@york.ac.uk"
    identity="username@york.ac.uk"
    password="password"
    ca_cert="/etc/ssl/certs/AddTrust_External_Root.pem"
}

The following commands will need to be prefixed with sudo if you aren't running as root.

Invoke wpa_supplicant in the following way:

wpa_supplicant -i eth0 -Dwired -c /etc/wpa_supplicant/york.conf

Then use a dhcp client to get an address:


On Debian based systems, you may find it easiest to do the following:

Release the current DHCP lease:

ifdown eth0

Authenticate (add an & to the end to send it to the background once you know it works):

wpa_supplicant -i eth0 -Dwired -c /etc/wpa_supplicant/york.conf

Get a new DHCP lease:

ifup eth0