Moxa V2426A-C2-W7E Руководство по аппаратной части онлайн [45/88] 170938

Moxa V2426A-C7-T-W7E Руководство пользователя онлайн [45/88] 170943
V2400A Series Expansion Modules Software Installation and Programming Guide
4-25
The following example is for OPEN/WEP/WPA/WPA2 AP.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
### Open system ###
#network={
# ssid="Open"
# key_mgmt=NONE
#}
###################
##### WEP #####
#network={
# ssid="WEP-ssid"
# bssid=XX:XX:XX:XX:XX:XX
# key_mgmt=NONE
# wep_key0=KEY
#}
###############
##### WPA/WPA2 PSK #####
#network={
# ssid="WPA-ssid"
# proto=WPA WPA2 RSN
# key_mgmt=WPA-PSK
# pairwise=TKIP CCMP
# group=TKIP CCMP
# psk="KEY"
#}
#######################
The basic command to connect for WPA-supplicant is:
root@Moxa:~# wpa_supplicant -i <interface> -c <configuration file> -B
The -B option should be included because it forces the supplicant to run in the background.
1. Connect with the following command after editing the wpa_supplicant.conf file:
root@Moxa:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
2. Use iwconfig to check the connection status. The response you receive should be similar to the following:
wlan0 IEEE 802.11abgn ESSID:"MOXA_AP"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1F:1F:8C:0F:64
Bit Rate=36 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:1234-5678-90 Security mode:open
Power Management:off
Link Quality=37/70 Signal level=-73 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Содержание

Похожие устройства

Скачать