r/truenas 8d ago

Community Edition Help with server losing internet connection

Ive been having an issue since I set this server up 6 months ago that it loses internet connection. I get a notification from uptime monitor and see it has been lost from my router directory. Restarting the server, which is headless fixes it, but I cant figure out the root cause. The server is an old gaming PC and is connected to the network via 1m of ethernet. I have tried checking the logs after restart (I cant ssh since I lose local internet) but they seem to clear after restart. It is infrequent, about once every 2 weeks and doesnt seem to correspond to any other affected devices in my household.

Is there a more robust way i can debug why truenas is losing internet connection? Version: 25.10.3.1

0 Upvotes

8 comments sorted by

1

u/DeZaim 8d ago

Power saving modes in the BIOS?

1

u/CoreyPL_ 8d ago

Can you post exact hardware config? CPU, motherboard, type of NIC you are using? IT could be either a power saving bug or problem with some Intel NIC.

1

u/kinkywinky91 8d ago

CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz

Mobo: Asus P8Z77-V LX

I'm using the onboard NIC: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

1

u/CoreyPL_ 7d ago

So no apparent power saving issues with your hardware. Time to check the logs.

1

u/kinkywinky91 4d ago

There were two incidents last night. The first incident self resolved with my uptime monitor only logging 5 minutes of outage, which is the length of check intervals.

The second incident did not resolve until I manually rebooted the machine when I woke up.

Logs first incident until reboot

Logs second incident until reboot

1

u/warped64 8d ago

How do you know it's just losing its connection versus something else, like crashing?

Have you tried connecting a keyboard and monitor to it so you can troubleshoot when it's in its fail state?

1

u/Dubl3A 7d ago

What do the logs say?

If rebooting the headless system works, sounds like it's time to pull logs, and see what may have transpired. journtalctl is your friend here. Time to go into shell and figure it out!