History for < connection wpa-psk automatic on Debian (without gui) >

Sort by: Date / Title /

  1. 1 year ago by frycake
    1. # 1. Installation of the needed package
    2. apt-get install wpasupplicant
    3.  
    4. # 2. modify the file wpa_supplicant.conf (create if not exist in /etc/wpa_supplicant)
    5. ctrl_interface=/var/run/wpa_supplicant
    6.  
    7. network={
    8.   ssid="ssid_of_the_network"
    9.   key_mgmt=WPA-PSK
    10.   proto=WPA
    11.   pairwise=TKIP
    12.   psk="my passphrase"
    13. }
    14.  
    15. # if you want an other network
    16. network={
    17.   ssid="ssid_of_an_other_network"
    18.   key_mgmt=NONE
    19. }
    20.  
    21. # 3. modify /etc/network/interfaces
    22. auto myinterface
    23. iface myinterface inet dhcp
    24.   wpa-drivers wext # you can get the list of drivers with the command wpa_supplicant
    25.   wpa-conf /path_of_wpa_supplicant.conf
    26.  
    27. # 4. We can run
    28. ifdown myinterface && ifup myinterface

 

This posteet has also been saved without any changes by neorom