NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Skywalker
Dec 13, 2007NETGEAR Expert
Getting started How-To
Requirements:
1) RAIDiator-4.00c1-p2 or later.
2) The APT addon. Install it using the Frontview web UI under System -> Update -> Local Update.
3) The EnableRootSSH addon. Again, install using the Frontview web UI under System -> Update -> Local Update. This will allow you to SSH in to the NAS and bring up a shell command prompt.
Now what?
After those requirements are met, you should be able to run the standard Debian command "apt-get" to download and install packages for everything you need for development, including the headers for the non-standard packages used for the ReadyNAS.
Examples:
# apt-get update
# apt-get install libc6-dev
# apt-get install gcc
# apt-get install gdb
# apt-get install libtag1-dev
# apt-get install uuid-dev
Compiling natively on the ReadyNAS is slow. How about a cross-compiler?
You can grab a tarball of a cross-compiler to compile using an x86 system from here. It includes gcc, g++, and development headers, for use on Linux-based systems. Extract the tarball from your root directory to ensure things are placed in the correct path.
WARNING!
Please note that you can get your ReadyNAS into peril easily by overriding some of the system libraries and utilities. Do not do your development on a system you don't have a backup of as you may end up re-installing the firmware or worse yet, doing a factory default.
1) RAIDiator-4.00c1-p2 or later.
2) The APT addon. Install it using the Frontview web UI under System -> Update -> Local Update.
3) The EnableRootSSH addon. Again, install using the Frontview web UI under System -> Update -> Local Update. This will allow you to SSH in to the NAS and bring up a shell command prompt.
Now what?
After those requirements are met, you should be able to run the standard Debian command "apt-get" to download and install packages for everything you need for development, including the headers for the non-standard packages used for the ReadyNAS.
Examples:
# apt-get update
# apt-get install libc6-dev
# apt-get install gcc
# apt-get install gdb
# apt-get install libtag1-dev
# apt-get install uuid-dev
Compiling natively on the ReadyNAS is slow. How about a cross-compiler?
You can grab a tarball of a cross-compiler to compile using an x86 system from here. It includes gcc, g++, and development headers, for use on Linux-based systems. Extract the tarball from your root directory to ensure things are placed in the correct path.
WARNING!
Please note that you can get your ReadyNAS into peril easily by overriding some of the system libraries and utilities. Do not do your development on a system you don't have a backup of as you may end up re-installing the firmware or worse yet, doing a factory default.
129 Replies
Replies have been turned off for this discussion
- riplattAspirantOK Done and all looks like its working, so thank you for your help
Regards
Rodney - pinkbitsAspirantHi there,
I just purchased a pro, updated it to the latest (4.2.9), and I'm trying to install the apt-get addon listed on the start of this thread.
Unfortunately it's saying that it's an invalid image.
Can someone provide me with an alternate link?
Thanks - riplattAspirantI may be wrong but i think all you need is the EnableSSH Add-on From http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin
Then as found from http://www.readynas.com/forum/viewtopic.php?f=36&t=38990&hilit=EnableRootSSH and Quoting super-poussin
first downlaod it again
2d reboot the unit
3d try another browser like FF instead of chrome, or IE8 or safari
Then once SSH is enabled just runapt-get update
from your pro
Hope That Helps - pinkbitsAspirantSweet, that worked.
Thanks for the help :) - efalskenAspirantI could have sworn there used to be an /etc/init.d/frontview restart command. Where'd it go? Or what is the equivalent? I've gotten into a few situations lately where frontview stopped responding and running 'top' showed no activity and no apache.
- super_poussinVirtuosoapache-ssl -f /etc/frontview/apache/httpd.conf
- efalskenAspirantI'm cross-posting this from WhoCares? for easy reference, since it is more accurate:
Start FrontView (Apache):
apache-ssl -f /etc/frontview/apache/httpd.conf -k start
Stop:
apache-ssl -f /etc/frontview/apache/httpd.conf -k stop
or
apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful-stop
Restart:
apache-ssl -f /etc/frontview/apache/httpd.conf -k restart
or
apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful - efalskenAspirantAre the "development environment" instructions here http://www.readynas.com/?p=145 the same on the current Pro with Frontview 4.2.9? I'm having a lot of trouble compiling the GPL code.
- chirpaLuminary'apt-get install build-essential' is better, loads all compiling tools generally needed.
- stefhfAspirantHow can i set up such a development environment on my ReadyNAS NVX?
http://www.readynas.com/download/addons/4.00/APT_1.0.bin doesnt seem to work as I get an invalid image error uploading.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!