Can't connect to Truenas Server aside from GUI after switching power cables

Super beginner here when it comes to servers/linux stuff, I tried to add as much info as I could. I am having issues connecting to my truenas after I switched out my iec cable for a different one. When I try to connect from either device, I get the error “The network path was not found”. When I shut down the server, i see that it is not visible in the Network tab for Windows, and when it’s on, I see it, so I know it’s at least… visible.

My setup is as follows: Ethernet to Switch. Switch Ethernet port 1 - Truenas Server, port 2 Windows 11 desktop.

Things I can do/have done:

• I can access the gui through the web browser. (IP address is within the range of the IP Distribution provided by my ISP, Optimum.

• I tried connecting to the truenas via my windows 11 desktop and my MacBook pro (via Wi-Fi, but can do ethernet if needed), both devices I was able to connect and transfer files to prior to the iec cable swap.

• I pinged the ip address of the server via my windows desktop and everything came over correct (it sent 4 pings, it received 4, and there were no displayed errors.

• I unplugged the ethernet cable going between the truenas and the switch

• Restarted truenas server, also have shutdown and rebooted.

• Tried to renew DHCP lease and it wasn’t working.

When I go into the Network Configuration in the TrueNas, the hostname and domain are populated, but the remaining 5 fields are all empty string. I unfortunately didn’t look in this field when the server was running to see what should be in these fields, if anything.

What steps do I take to resolve this? Is there a field that’s blank that shouldn’t be so I can connect back into the server? I reached out to Optimum to see if I could have the capability to manually assign an IP and since I’m using their router, the answer was no.

I truly appreciate all the assistance on resolving this. Thanks!

Specs:

Truenas Scale 25.10.2.1

i7 6700k

32gb DDR 4 RAM

Gigabyte Z170x Ud3 Motherboard

Corsair CX 500 PSU

Look in Global Configuratuion>Settings and ensure that “Default Gateway” has your router address listed as the IPV4 Default Gateway

Hi Redcoat! Thanks for responding, I checked and the the IPV4 Default Gateway is set as you recommended. I confirm the address by logging into my ISP account and verifying the LAN gateway IP.

Still not resolved.

EDIT: I should have asked this way: From what device are you making this access? Is it over your network or a monitor on the NAS machine itself?

If you are in the GUI. can you see your share(s) on the STORAGE page?

I resolved the issue. I was accessing through my Windows Desktop via the truenas GUI. It’s over the network (but I also can access via the Nas Machine itself if needed).

The solution was that after the reset, for whatever reason, I had to go to System → Services and make sure SMB was turned on. It was on before, and it was on after restarts of the server, prior to swapping out the IEC cables. Regardless, I set the settings how they should be and I can access the server again.

Glad you solved it! Good job.