![]() | |||||||||
|
|
|
Resetting the IP address from the command line The Opengear console server by default has the static IP address 192.168.0.1 and is also running a DHCP client. You can reconfigure the IP address using the Web based Management Console or it can be assigned using ARP ping (refer faq235). Alternately you can reconfigure the IP from the command line. Use SSH to connect to the console server at its current IP address (e.g. ssh username:serial@192.168.0.1) and you will be given access to a command line Interface. You can also use Telnet if that service has been enabled (Note: Telnet is not enabled by default). At the command line you can reset the console server IP address using the config command. For example to set the IP Address to 192.168.1.100, Network Mask to 255.255.255.0, Default Gateway to 192.168.1.1, and Primary DNS to 192.168.1.254 you would issue the following commands: # /bin/config --set=config.interfaces.wan.mode=static # /bin/config --set=config.interfaces.wan.address=192.168.1.100 # /bin/config --set=config.interfaces.wan.netmask=255.255.255.0 # /bin/config --set=config.interfaces.wan.gateway=192.168.1.1 # /bin/config Then to synchronize the console server with this new configuration: # /bin/config --run=ipconfig You can now use the pmshell command to connect to a local serial port and you may also Telnet or SSH to a specific TCP port to connect directly to a serial console. |
| © Opengear 2008| Privacy Policy |