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
- chirpaLuminaryFor future reference, they can also be found here: http://www.readynas.com/?page_id=93
- Ennio1AspirantThanks for the dev links in the first post, they all install fluently on a 4.1.4 firmware ReadyNAS Duo now.
- I'm trying to install a dev environment on my PRO Pioneer, but seem to be running into a problem with this package:
readynaspro:/usr/lib# apt-get install uuid-dev
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.39+1.40-WIP-2006.11.14+dfsg-2etch1) but 1.41.3-1.netgear1 is to be installed
E: Broken packages - jjames1Tutor
ptaylor874 wrote: I'm trying to install a dev environment on my PRO Pioneer, but seem to be running into a problem with this package:
readynaspro:/usr/lib# apt-get install uuid-dev
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.39+1.40-WIP-2006.11.14+dfsg-2etch1) but 1.41.3-1.netgear1 is to be installed
E: Broken packages
I get the same thing on the nvx (firmware 4.2.5) - super_poussinVirtuosoI also notice :
Hit http://ftp.debian.org etch/main Packages
Fetched 68.8kB in 0s (89.9kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://ftp.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems - SkywalkerNETGEAR ExpertThanks for the reminder. Add this line to your /etc/apt/sources.list file:
deb http://www.readynas.com/packages readynas-x86/
That line will be in there in the next release also. - gabriel_hahmannAspirantI'm trying to create an envinment for cross compiling some software to the ReadyNAS Duo but I'm failling.
I've downloaded the cross compiler kit and the glibc from netgear but I cant put it to work.
I'm trying to build rdiffweb and rdiff-backup. Did anybody have compiled those applications before or any other python package and want to share with me? I really dont want to install all building environment in my NAS.
Thanks in advance,
Gabriel. - SkywalkerNETGEAR ExpertHow about this:
apt-get install rdiff-backup
- gabriel_hahmannAspirantOk, you're right but the version available is 0.13.4-5 and the actual stable version of rdiff-backup is 1.2.8, so there is a lot of bug corrections done.
[]'s
Gabriel. - pogacsaAspiranthi,
any jedi's advice how to make "server" side (on NAS) incremental backups (let's say per day)? This rdiff-backup would be nice. Can any of you build a deb for the public?
many thanks
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!