NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Pixeltje
Aug 31, 2011Aspirant
SSH on NV+
Hi,
Since i can't find any topic related to the " enable Root SSH addon" i'll give it a shot here;
I've installed the addon on my NV+ to figure out why transfer rates are so low (tried to use 'top' command, but it doesn't work). Connecting through SSH all works just fine, but since the command I want to use doesn't work (for no reason, it seems) i'd like to delete it. There is, so it seems, no way to do this using the interface of my readynas. The addon isn't listed in the 'installed addons' page, and uploading the .bin file for the second time doesn't do the trick.
Anyone here who can help me on this? I'd like to use NTOP for showing CPU load and transfer rates and all, but that won't work through SSH 'cause the other SSH plugin is (appearantly) locking files when in use. Since I can neither stop or delete this plugin, it is in use all the time.
Please help me, i'm quite stuck on this one!
Since i can't find any topic related to the " enable Root SSH addon" i'll give it a shot here;
I've installed the addon on my NV+ to figure out why transfer rates are so low (tried to use 'top' command, but it doesn't work). Connecting through SSH all works just fine, but since the command I want to use doesn't work (for no reason, it seems) i'd like to delete it. There is, so it seems, no way to do this using the interface of my readynas. The addon isn't listed in the 'installed addons' page, and uploading the .bin file for the second time doesn't do the trick.
Anyone here who can help me on this? I'd like to use NTOP for showing CPU load and transfer rates and all, but that won't work through SSH 'cause the other SSH plugin is (appearantly) locking files when in use. Since I can neither stop or delete this plugin, it is in use all the time.
Please help me, i'm quite stuck on this one!
14 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredThe EnableRootSSH add-on is not a toggle add-on. It enables SSH on the unit. The way to disable it would be to do a factory reset (wipes all data, settings, everything). This will restore full software support.
If you login to SSH you can use the "top" command to monitor CPU usage. - PixeltjeAspirant
mdgm wrote: The EnableRootSSH add-on is not a toggle add-on. It enables SSH on the unit. The way to disable it would be to do a factory reset (wipes all data, settings, everything). This will restore full software support.
If you login to SSH you can use the "top" command to monitor CPU usage.
Thanks for your quick reply!
The problem is, when I type "top" while connected through SSH (terminal, OSX lion) it replys with an error (thought it was 256) telling me: "Unknown terminal type".. - mdgm-ntgrNETGEAR Employee RetiredI'm running RAIDiator 4.1.8 beta (not sure if that makes a difference) and it works fine for me with my Macs running Mac OS X Lion.
What version of RAIDiator are you running? - PixeltjeAspirant4.1.8 T9 beta..
Don't really understand the error though, the NAS just reply s to a command, regardless what client is sending it, right? - mdgm-ntgrNETGEAR Employee RetiredYou're connecting from a Mac to a heavily customised Linux machine. The Mac may be expecting things that aren't there.
You could try a OS/firmware re-install and see if that fixes it: http://www.readynas.com/kb/faq/boot/how_do_i_use_the_boot_menu
A OS/firmware re-install resets the 'root' and 'admin' passwords to default. - PixeltjeAspirantAs far as i know, it's the NAS that is sending the error, not the mac.. sme commands do work, like "Uptime", which gives a brief insight in CPU usage, but isn't as complete as the "top" command.
Thanks for the link, the page states that some settings may become undone, like admin password, does it also deletes all preferences regarding shares (AFP/CIFS/FTP settings) and such? - mdgm-ntgrNETGEAR Employee RetiredPreferences remain mostly intact. The AFP/CIFS/FTP settings are retained.
The network settings are reset to receive an IP address via DHCP. A firmware re-install is useful if you think something on the OS has got corrupt or you can't access the NAS (e.g. forgot admin password or made a mistake on configuring the network settings). - PixeltjeAspirantSo it won't be a problem to try this then? NAS already gets a (fixed) ip from the router, so no worries there, and password can be changed :)
I'll give it a shot when I get home tonight, thanks for the info, I'll post an update here soon :) - mdgm-ntgrNETGEAR Employee RetiredIt won't be a problem to try it. Any settings that are changed are those where an incorrect setting could cause you to lose access to the ReadyNAS and can easily be changed back.
'admin' password can be changed using Frontview.
'root' password can be easily changed using SSH:
MDGMs-macbook:~ MDGM$ ssh root@ip.address.of.nas
root@ip.address.of.nas's password:
Linux MDGM-NAS 2.6.17.8ReadyNAS #1 Tue Jun 9 18:34:15 PDT 2009 padre unknown
MDGM-NAS:~# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully - PixeltjeAspirantThanks!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!