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
- stefhfAspirantThank you for the quick support all the time. Off-topic: you guys maybe have some irc channel somewhere where ReadyNAS issues are discussed in real time?
apt-key update didn't help ;-(
ReadyNAS:/# apt-key update
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed
gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: Total number processed: 6
gpg: unchanged: 6 - sphardy1ApprenticeThen I don't know. I don't remember hitting this issue myself, but it's possible I may have just approved installing he packages without authentication. Either do that, or you'll need to wait for someone from Netgear to comment (or someone more knowledgeable than me)
- stefhfAspirantThanks for your effort and time. Can someone else maybe answer my problem?
- sphardy1ApprenticeI'd recommend you start a new thread - make sure you post everything you've done
- dsm1212ApprenticeHelp, I'm stumped. New Pro6. First time build environment install. Trying libc6-dev directly gives the same error. Any suggestions? Should I do "apt-get -f install libc6-dev" ?
-steve
warehouse6:~# cat /etc/apt/sources.list
deb http://www.readynas.com/packages 4.2.18/
deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian etch non-free
warehouse6:~# apt-get update
Ign http://www.readynas.com 4.2.18/ Release.gpg
Ign http://www.readynas.com 4.2.18/ Release
Ign http://www.readynas.com 4.2.18/ Packages/DiffIndex
Get:1 http://archive.debian.org etch Release.gpg [1033B]
Ign http://www.readynas.com 4.2.18/ Packages
Hit http://archive.debian.org etch Release
Hit http://www.readynas.com 4.2.18/ Packages
Ign http://archive.debian.org etch/main Packages/DiffIndex
Ign http://archive.debian.org etch/non-free Packages/DiffIndex
Hit http://archive.debian.org etch/main Packages
Hit http://archive.debian.org etch/non-free Packages
Fetched 1B in 2s (0B/s)
Reading package lists... Done
warehouse6:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: gcc (>= 4:4.1.1) but it is not going to be installed
Depends: g++ (>= 4:4.1.1) but it is not going to be installed
Depends: make but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
libfontconfig1: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is to be installed
Depends: fontconfig-config (= 2.6.0-3) but 2.4.2-1.2 is to be installed
tonido: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is to be installed
Depends: fontconfig (>= 2.4.2-1.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
warehouse6:~# - dsm1212ApprenticeIt seems that tonido gets install with two dependency problems. Uninstalling that cleaned things up. Afterwards I reinstalled tonido and again apt-get check returns:
warehouse6:/home# apt-get check
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libfontconfig1: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is installed
Depends: fontconfig-config (= 2.6.0-3) but 2.4.2-1.2 is installed
tonido: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is installed
Depends: fontconfig (>= 2.4.2-1.2) but it is not installed
E: Unmet dependencies. Try using -f.
But I did get installed so I think I've got the tools now.
BTW I think that the readnas 4.2.18 repository is missing some keys. apt-key update and apt-get update still left me without the full set of keys such that the libraries being pulled from there had to be accepted as unauthenticated. I'll post a note about tonido in the addons conference.
thanks,
steve super-poussin wrote: I also notice :
.............. <snip> ...............
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
Got a slight issue that I would appreciated some guidance on please. Pretty much the same error as mentioned here by S_P.
I'm getting a "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" error message appear, when trying to run apt-get update.
Apt-get then tells me to run apt-get update to help solve the problem! (Gotta love errors like that.)
Anyway, apt-key update doesn't help.
Is there likely to be an issue with my etc/apt/source.list ? (Can't check it right now.) What should the sources list contain?- chirpaLuminaryNext release (4.2.20) has signed keys for secure APT usage.
- melleinAspirantHello,
I'm getting the same error when I run "apt-get update":
W: GPG error: http://www.readynas.com 4.2.20/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7F02108D553259A
W: GPG error: http://www.readynas.com readynas-x86/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7F02108D553259A
W: GPG error: http://archive.canonical.com lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: You may want to run apt-get update to correct these problems
My /etc/apt/sources.list file is this:
deb http://www.readynas.com/packages 4.2.20/
deb http://archive.debian.org/debian etch main
deb http://www.readynas.com/packages readynas-x86/
deb http://archive.canonical.com/ lucid partner
# deb http://mirrors.kernel.org/ubuntu/ubuntu dapper-backports main multiverse
I've tried running this:
gpg --keyserver keyserver.ubuntu.com --recv 40976EAF437D05B5
As well as:
apt-get -f install
All with no effect. Please advise. - melleinAspirantplease note my sources.list file is pointing to 4.2.20.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!