Be sure that you have this section in /etc/network/interfaces :
- sudo su
- vi /etc/network/interfaces
- And add the following section : , you can figure out what is your interface name with the command ifconfig , usually it's wlan0 or 1 ..
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
- To generate the network block use the command : wpa_passphrase essid_name supersecretpassword
and this will create something like the bellow , and then all you have to do is to add this block to
/etc/wpa_supplicant/wpa_supplicant.conf
- So vi /etc/wpa_supplicant/wpa_supplicant.conf , and add this :
network={
ssid="MyAP111"
#psk="MyPassword"
psk=cc2499f98beb4dc374d206e56786686cfea3bbb741ac173dbd2a2514e461230a
}
No comments:
Post a Comment