Configure static IP and HTTP proxy
If you install a Guardian Air in a network that does not have DHCP, you will need to do a manual configuration.
Before you begin
- Your Guardian Air device is running firmware version 1.0.7 or later
- You have a universal serial bus (USB) drive formatted as FAT32
About this task
You can use a USB pendrive to manually configure a static internet protocol (IP) and hypertext transfer protocol (HTTP) proxy on a Guardian Air device. Before you do this procedure, we recommend that you upgrade to the latest version of Guardian Air. To do this, you will need to connect your Guardian Air to a network that already has a dynamic host configuration protocol (DHCP) server. This will let you do the automatic upgrade.
Procedure
-
Connect a USB pendrive to a desktop or laptop
computer.
Note:The operating system (OS) installed is not important.
- Assign the label NOZOMI to the USB pendrive.
-
On the USB pendrive, create a file with the name:
eth0-manual.network
Use a plain text editor to create configuration files. For example, Visual Studio Code or Sublime Text.
-
In the eth0-manual.network file, enter this text:
[Match] Type=ether Name=eth0 KernelCommandLine=!nfsroot KernelCommandLine=!ip [Network] Address=<IPv4-CIDR-address> Gateway=<Gateway-IPv4-address> DNS=<DNS-IPv4-address>
-
Replace the text:
<IPv4-CIDR-address>
with the IPv4 classless inter-domain routing (CIDR) address that you want to assign to the device. For example: 172.16.4.195/26 -
Replace the text:
<Gateway-IPv4-address>
with the IPv4 address of the gateway. For example: 172.16.4.193 -
Replace the text:
<DNS-IPv4-address>
with the IPv4 address of the domain name server (DNS) server. - On the USB pendrive, create a file with the name: environment
-
In the environment file, enter this text:
HTTP_PROXY="<HTTP-proxy-URL>" HTTPS_PROXY="<HTTP-proxy-URL>"
-
Replace the text:
<HTTP-proxy-URL>
with the uniform resource locator (URL) of the HTTP proxy to be configured. Include the port and the slash at the end. For example, http://10.41.48.40:3128/ - Save both the eth0-manual.network and the environment files.
- Safely eject the USB pendrive.
- If the Guardian Air device is powered on, disconnect the electrical power cable.
- Connect the USB pendrive to one of the USB ports on the Guardian Air device.
- To turn on electrical power to the Guardian Air device, connect the electrical power cable.
-
Wait until the status light-emitting diode (LED) indicator starts to
flash green.
This means that the Guardian Air custom network configuration has been correctly applied, and the system is able to connect to the Nozomi Networks cloud service. This connection is either directly, or through the configured HTTP proxy.
- If the LED does not flash green, see the Troubleshooting procedure.
- Safely eject the USB pendrive.