What if you deleted the files, rebooted, but still cannot get an IP address? Try this:
Once you have regained access, implement these safeguards:
If you can’t get any console access, pull the USB drive and use another computer:
dhcp.cfg – not always present, but if there, remove it.The server will now use default network settings (DHCP, eth0 as primary).
| Problem | Solution | Files Involved |
| :--- | :--- | :--- |
| WebGUI unreachable after IP change | Delete network.cfg from USB on another PC | /boot/config/network.cfg |
| NIC hardware changed (MAC mismatch) | Delete network-rules.cfg | /boot/config/network-rules.cfg |
| Complete lockout, no local console | Remove USB, delete both CFG files on another computer | Both files above |
| Fresh install but keep disk config | Delete only network CFGs from existing /config folder | Both files above |
| Need temporary network to rescue data | Boot Safe Mode, remove files, restart emhttp | N/A | unraid reset network settings install
IFNAME[0]="eth0"
MAC[0]="00:11:22:33:44:55" # replace with your NIC MAC (optional)
NM_CONTROLLED="no"
USE_DHCP="yes"
IPADDR="0.0.0.0"
GATEWAY="0.0.0.0"
DNS_SERVER="0.0.0.0"
Save as /config/network.cfg.After a hardware change, your NIC might be eth1 instead of eth0. Run:
ls /sys/class/net/
If you see eth1 (but not eth0), edit the network-rules file manually:
nano /boot/config/network-rules.cfg
Remap the MAC address to eth0, then reboot.
To reset your Unraid network settings to the default state, you must delete the configuration file from your boot flash drive. This forces Unraid to regenerate a standard DHCP configuration upon the next boot. The Direct Fix What if you deleted the files, rebooted, but
The network settings are stored in a single file on your USB boot drive:/boot/config/network.cfg Step-by-Step Reset Procedure Method 1: Using a different computer (Recommended) Shutdown your Unraid server. Remove the USB flash drive. Plug the USB into a PC or Mac. Navigate to the config folder on the drive. Delete (or rename to .bak) the file named network.cfg. Eject the drive and plug it back into the server. Boot the server; it will now request a new IP via DHCP. Method 2: Via Terminal (If you have local access) If you have a monitor and keyboard attached to the server: Log in at the command prompt (usually root). Type: rm /boot/config/network.cfg Type: reboot Important Considerations
Static IPs: Any custom static IP you previously set will be lost.
Bonding/Bridging: Settings for LACP, eth0, or custom bridges (br0) will reset to defaults.
Access: After rebooting, check your router’s client list to find the new IP address assigned to the server. If you can’t get any console access, pull
WebGUI: Use the new IP or http://tower.local (if using the default hostname) to log back in.
📍 Key Point: Deleting network.cfg only resets the connection settings; it does not touch your data, plugins, or Docker configurations. If you'd like, let me know: If you are unable to find the server's new IP If you are trying to set up a specific VLAN or Bond If you are locked out of the WebGUI even after a reset
The story of resetting Unraid's network settings is usually a tale of being "locked out." Whether you accidentally set a static IP that conflicts with another device or moved your server to a new router, the result is the same: the WebUI won't load, and you're stuck looking at a blinking terminal cursor Here is how you "rewrite" that story to get back in. The Problem: The Invisible Server You just finished a new install or a network move. You type
Here’s a helpful article on resetting network settings in Unraid, especially useful if you’ve changed something that broke access to the web GUI or if you’re moving the USB drive to different hardware.