Moxa V2426A-C2-W7E [44/88] Configuring the wireless lan using wpa_supplicant conf

Moxa V2426A-C2 [44/88] Configuring the wireless lan using wpa_supplicant conf
V2400A Series Expansion Modules Software Installation and Programming Guide
4-24
root@Moxa:~# wifi_mgmt delete 2
***** WARNING *****
Are you sure that you want to delete network id 2 (y/n)y
network id / ssid / bssid / flags
0 MOXA_AP1 any
1 MOXA_AP2 any [DISABLED]
wifi_mgmt status
root@Moxa:~# wifi_mgmt status
bssid=b0:b2:dc:dd:c9:e4
ssid=MOXA_AP1
id=0
mode=station
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.1.36
address=00:0e:8e:4c:13:5e
wifi_mgmt interface [num]
If there is more than one Wi-Fi interface, you can change the interface.
root@Moxa:~# wifi_mgmt interface
There is(are) 2 interface(s):
wlan0 [Current]
wlan1
root@Moxa:~# wifi_mgmt interface 1
Now is setting the interface as wlan1.
wifi_mgmt reconnect
root@Moxa:~# wifi_mgmt reconnect
wpa_state=SCANNING
wpa_state=SCANNING
wpa_state=COMPLETED
*** Get DHCP IP address from AP ***
*** Get DHCP IP from AP! ***
wifi_mgmt version
root@Moxa:~# wifi_mgmt version
wifi_mgmt version 1.0 Build 15050223
Configuring the Wireless LAN Using wpa_supplicant.conf
WARNING
You might encounter
compatibility issues if you configure Wi-Fi settings using wifi_mgmt instead of
editing
the
wpa_supplicant.conf file. The wifi_mgmt command edits the wpa_supplicant.conf file dynamically.
Hence, it is convenient to
use the wifi_mgmt command to configure wireless LAN instead of editing the
wpa_supplicant
.conf file.
Moxa stron
gly 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.

Содержание

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

Скачать