Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: SSH on NV+
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
02:15 AM
2011-08-31
02:15 AM
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!
Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
02:46 AM
2011-08-31
02:46 AM
Re: SSH on NV+
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.
If you login to SSH you can use the "top" command to monitor CPU usage.
Message 2 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
03:00 AM
2011-08-31
03:00 AM
Re: SSH on NV+
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"..
Message 3 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
03:03 AM
2011-08-31
03:03 AM
Re: SSH on NV+
I'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?
What version of RAIDiator are you running?
Message 4 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
03:57 AM
2011-08-31
03:57 AM
Re: SSH on NV+
4.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?
Don't really understand the error though, the NAS just reply s to a command, regardless what client is sending it, right?
Message 5 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
04:00 AM
2011-08-31
04:00 AM
Re: SSH on NV+
You'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.
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.
Message 6 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
04:14 AM
2011-08-31
04:14 AM
Re: SSH on NV+
As 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?
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?
Message 7 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
04:23 AM
2011-08-31
04:23 AM
Re: SSH on NV+
Preferences 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).
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).
Message 8 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
04:43 AM
2011-08-31
04:43 AM
Re: SSH on NV+
So 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 🙂
I'll give it a shot when I get home tonight, thanks for the info, I'll post an update here soon 🙂
Message 9 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
04:56 AM
2011-08-31
04:56 AM
Re: SSH on NV+
It 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:
'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
Message 10 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
05:58 AM
2011-08-31
05:58 AM
SSH on NV+
Sorry, just saw this topic. For the "Unknown terminal type" error, there's two ways to fix that:
1) Change the terminal type of OS X terminal app to "xterm" or
2) when connected through SSH issue the command "export TERM=xterm"
While the first solution will offer a permanent fix, the second one has to be done on every new session. The main reason for the problem is that OS X terminal by default uses a terminal type of "xterm-color" which isn't known by all Linux distribution ( and neither on Solaris for that matter). Thus they fall back to a very lowtech terminal type which explains your problems with the display of some command line applications.
-Stefa
1) Change the terminal type of OS X terminal app to "xterm" or
2) when connected through SSH issue the command "export TERM=xterm"
While the first solution will offer a permanent fix, the second one has to be done on every new session. The main reason for the problem is that OS X terminal by default uses a terminal type of "xterm-color" which isn't known by all Linux distribution ( and neither on Solaris for that matter). Thus they fall back to a very lowtech terminal type which explains your problems with the display of some command line applications.
-Stefa
Message 12 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
06:10 AM
2011-08-31
06:10 AM
Re: SSH on NV+
Nice one! Going To try that prior to reinstalling the firmware, thanks!
Message 13 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
12:41 PM
2011-08-31
12:41 PM
Re: SSH on NV+
Succes! tried the " export TERM=xterm" command, and it works just fine! Thanks!
Message 14 of 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-31
02:28 PM