
1. When and why
In a network without a DHCP server, the Gateway Module won’t automatically receive an IP address.
To make the PDU accessible for the EnerTree Platform and network management, you can manually assign an IP address.
This can be done easily with a USB stick and a single configuration file that can be reused for multiple PDUs.
Requirements
• The EnerTree Platform is active and reachable on port 80 or 443.
• The Gateway Module PDUs are connected to the same network.
Factory setting
If no DHCP or USB configuration is used, the Gateway Module uses the default IP address 169.254.1.10.
The module does not support automatic link-local addressing.
2. Preparing the USB stick
1. Format an empty USB stick to FAT32.
2. In the root directory, create a file named config.txt.
3. Add the following lines (including the header):
serialnumber;eth0ip4;eth0mask;dhcp_enabled
122345;192.168.9.55;255.255.255.0;0
125121;192.168.9.57;255.255.255.0;1
128438;;;1
Field explanation:
• serialnumber – PDU serial number (required)
• eth0ip4 – IP address (leave blank if DHCP is enabled)
• eth0mask – subnet mask (leave blank if DHCP is enabled)
• dhcp_enabled – 0 = DHCP off (static IP), 1 = DHCP on (required field)
Note: serialnumber and dhcp_enabled must always be filled in.
Leave eth0ip4 and eth0mask blank if dhcp_enabled is 1.
If dhcp_enabled is 0, fill in both.
When the configuration has been applied, the PDU will automatically create a log file on the USB stick showing, for each serial number, whether the configuration was SUCCESS or FAIL, and why.
3. Running the USB configuration
1. Remove the Gateway Module from the PDU.
2. Insert the USB stick with config.txt into one of the module’s USB ports.
3. Reinsert the module into the PDU. The LED ring turns blue.
4. After reading the configuration, the LED ring briefly shows:
• Green → configuration successful
• Red → invalid configuration file
• Orange → no matching serial number found
5. Remove the USB stick.
6. Restart the module: remove it, wait a few seconds, then reattach it.
7. The PDU now has the assigned IP address.
4. After configuration
• Note the assigned IP address and verify that the PDU is reachable on the network.
• Check if the PDU is visible in the EnerTree Platform (port 80 or 443).
| Situation | IP configuration | Comment |
|---|---|---|
| DHCP available | Automatically via DHCP | No action required |
| No DHCP, USB used | Static IP via config.txt | Recommended method |
| No DHCP, no USB | 169.254.1.10 | Only for direct connection |
5. Frequently asked questions
Can I use one file for multiple PDUs?
Yes. Add one line per PDU with the correct serial number. Each module reads only its own line.
What if the LED turns red?
Check the header, field order, and semicolons (;). Review the log file on the USB stick for the specific error.
What does the orange LED mean?
It means no matching serial number was found. Check that the serial number exactly matches the PDU’s label.
Which ports does EnerTree use?
HTTP (80) and HTTPS (443). Ensure these ports are allowed in your network or firewall.
How do I create the config.txt file?
• On Windows, open the USB stick in File Explorer and choose New → Text Document. Name it config.txt and save it in the root directory.
• On a Mac, open the USB stick in Finder, create a new file with TextEdit, select Format → Make Plain Text, and save it as config.txt in the root directory.
Need help? Send an email to support@schleifenbauer.eu
© Schleifenbauer – All rights reserved.