User manual

WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue Los Gatos, CA 95032 Tel (408) 395-6539 info@RovingNetworks.com
~ 71 ~
To enable adhoc mode from software:
From command mode, the module is configured for adhoc mode using the join command. You will also
need to set the ssid and channel.
set wlan join 4
set wlan ssid my_adhoc_network
set wlan chan 1
Turn off DHCP and set the IP address and netmask so other devices know where to connect to the adhoc
WiFly GSX. Since auto IP fixes the first two bytes of the IP address you want to use the netmask of
255.255.0.0 so that other device connecting to the module can be reached. Alternatively you can set the
netmask to a smaller subnet if the other device’s IP addresses are begin statically to the same subnet as the
adhoc device
set ip address 169.254.1.1
set ip netmask 255.255.0.0
set ip dhcp 0
Be sure to save your configuration, then upon reboot the module will be in adhoc mode.
To associate with an adhoc network from another WiFly device:
set wlan ssid my_adhoc_network
reboot
or alternatively you can use the join command to associate with the adhoc network. Remember to
disassociated using the leave command if you are previously associated to another network.
join my_adhoc_network
If you leave DHCP service enabled the WiFly device will get an IP address using auto IP when associating
with the adhoc network. By definition auto IP fixes the first two bytes of subnet to 169.254.xxx.xxx. The
WiFly device takes about two to three seconds to resolve the auto IP address.
Alternatively you can statically set the IP address by disabling the DHCP service and explicitly assigning
the IP address.
set ip address 169.254.1.2
set ip dhcp 0
You can confirm the device has properly connected to the adhoc network using the ping command.
ping 169.254.1.1 10
To use associate with the WiFly adhoc network from another computer