User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 16
2.3.27 set ftp user <string>
This command sets the user name for accessing the FTP server, where <string> is up
to 16 characters (16 bytes).
Default: roving
Example: set ftp user my_username // Sets the user name to my_username
2.3.28 set ftp pass <string>
This command sets the password for accessing the FTP server, where <string> is up
to 16 characters (16 bytes).
Default: Pass123
Example: set ftp user my_password // Sets the user name to my_password
2.3.29 set ip address <address>
This command sets the WiFly module’s IP address, where <address> is an IP address
in the form <value>.<value>.<value>.<value> with <value> being a number between 0
and 255. If DHCP is turned on, the IP address is assigned and overwritten when the
module associates with an access point. IP addresses are “.” delimited.
Default: 0.0.0.0
Example: set ip a 10.20.20.1 // Sets the WiFly module’s IP address to
// 10.20.20.1
2.3.30 set ip backup <address>
This command sets a secondary host IP address, where <address> is an IP address
in the form <value>.<value>.<value>.<value> with <value> being a number between 0
and 255. If the primary host IP is unreachable, the module attempts to reach the sec-
ondary IP address (if set).
Default: 0.0.0.0
Example: set ip a 10.20.20.2 // Sets the WiFly module’s secondary IP
// address to 10.20.20.2
2.3.31 set ip dhcp <value>
This command enables/disables DHCP mode, where <value> is a decimal number
shown in Table 2-3. If you set this parameter, the module requests and sets the IP
address, gateway, netmask, and DNS server upon association with an access point.
Any previously set IP information is overwritten.
TABLE 2-3: DHCP MODES
Mode Protocol
0 Turns DHCP off. The module uses its stored static IP address.
1 Turns DHCP on. The module attempts to obtain an IP address and gateway from the
access point.
2 Enables automatic IP, which is generally used with ad hoc networks.
3 Turns on DHCP cache mode. The module uses a previously set IP address if the
lease is not expired (or the lease survives reboot).
4 Enables DHCP server in soft AP mode.