title: raspberry pi 3 Ethernet with 802.1X
body: <p>I want to connect my raspberry pi 3 via Ethernet to the Interet. The problem is that in my student dorm they use 802.1X as network authentication. I found this tutorial: <a href="https://help.ubuntu.com/community/Network802.1xAuthentication" rel="nofollow noreferrer">https://help.ubuntu.com/community/Network802.1xAuthentication</a> and did the steps. 
  So i modified /etc/wpa_supplicant/wpa_supplicant.conf. It looks like this now:</p>
  
  <pre><code>ctrl_interface=/var/run/wpa_supplicant
  eapol_version=2
  ap_scan=0
  network={
  key_mgmt=IEEE8021X
  eap=PEAP
  identity="loginname"
  password="password"
  phase1="peaplabel=0"
  phase2="auth=MSCHAPV2"
  }
  </code></pre>
  
  <p>But when i run:</p>
  
  <pre><code>sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -D wired -i eth0
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>Succesfully initialized wpa_supplicant
  ioctl[SIOCGIFFLAGS]: No such device
  setsockopt: No such device
  ioctl[SIOC{ADD/DEL}MULTI]: No such device
  ioctl[SIOCGIFFLAGS]: No such device
  wpa_driver_wired_init: Could not get interface flags
  eth0: Failed to initialize driver interface
  </code></pre>
  
  <p>And i dont have a connection.</p>