June 28Jun 28 I am unable to access the server after a power outage. The server seems to be setting an IP address that cannot be accessed. I have attached a screenshot here, I am baffled, i just looked up how to check network config. Any ideas on what could be the cause and if there are any commands I should run to set this back to normal?
June 28Jun 28 Community Expert The 169 is a DHCP address, meaning that it was unable to obtain a proper IP address from your router within the set time. When it went searching for IP.
June 28Jun 28 Community Expert Here's some unraid web terminal things to check and double-check...Run these in Unraid terminal:# Show all IPs/interfaces ip -br addr# Show default gateway ip route# Show which gateway the server would use ip route | grep default *Find your main NIC, usually br0, eth0, or bond0. # Replace br0 if your interface is different IFACE=br0 Default should be br0...# Show IP on that interface ip addr show "$IFACE"# Show DHCP lease info if present cat /var/lib/dhcpcd/*.lease 2>/dev/null cat /etc/dhcpcd.duid 2>/dev/null Steps to Release/reacquire DHCP:IFACE=br0This will set the variable for future items targeting the necessary interface. default should be br0...# Drop current DHCP lease dhcpcd -k "$IFACE" # Request a fresh DHCP lease dhcpcd "$IFACE"Verify dhcp data received.# Recheck IP and route ip -br addr ip routePing gateway:GW=$(ip route | awk '/default/ {print $3; exit}') echo "Gateway is: $GW" ping -c 4 "$GW" Ping the Internet IP and DNS:ping -c 4 1.1.1.1 ping -c 4 google.comScript One-shot full check:IFACE=br0 echo "=== IPs ==="; ip -br addr echo "=== Routes ==="; ip route GW=$(ip route | awk '/default/ {print $3; exit}') echo "=== Gateway: $GW ===" ping -c 4 "$GW" echo "=== Internet IP ===" ping -c 4 1.1.1.1 echo "=== DNS ===" ping -c 4 google.comIf DHCP renew fails, restart networking from the Unraid GUI or use:/etc/rc.d/rc.inet1 restartThen recheck:ip -br addr ip route ping -c 4 "$(ip route | awk '/default/ {print $3; exit}')" Edited June 28Jun 28 by bmartino1 added cod blocks... basic linux networking commands for dhcp / IP
June 28Jun 28 Author I have been fumbling around with your instructions not knowing exactly what I am doing but here is a screenshot
June 28Jun 28 Community Expert The server is not getting an IP from the DHCP server, typically your router. Post the diagnostics to see if there's something more visible.
June 28Jun 28 7 hours ago, alitech said:I am unable to access the server after a power outage. The server seems to be setting an IP address that cannot be accessed.I have attached a screenshot here, I am baffled, i just looked up how to check network config. Any ideas on what could be the cause and if there are any commands I should run to set this back to normal?Thats the APIPA Adress range (Automatic Private IP Adressing) - normal, if there is no DHCP-Server...https://www.techtarget.com/whatis/definition/Automatic-Private-IP-Addressing-APIPA Edited June 28Jun 28 by Zonediver
June 28Jun 28 Community Expert 6 hours ago, JorgeB said:The server is not getting an IP from the DHCP server,Try rebooting your DHCP server, likely your router as Jorgeb said. If that doesn't do it, reboot every network device (switch) in between DHCP and your unRAID. Can also assign address manually in unRAID. Be sure to use a valid dns address like 208.67.222.222 or 9.9.9.9 or others.
June 28Jun 28 Community Expert How are you getting these screenshots if your server can't be reached on the network?
June 28Jun 28 Community Expert 4 hours ago, trurl said:How are you getting these screenshots if your server can't be reached on the network?The screenshot and pictures appear to be a QEMU VM spice connection / ipmi connection...
June 28Jun 28 Community Expert 13 hours ago, alitech said:type diagnostic and this will make and add a file onthe usb that you can post to the form for the mod JorgeB to inspect...you typed teh comand worng itsdhcpcdnot dhcp...
June 28Jun 28 Community Expert 1 hour ago, bmartino1 said:type diagnostic and this will make and add a file onthe usb that you can post to the form for the mod JorgeB to inspect...you typed teh comand worng itsdhcpcdYou somehow managed to "correct" someone's typos with 9 of your own, 2 being in the exact commands... Maybe just don't answer. Edited June 28Jun 28 by Kilrah
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.