If you can now access the GUI, go to Settings > Network Settings .
If nothing works—if your USB drive is corrupted or you deleted the wrong file—you can install a fresh copy of Unraid on a new USB drive, but keep your old config. unraid reset network settings
If the server will not boot or the console is not responding, you can edit the USB flash drive directly from another computer. Shut down the Unraid server. If you can now access the GUI, go
Use the "Flash Backup" feature in Unraid (Main > Boot Device > Flash Backup). If you ever completely destroy the USB, you can restore everything—including your proper network settings. Shut down the Unraid server
Instead of manually assigning a static IP inside Unraid (which can conflict or break if you change subnets), leave Unraid on DHCP. Go to your router's settings instead and assign a "Static DHCP Lease" or "IP Reservation" to the server’s MAC address.
cp /boot/config/network.cfg /boot/config/network.cfg.good
Method 1: Resetting Network via network.cfg (The Recommended Approach)