Gateway Instruction Manual
Page 13
Examples:
Get the current ip address:
gwadmin getip
Set the network gateway/router:
gwadmin setnetrouter 10.2.27.42
Get the gateway information:
gwadmin getgwinfo
Turn on all alerts:
gwadmin setalerts 7
5.3 Setting Up a Static IP Address
Once you have the terminal setup on your computer, you can now change the static
IP address of your Gateway. Enter the following admin console commands:
Note
1
: XXX.XXX.XXX.XXX represents your IP address or net mask.
Note
2
: all commands, options, and parameters are case-sensitive.
1. gwadmin setip XXX.XXX.XXX.XXX
2. gwadmin setnetmask XXX.XXX.XXX.XXX
3. gwadmin setnetrouter XXX.XXX.XXX.XXX
4. gwadmin setnetdns XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
5. gwadmin setstaticip 1
The following is an example and not meant to be used as a real configuration:
gwadmin setip 192.154.27.55
gwadmin setnetmask 255.255.255.0
gwadmin setnetrouter 192.154.27.1
gwadmin setnetdns 8.8.8.8 8.8.8.4.4
gwadmin setstaticip 1
Once the command sequence is entered, the Gateway will restart the network
interface with the new parameters. The new static IP connection should be
established in less than a minute and can be confirmed byobserving the Data
Center light as it transitions from red to yellow and then to flashing green as it waits
for communication from the Data Center.
To return to the default setup of using a DHCP server for assigning the IP
address,enter the following command:
gwadmin setstaticip 0
1= Enable Static IP Addressing
0=Enable DHCP IP addressing
setstaticip EnableStaticIP
Enable/Disable the Static IP Address for Ethernet
1= Enable Static IP Addressing
0=Enable DHCP IP addressing
Gateway Instruction Manual
Page 14
The new DHCP connection should be established in less than a minute and can be
confirmed by observing the Data Center light as it transitions from red to yellow and
then to flashing green as it waits for communication from the Data Center.
5.4 Activating the Cellular Modem
The Gateway cellular modem can be provisioned or activated on Verizon
WirelessNetwork with the following steps:
1. Log into admin console as described in section 5.1
2. At the “root@OpenWrt:~#” prompt type otasp and press <enter> to start
the over the air activation.
3. Wait about 3 to 4 minutes for the process to complete. Do not remove
power during this time as configuration may become corrupted.
4. The Gateway will automatically reboot and the cellular modem is now
activated.
Note: Multiple activations should not harm the modem or configuration.