SHOW:
|
|
- or go back to the newest paste.
1 | /etc/network/interfaces | |
2 | ------------------------- | |
3 | auto lo | |
4 | ||
5 | iface lo inet loopback | |
6 | iface eth0 inet dhcp | |
7 | ||
8 | auto wlan0 | |
9 | iface wlan0 inet dhcp | |
10 | wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
11 | ------------------------- | |
12 | ||
13 | And the /etc/wpa_supplicant/wpa_supplicant.conf file | |
14 | ------------------------- | |
15 | ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
16 | update_config=1 | |
17 | ||
18 | - | network={ |
18 | + | network={ |
19 | - | ssid="linksys" |
19 | + | ssid="gentoonet" |
20 | - | key_mgmt=NONE |
20 | + | psk="my_passphrase" |
21 | - | auth_alg=OPEN |
21 | + | proto=WPA2 |
22 | - | } |
22 | + | key_mgmt=WPA-PSK |
23 | pairwise=CCMP | |
24 | - | network={ |
24 | + | group=CCMP |
25 | - | ssid="ETSUWiFi" |
25 | + | priority=5 |
26 | - | proto=RSN |
26 | + | } |
27 | - | key_mgmt=WPA-EAP |
27 | + |