Ну тогда реальный пример одной системы.
Шифрование WPA-PSK
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
fast_reauth=1
network={
ssid="MY NET"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP
group=CCMP
psk="123456"
}
/etc/sysconfig/network-scripts/ifcfg-wlan0
# RaLink RT2561/RT61 rev B 802.11g
DEVICE=wlan0
ONBOOT=yes
#BOOTPROTO=dhcp
BOOTPROTO=none
GATEWAY=192.168.0.1
HWADDR=00:1b:11:c6:64:37
NETMASK=255.255.255.0
DHCP_HOSTNAME=test
IPADDR=192.168.0.2
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
DOMAIN=mynet.loc
TYPE=Wireless
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
ESSID="MY NET"
CHANNEL=Auto
#MODE=Auto
MODE=Managed
RATE=54M
#BRIGE=br0
MTU=1500
Как-то так.