Moxa V2403-C7-W-T [46/90] Configuring the wireless lan by wpa_supplicant conf

Moxa V2403-C7-W-T [46/90] Configuring the wireless lan by wpa_supplicant conf
V2403 Series Linux Software Managing Communications
3-31
Configuring the Wireless LAN by wpa_supplicant.conf
WARNING
You might encounter
compatibility issues if you configure Wi-Fi settings using wifi_mgmt
instead of using
wpa_supplicant
.conf. Because wifi_mgmt edits wpa_supplicant.conf dynamically, use wifi_mgmt instead of
editing wpa_supplicant
.conf by yourself.
Moxa strongly advises against
using the WEP and WPA encryption standards
. Both are now officially
deprecated by the Wi
-Fi Alliance, and are considered insecure. To guarantee proper Wi-Fi encryption and
security, please use WPA2 with the AES encryption algorithm.
You can configure the Wi-Fi connection using a configuration file or the wpa_supplicant command.
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 wpa_supplicant.conf:
root@Moxa:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf –B

Содержание

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

Скачать