Ap Mode; Station Mode - Advantech FWA-T011 Getting Started Manual

Quickstart linux image
Hide thumbs Also See for FWA-T011:
Table of Contents

Advertisement

3.3.1 AP Mode

The example we use nmcli commands to create a hotspot:
User can setting SSID and PASSWORD to Wi-Fi software AP. The example SSID is "testap",
and PASSWORD is "qwertyqwerty" , Dial out port eth0_1 is used for the traffic to the
wireless network , NetworkManager will be auto forward to WLAN.
root@FWA-T011:~# nmcli dev wifi hotspot ifname wlan0 ssid "test" password
"testpassword"
Device 'wlan0' successfully activated with '22f042eb-e466-4f79-bd93-6ca85a704924'.
root@FWA-T011:~# nmcli c
NAME
UUID
Hotspot
22f042eb-e466-4f79-bd93-6ca85a704924 wifi
Wired connection 2 1fddbe45-11d8-3672-8993-f4cb1325ca83 ethernet eth0_1
......< only parts of the messages are shown >.....
root@FWA-T011:~# route
Kernel IP routing table
Destination
Gateway
default
172.17.11.254 0.0.0.0
default
172.17.11.254 0.0.0.0
10.42.0.0
0.0.0.0
172.17.10.0
0.0.0.0
Now user can use a laptop or any Wi-Fi capable device to connect to this software AP to
establish a Wi-Fi connection. In our example, user's platform shall get dynamic IP assigned if
making Wi-Fi connection is successful.
When use finished, user should be delete hotspot by this command:
root@FWA-T011:~# nmcli c delete "Hotspot"
Connection 'Hotspot' (22f042eb-e466-4f79-bd93-6ca85a704924) successfully deleted.
root@FWA-T011:~# nmcli c
NAME
UUID
Wired connection 2 1fddbe45-11d8-3672-8993-f4cb1325ca83 ethernet eth0_1
......< only parts of the messages are shown >.....

3.3.2 Station Mode

User can use FWA-T011-4CA1S as station to connect to the Access Point ,
For example, we use nmcli to connect AP,Linux should response with the following message
indicating software STA had been set up properly:
Copyright 2017. All rights reserved. Advantech Co. Ltd.
TYPE
DEVICE
Genmask
Flags Metric Ref Use Iface
UG 0
UG 102 0
255.255.255.0 U
600 0
255.255.254.0 U
102 0
TYPE
DEVICE
Page 29
wlan0
0
0 eth0_1
0 eth0_1
0 wlan0
0 eth0_1

Advertisement

Table of Contents
loading

Table of Contents