Moxa EPM-3112 [41/88] Connecting to an ap

Moxa V2426A-C7-T [41/88] Connecting to an ap
V2400A Series Expansion Modules Software Installation and Programming Guide
4-21
stop
Stop network.
status
Query network connection status.
interface [num]
Switch to another wlan[num] interface.
[num] interface number
example:
wifi_mgmt interface 0
interface
Get the current setting interface.
reconnect
Reconnect to the access point.
restart
Stop wpa_supplicant then start it again.
version
Wifi management version.
Connecting to an AP
There are three ways to connect to an AP. The DNS and default gateway will be configured automatically. If you
want to use the wireless interfaces gateway, be sure to clean up your computers default gateway first.
wifi_mgmt start Type=[type] SSID=[ssid] Password=[password]
Insert the AP information in the managed AP list and then connect to an AP.
root@Moxa:~# wifi_mgmt start Type=wpa SSID=moxa_ap Password=moxa
wpa_state=COMPLETED
*** Get DHCP IP address from AP ***
*** Get DHCP IP from AP! ***
wifi_mgmt start [num]
Connect to the AP using the managed AP list number. If you have inserted AP information before, some AP
information will still be in the managed AP list. Check the managed AP list with the wifi_mgmt list command.
root@Moxa:~# wifi_mgmt list
network id / ssid / bssid / flags
0 MOXA_AP1 any [LAST USED]
1 MOXA_AP2 any [DISABLED]
2 MOXA_AP3 any [DISABLED]
Choose an AP number to start.
root@Moxa:~# wifi_mgmt start 1
wpa_state=COMPLETED
*** Get DHCP IP address from AP ***
*** Get DHCP IP from AP! ***
wifi_mgmt start
Connect to the previous AP that was used.
root@Moxa:~# wifi_mgmt list
network id / ssid / bssid / flags
0 MOXA_AP1 any [LAST USED]
1 MOXA_AP2 any [DISABLED]
2 MOXA_AP3 any [DISABLED]

Содержание

Скачать