To authenticate in a corporate network I have to run the following command:$ sudo wpa_supplicant -i eth0 -D wired -c /etc/wpa_supplicant/mywired.conf -BThe configuration script loaded thereby looks like this:# global configurationctrl_interface=/var/run/wpa_supplicant#ctrl_interface_group=wheelap_scan=0# 802.1x wired configuration    # eap-ttlsnetwork={    key_mgmt=IEEE8021X    eap=TTLS    identity=me@example.com    anonymous_identity=anonymous@example.com    password=password    ca_cert=/home/user/deutsche-telekom-root-ca-2.pem    phase2=auth=PAP    eapol_flags=0    priority=5}# eap-peapnetwork={    key_mgmt=IEEE8021X    eap=PEAP    identity=me@example.com    anonymous_identity=anonymous@htw-berlin.de    password=password    ca_cert=/home/user/deutsche-telekom-root-ca-2.pem    phase2=auth=MSCHAPV2    eapol_flags=0    priority=10}Without the configuration I do not get an IP address assigned via DHCP.How can I automatically apply this configuration at startup? I am running Ubuntu 14.10.
How to automatically apply wpa_supplicant configuration?
ubuntu;configuration;dhcp;wpa supplicant
Just put your command in /etc/rc.local. Make sure it's on a single line. sudo wpa_supplicant -i eth0 -D wired -c /etc/wpa_supplicant/mywired.conf -BI assume that your connection is stable and not dropping. Do comment if your connection drops. I'll make a script. Have to sleep now.