User's Manual

This document is Solectek CONFIDENTIAL and may not be reproduced without written permission. V1.5
set_config VARIABLE VALUE
eg.
set_config ENET0_IPADDR 10.20.20.7 (Set the ENET0_IPADDR).
set_config DEV_MODE ap (set the device operation mode to AP).
IMPORTANT: All set_config commands should be followed by a save_config command which stores
the changes to permanent Flash memory. A reboot is also required for most command to take effect.
show_config
You may use the show_config command to display the value of a configuration variable.
eg.
show_config ROUTER_TYPE
5.2. Configuration File
Within the MRS software system, there are two files that hold configuration information.
Both are accessible by Telnet:
/etc/shadow - has user name and passwords for console and telnet (and ssh) login.
(This file does not hold the password for the GUI login)
/etc/solectek/CONFIG_VARS - This file holds all the configuration information for
Networking (such as IP addresses, netmasks etc.), WIFI configuration, Product
Operation mode etc.
Remember that any method you use to modify these files, require the command save_config
when you are done with the changes.
The file CONFIG_VARS contains information on the product configuration. This file has a
very simple format:
VARIABLE1=VALUE1
VARIABLE2=VALUE2
Changing the VALUE of a VARIABLE will change them in the current CONFIG_VARS file,
but not in the flash.
The file can be changed by: uploading a version of the file to a PC, edit it, and download it
back to the device. Save it, and then reboot. There are two methods to accomplish this:
ftp - ftpput is used to send a file from the MRS device to a remote system. ftpget is
used to get a file from a system. The commands look as follows:
ftpput -u username -p password local-file remote-file
ftpget -u username -p password local-file remote-file