Okay, so some background info: We have a linux server in our data closet which we all connect to over the network to access files. File sharing was set up with SAMBA. I also set up SSH with PuTTY to remote into the terminal. And I also have VNC Viewer to remotely connect to the Ubuntu Desktop. Also had Ajenti set up for it.
Previously all 4 ways of connecting to the server worked.
Today, someone reset the power in the data closet because something wasn't working for them (not really sure what). This reset the power to everything including router and the server, etc...
I don't think rebooting the server alone should have affected any of the above services... considering I'm certain I rebooted the server a couple times while setting all that up.
This is where things get weird... So the connection to the server is super faulty right now but not totally gone... When I try to connect to the server any of the 4 ways I mentioned(SAMBA fileshare, PuTTY, VNC & Ajenti), I'll get some kind of error. However, randomly, for short increments of time, the connection will be restored and working exactly how it's supposed to be on all or some.. it truly is random, sometimes i can connect to the fileshare and VNC remote session for a minute but can't SSH. I'll also get different errors trying to use the same program, seems to be nonsensical... Any time I look up a fix for each service individually, the fixes are too closely related to the software rather than the network connection to it.
I can Ping my Ubuntu server just fine..
My Ubuntu server shows up under NETWORK in windows explorer although I can't access it.. which probably gave me the best piece of information I'll need to solve this:
'The device or resource is not set up to accept connections on port "the file and printer sharing (SMB)"'
I've researched the error but I couldn't find a viable solution for my setup. I'm lost, i feel like this should be a super simple solution but I've been at it for hours now. I've looked at the services above, they're all running (maybe another service turned off after reboot that is essential?). I've restarted each of them.. I tried rebooting the server again... checked my smbd.conf file to make sure it hadn't reverted back to defaults..
This is frustrating because everything appears to be the exact way it's supposed to be and it should work. ...and it DOES work... for like a minute.. i don't know. any help would be appreciated.
Starting to think it has to be a Network Card issue or something. Based on the random nature of my issue. On my Ubuntu Machine, I ran a couple internet speed tests, they'd either not complete due to an "issue with the network" or complete really sluggishly although it would reveal the correct download and upload speeds which are fast..