Moxa UC-8410A-LX [36/86] Badding wep settings in a configuration file

Moxa UC-8410A-LX [36/86] Badding wep settings in a configuration file
UC-8410A Series Linux Software Advanced Configuration of Peripherals
3-16
To display AP scan results, enter the command shown below.
Adding WEP Settings in a Configuration File
The relevant commands you can enter to add WEP configuration information in the
/etc/wpa_supplicant.conf file are shown below:
root@Moxa:/home# wpa_cli -i wlan0 add_network
0
root@Moxa:/home# wpa_cli -i wlan0 set_network 0 key_mgmt NONE
OK
root@Moxa:/home# wpa_cli -i wlan0 set_network 0 ssid '"MOXA-AP-1"'
OK
root@Moxa:/home# wpa_cli -i wlan0 set_network 0 bssid 50:67:F0:61:2D:7A
OK
root@Moxa:/home# wpa_cli -i wlan0 set_network 0 wep_key0 AAEE431ED3FVV4FAEB923443C4
OK
root@Moxa:/home# wpa_cli -i wlan0 enable_network 0
OK
root@Moxa:/home# wpa_cli -iwlan0 select_network 0
OK
root@Moxa:/home# wpa_cli -i wlan0 save_config

Содержание

Скачать