Zilog ZUSBOPTS User Manual
Page 45

UM025603-0814
Establish A WiFi Connection
Zilog Educational Shields
User Manual
38
The following commands are case-sensitive.
a. set wlan join 4
b. set wlan ssid CLIENT
c. set wlan chan 0
d. set wlan auth 6
e. set ip address 169.254.1.1
f. set ip netmask 255.255.0.0
g. set ip dhcp 0
h. set ip proto 3
i. set ip localport 2000
6. Enter
save
, the press the Enter key. Next, enter
reboot
, then press
Ctrl-D
to exit
the RN-171 module’s command mode and return to the Platform’s root shell, which is
indicated by the
ZEdulab>
prompt.
7. At the Module 2 prompt, enter the following sequence of commands, each command
followed by the Enter key, to configure the HOST.
a. set wlan join 4
b. set wlan ssid HOST
c. set wlan chan 1
d. set wlan auth 6
e. set ip address 169.254.1.2
f. set ip netmask 255.255.0.0
g. set ip dhcp 0
h. set ip proto 3
i. set ip localport 80
8. Enter
save
, then press the Enter key. Next, enter
reboot
, then press
Ctrl-D
to exit
the RN-171 module’s command mode and return to the Platform’s root shell.
9. To establish the WiFi link between the two ZED WLAN shields first requires a scan to
ensure that the CLIENT shield can detect the HOST shield. Enter the
wcmd
command
on both console terminals, then enter the
scan
command on MODULE 1 (i.e., the
CLIENT). A brief delay may occur as the module scans for available networks. When
the list of networks is returned, press Enter to return to the
<2.32>
prompt.
10. If the host appears in the list, enter the
join HOST
command on the CLIENT console,
and press Enter.
The following message should appear on the MODULE 1 console:
Listen on 2000
The following message should appear on the MODULE 2 console:
Note: