Материал из Xgu.ru
Получить хеш пароля
Code: sh
|
# wpa_passphrase SSID_AP password
network={
ssid="SSID_AP"
#psk="password"
psk=1f656c3ef929a35028680972c7c74bdc2050e7f485fd7c02d06e508ea5c35409
}
|
При необходимости и/или для удобства перенаправляем сразу в /etc/wpa_supplicant.conf
Code: sh
|
# wpa_passphrase SSID_AP password >> /etc/wpa_supplicant.conf
|
WPA2 AES скрытый SSID
# wpa_passphr
Code: /etc/wpa_supplicant.conf
|
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="SSID_AP"
scan_ssid=1
#psk="password"
psk=1f656c3ef929a35028680972c7c74bdc2050e7f485fd7c02d06e508ea5c35409
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
priority=5
}
|
[править] Точка доступа
Code: hostapd.conf
|
interface=wlan0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=My_WiFi
wpa=1
wpa_passphrase=PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
|
Code: rc.conf
|
wlans_run0="wlan0"
create_args_wlan0="wlanmode hostap"
cloned_interfaces="bridge0"
ifconfig_bridge0="inet 192.168.0.10 netmask 255.255.255.0 addm em0 addm wlan0 up"
ifconfig_em0="up"
ifconfig_wlan0="up mode autoselect"
hostapd_enable="YES"
gateway_enable="YES"
|
Шаблон:Руководство