I have a Samba NAS that I cannot connect to using UNC paths or drive
mapping, and I cannot access the built in web application. But I can
ping the device by it’s IP address as well as telnet into it. Is it
possible to reboot the device over telnet?
Generally, what you are describing as a “Samba NAS” is simply a Linux box of some kind running some minimal OS fine-tuned to be a Samba share. So on a Linux box you could reboot the system by using the following command:
sudo shutdown -r now
Or possibly use that same command, but without sudo
like this:
shutdown -r now
But on some embedded systems—such as those using BusyBox—using this command would work:
system reboot
But without knowing the exact make/model of the NAS in question, it’s hard to say what the exact command should be.
Also, you would need to have a console/terminal session to the device to actually run those commands. If you are trying to telnet into 80
, 443
, 139
and 8888
and running commands, that won’t work. When you telnet to ports like that you are just making a protocol connection to whatever service might be running on that port. And if none of them are running a console/terminal session the commands won’t work since ports 80
, 443
and 8888
are all web services ports and port 139
is simply a NetBIOS port.
So far that's the only port I've tried that I cannot telnet to. – Brian – 2015-03-23T22:46:51.253