SWRU561A September 2020 – October 2020 WL1801MOD , WL1805MOD , WL1807MOD , WL1831 , WL1831MOD , WL1835MOD , WL1837MOD
The following scripts needs to be run to enable STA and AP role. hostapd.conf updates mentioned in AP role are applicable to this procedure as well.
./sta_start.sh
./sta_connect-ex.sh exampleSSID WPA-PSK examplepassword
udhcpc -i wlan0
./ap_start.sh
If the default hostapd.conf settings were not changed, the AP should now be broadcasting as SitaraAP while also being connected as a Station to the AP specified in the "Start Station Role" section. To verify the station connectivity, invoke:
iw wlan0 link
The details of the AP you are connected to should show up. To verify the AP broadcast, use any commercial Station (smart phone, laptop, etc.) and connect. You should see a prompt (AP_STA_CONNECTED) when the station successfully connects to the WiLink AP.