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
- avpman1AspirantGetting an error trying to install libc6-dev:
nas1:/# apt-get install lib6-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package libc6 needs to be reinstalled, but I can't find an archive for it.
Any ideas? - SkywalkerNETGEAR ExpertAre you running T38? A 5-second OS reinstall should fix it, or just a forced updated to the T38 firmware.
- avpman1Aspirant
Skywalker wrote: Are you running T38? A 5-second OS reinstall should fix it, or just a forced updated to the T38 firmware.
I'm on RAIDiator 4.00c1-p1 [1.00a037] Can I get a link to T38?
Thanks! - avpman1Aspirant
avpman wrote: Skywalker wrote: Are you running T38? A 5-second OS reinstall should fix it, or just a forced updated to the T38 firmware.
I'm on RAIDiator 4.00c1-p1 [1.00a037] Can I get a link to T38?
Thanks!
Duh me, I just saw it. :oops: - avpman1Aspirant
Skywalker wrote: Are you running T38? A 5-second OS reinstall should fix it, or just a forced updated to the T38 firmware.
Ok, completed the libc6 install. Then tried gcb and got:
nas1:~# apt-get install gcb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package gcb - SkywalkerNETGEAR Expert
avpman wrote: Ok, completed the libc6 install. Then tried gcb and got:
The only thing I could find for gcb is for ham radio. Is that what you're looking for?? - avpman1Aspirant
Skywalker wrote: avpman wrote: Ok, completed the libc6 install. Then tried gcb and got:
The only thing I could find for gcb is for ham radio. Is that what you're looking for??
Sorry, I hit a typo. Corrected it to install gcc and at the end of the install, got:
Setting up cpp-3.3 (3.3.5-13) ...
Setting up cpp (3.3.5-3) ...
Setting up gcc-3.3 (3.3.5-13) ...
Setting up gcc (3.3.5-3) ...
dpkg (subprocess): unable to execute post-installation script: Accessing a corrupted shared library
dpkg: error processing gcc (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
gcc
E: Sub-process /usr/bin/dpkg returned an error code (1)
nas1:~# - svandiveAspirantI have downloaded the t38 code, but my NAS doesn't seem to want to load it. I am going through the Local file Load process just fine, but after the reboot it still shows T27 as the loaded version.
Also when I discover the device using the RAIDar, it constantly says the unit is "Booting" however I can access it via the Web just fine.
P.S. SSH is dead too
any ideas???
P.S.S. I am very excited to see what this group provides / discovers
Thanks...
Scott - svandiveAspirant
svandive wrote: I have downloaded the t38 code, but my NAS doesn't seem to want to load it. I am going through the Local file Load process just fine, but after the reboot it still shows T27 as the loaded version.
Also when I discover the device using the RAIDar, it constantly says the unit is "Booting" however I can access it via the Web just fine.
P.S. SSH is dead too
any ideas???
P.S.S. I am very excited to see what this group provides / discovers
Thanks...
Scott
I figured it...
The issue was the unit wasn't actually rebooting when I was telling it to. Tried a Shutdown via the web and now I am in business.
Scott - btaroliProdigyI'm running T38 (waiting to upgrade to T45 until a long operation finishes and I'll be able to restart without interrupting it) but have been unable to use apt-get to install any of the *-dev packages. The gcc and gdb bits installed w/o any issues.
apt-get install libc6-devReading 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:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge6) but 2.3.2.ds1-22sarge6.infrant1 is to be installed
E: Broken packages
apt-get install libtag1-devReading 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.3.1-1) but 1.4-2bpo2.netgear1 is to be installed
E: Broken packages
apt-get install uuid-devReading 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: libc6-dev but it is not going to be installed or
libc-dev
Depends: libuuid1 (= 1.37-2sarge1) but 1.40.2-1.netgear1 is to be installed
E: Broken packages
I get the impression that there are same or newer versions of vendor specific packages installed, but not apparently what the dependency checks of apt-get are wanting. So before I try and force it, I figured it would be a good idea to check first. :D
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!