Putty - Best way to change WAN / LAN / DHCP / General Settings ?
-
I want to use Putty / command line only to change the following settings
WAN IP / GTW / SNM / DNS 1&2 / PPPOE if needed
LAN IP / GTW / SNM / DHCP if needed
General Timezone (can change in config.xml unless there is a better way)SNMP Settings (not as important as others)
I know I can do all of this through the web interface but wanted a way to do it without the web interface for testing purposes.
I was hoping for command line arguments or even if I have to use the command line to edit files I am OK with that as well.
Thanks for the great product
-
For most of those you'd end up having to either make a PHP script to alter the settings (See the existing pfSsh.php playback examples in /etc/phpshellsessions/ ) or alter the config.xml yourself.
-
I could only find a few settings in the Config.xml.
I will look into the pfssh.php examples