SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
The following section details the Create Autonomous 1:2 P2P Group (Push button Control) network using the hardware setup detailed in Figure 2-2.
Step # | EVM #1 | EVM #2 | Comments |
---|---|---|---|
1 | Run: p2p_start.sh | Run: p2p_start.sh | cd /usr/share/wl18xx/ ./p2p_start.sh |
2 | Run: p2p_cli.sh | Run: p2p_cli.sh | ./p2p_cli.sh |
3 | p2p_find | p2p_find | |
4 | p2p_peers | p2p_peers | verify p2p candidates MAC ADDRESS |
5 | p2p_group_add | define EVM#1 as Group Owner (GO) | |
6 | Exit wpa_cli on EVM#1 | type: quit | |
7 | Re-enter wpa_cli using the newly created 'p2p-wlan0-0' interface | wpa_cli -ip2p-wlan0-0 | |
8 | wps_pbc | Work in Push Button mode | |
9 | p2p_connect EVM#1_MAC_ADDRESS pbc join | ||
10 | exit wpa_cli | exit wpa_cli | type: quit |
11 | Acquire IP address for p2p-wlan0-0 | Acquire IP address for p2p-wlan0-0 | EVM#1: ifconfig p2p-wlan0-0 192.168.3.3 EVM#2: ifconfig p2p-wlan0-0 192.168.3.4 |
12 | Verify connection with ping | EVM#1: ping 192.168.3.4 EVM#2: ping 192.168.3.3 |
In order to configure the IP address to the Group Owner (GO) and the Clients there are two methods: