The following is example of my wireless network configuration:
- Hidden SSID
- Using WPA2-PSK and AES
- Running DHCP Server
First, you need to find out which interface supports wireless:
$> sudo iwconfig
Second, you need to modify:
sudo vi /etc/network/interfaces
The following is example of my /etc/network/interfaces entry:
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid "hidden_essid"
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk "your_hex_key"
Where:
- eth1 is my wireless interface
- "you_hex_key" can be found by issuing the following command:
$> wpa_passphrase "hidden_essid" "your_ascii_key"
- For more information click this link
NOTE: you may need to reboot for it to work.
That's it. Hope it helps to solve your problem.