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
- SkywalkerNETGEAR ExpertYou might be okay, but the safest way is just to factory default it. A 5-second OS reinstall can usually get you out of bad situations as well.
- yooden1Aspirant
Skywalker wrote: A 5-second OS reinstall can usually get you out of bad situations as well.
What's a "5-second OS reinstall"? - SkywalkerNETGEAR Expert
- yooden1AspirantThe 5-second reinstall didn't do the trick, dpkg was still confused.
Thanks! - w0lAspirantHi Skywalker,
I had no trouble installing the non-standard packages until I got to uuid-dev........
The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.40.2-1.netgear1) but 1.40.2-1.netgear2 is to be installed
E: Broken packages
I am on RAIDiator 4.01c1-p1
Any thoughts? - SkywalkerNETGEAR ExpertSorry, just forgot to update the packages to match 4.01c1-p1. Try it again after an apt-get update.
- starlanceAspirantHi,
w0l wrote: Hi Skywalker,
I had no trouble installing the non-standard packages until I got to uuid-dev........
The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.40.2-1.netgear1) but 1.40.2-1.netgear2 is to be installed
E: Broken packages
I am on RAIDiator 4.01c1-p1
I have the the opposite dependency problem, which I guess is bec I'm on 4.00c1-p2.
I'm not ready to move to the latest and greatest yet, so any way to solve the following:
The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.40.2-1.netgear2) but 1.40.2-1.netgear1 is to be installed
E: Broken packages
Thanks in advance. - SkywalkerNETGEAR Expert
starlance wrote: The following packages have unmet dependencies:
uuid-dev: Depends: libuuid1 (= 1.40.2-1.netgear2) but 1.40.2-1.netgear1 is to be installed
E: Broken packageswget http://www.infrant.com/packages/4.00c1-p2/uuid-dev_1.2-1.40.2-1.netgear1_sparc.deb
dpkg -i uuid-dev_1.2-1.40.2-1.netgear1_sparc.deb - WhoCares_MentorWith 4.1.3-T120 I get
develnas:~# apt-get install libtag1-dev
[...]
The following packages have unmet dependencies:
libtag1-dev: Depends: libtag1 (= 1.4-2bpo2.netgear1) but 1.4-2bpo2.netgear2 is to be installed
E: Broken packages
So, a pointer to an updated libtag1-dev package would be greatly appreciated ;)
Update: As I just found out, I'd need an updated libssl-dev as well ... any chance?
-Stefan - Chili1AspirantHi!
ReadyNAS Duo: RAIDiator 4.1.3-T120 [1.00a042]
ronas:~# apt-get install libtag1-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:
libtag1-dev: Depends: libtag1 (= 1.4-2bpo2.netgear1) but 1.4-2bpo2.netgear2 is to be installed
E: Broken packages
Any idea?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!