Question to Readynas Advanced users - develpment environment

A nice, warm, and cozy place for all third-party developers to congregate.

Question to Readynas Advanced users - develpment environment

Postby osomim » Thu Jun 24, 2010 2:45 pm

All,

I have a question to the advanced ReadyNAS users/developers.

I would like to setup a development environment on my ReadyNAS NV+ with 4.1.6 fw.

What should be the contents of my /etc/apt/sources.list ?

and what are the apt-get commands to setup the development environment?

Thanks in advance,

osomim
osomim
ReadyNAS Newbie
 
Posts: 38
Joined: Mon Feb 04, 2008 4:32 am
ReadyNAS: NV+

Re: Question to Readynas Advanced users - develpment environ

Postby chirpa » Thu Jun 24, 2010 2:50 pm

Use the APT add-on to install apt-get, then use 'apt-get install build-essential'.
User avatar
chirpa
Jedi Council Alumni
 
Posts: 15513
Joined: Mon Sep 24, 2007 11:52 am
Location: San Jose, CA
ReadyNAS: Repertoire

Re: Question to Readynas Advanced users - develpment environ

Postby osomim » Thu Jun 24, 2010 11:40 pm

Hi chirpa,

Thanks for the hints.

I installed APT addon from http://www.readynas.com/download/addons ... PT_1.0.bin

However, when running "apt-get install build-essential" I get a "E: Couldn't find package build-essential" message.

What exactly should be the contents of /etc/apt/sources.list ?

Thanks,

osomim
osomim
ReadyNAS Newbie
 
Posts: 38
Joined: Mon Feb 04, 2008 4:32 am
ReadyNAS: NV+

Re: Question to Readynas Advanced users - develpment environ

Postby mdgm » Thu Jun 24, 2010 11:50 pm

Not sure if this is still correct, but this is what super-poussin used to use (If it doesn't work you could ask him what he uses now):
super-poussin wrote:
Code: Select all
r2-d2:~# cat /etc/apt/sources.list
deb http://www.infrant.com/packages readynas/

deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free

deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free

deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28607
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312

Re: Question to Readynas Advanced users - develpment environ

Postby osomim » Fri Jun 25, 2010 12:09 am

Thanks mdgm,

Even with that sources.list I still get:

W: You may want to run apt-get update to correct these problems
E: Couldn't find package build-essential

Should I run the apt-get update command or can that have negative effects?

In parallel I can still try to get in touch with super-poussin and ask him to send his sources.list my way.

Thanks,

osomim
osomim
ReadyNAS Newbie
 
Posts: 38
Joined: Mon Feb 04, 2008 4:32 am
ReadyNAS: NV+

Re: Question to Readynas Advanced users - develpment environ

Postby mdgm » Fri Jun 25, 2010 12:14 am

osomim wrote:Should I run the apt-get update command or can that have negative effects?

Yes that's fine. Just don't do apt-get upgrade (that can be destructive). apt-get update is fine. apt-get update basically updates the apt to use your new sources list I think. Whereas apt-get upgrade looks for newer versions of stuff and installs it (apt-get upgrade has been known to break stuff e.g. frontview).

So e.g. do
Code: Select all
apt-get update && apt-get install build-essential

osomim wrote:In parallel I can still try to get in touch with super-poussin and ask him to send his sources.list my way.

It probably is fairly similar to the list I found of his using a quick google search, but yes you could ask him if his current list is any different.
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28607
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312

Re: Question to Readynas Advanced users - develpment environ

Postby stefhf » Tue Sep 21, 2010 4:10 pm

How 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.
stefhf
ReadyNAS Newbie
 
Posts: 17
Joined: Sun Jul 04, 2010 4:53 am
ReadyNAS: NVX

Re: Question to Readynas Advanced users - develpment environ

Postby mdgm » Tue Sep 21, 2010 5:02 pm

The NVX is on the x86 platform so this question really should be in another thread.

apt-get is already installed on the NVX. So you just need to update to the latest firmware and install the x86 EnableRootSSH add-on (if not already) from http://www.readynas.com/addons. Username for SSH is 'root' and password is initially set to the admin password.

So you could then go straight to the apt-get command.

You may also find the GPL resources useful: http://www.readynas.com/gpl
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28607
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312

Re: Question to Readynas Advanced users - develpment environ

Postby stefhf » Wed Sep 22, 2010 2:55 am

Thanks for the reply..I'm not sure which thread i should have posted then? I mean after all this is the ReadyNAS Developers Network forum and a NVX is a ReadyNAS too isn't it?
stefhf
ReadyNAS Newbie
 
Posts: 17
Joined: Sun Jul 04, 2010 4:53 am
ReadyNAS: NVX

Re: Question to Readynas Advanced users - develpment environ

Postby mdgm » Wed Sep 22, 2010 3:12 am

Right forum, wrong thread. If you couldn't find a thread for your platform you should have started a new one.

The Sparc ReadyNAS (have Infrant Sparc processor) use 4.1.x firmware. Currently the Duo and NV+ are sold. Older models include the X6, 600, 1000S, Repertoire, 1100, NV, to name a few.
The x86 ReadyNAS (have Intel x86/x64 processor) use 4.2.x firmware. x86 ReadyNAS currently include the NVX, Ultra, Pro, 2100, 3200, 3100 and 4200. All new ReadyNAS models introduced going forward will likely be x86.

Frontview is deliberately designed to be the same on both, but under the hood they are very different.
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28607
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312


Return to ReadyNAS Developers Network



Who is online

Users browsing this forum: No registered users and 4 guests