WiSnap User Manual 2.21 04112011-JF
Page
54
of
66
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 ad-hoc mode.
To associate with an ad-hoc network from another WiSnap device:
set wlan ssid my_ad-hoc_network
reboot
or alternatively you can use the join command to associate with the ad-hoc network. Remember to
disassociated using the
leave
command if you are previously associated to another network.
join my_ad-hoc_network
If you leave DHCP service enabled the WiSnap device will get an IP address using auto IP when
associating with the ad-hoc network. By definition auto IP fixes the first two bytes of subnet to
169.254.xxx.xxx. The WiSnap 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 ad-hoc network using the ping command.
ping 169.254.1.1 10
To use associate with the WiSnap ad-hoc network from another computer
Open the “Control Panel / Networking and Sharing / Networking and Sharing Center” dialog in Vista
or “Control Panel / Network Connections” dialog in Windows XP. From here, view available networks
and select the name of the ad-hoc network.
Note: Once associated with the ad-hoc network, Vista auto IP may take a couple minutes to allocate
an IP address for your computer. To work around this you can assign a static IP address in the
network settings / TCP/IP / Properties menu.
Once associated with the ad-hoc network you can open a connection or telnet window as you would
with an enterprise connection.
NOTE
: The module does not support ad-hoc and enterprise network modes simultaneously.