Noob help - How to install packages

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

karl0190
Posts: 1
Joined: Fri Jun 14, 2013 12:17 pm

Noob help - How to install packages

Post by karl0190 »

Hi to all,

sorry if this is a total noob question, but I'm completely new to OpenWRT/Gargoyle.

I recently installed Gargoyle 1.5.10 on my Netgear WNDR3800 and everything works fine so far. I'm only wondering about "packages" that allow you to add additional features to your device (I hope I got that right). As I'd like to engage a bit more in the topic "custom router firmware" I wanted to give packages a try, but I just cannot find a clue where to get such packages and how to install it. A friend of mine told me, using LuCI you can install them from your web interface, but the Gargoyle web interface only shows me themes and just a handful of other stuff.
So I'm wondering where are the other packages? I was told there should be dozens of them. And how can I install them?
Could it be I'm just to blind or this really a bit confusing?

Thanks in advance for your help and your patience!

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: Noob help - How to install packages

Post by BashfulBladder »

Many of those same packages can be used with Gargoyle (which is running atop of OpenWrt). Unfortunately, there isn't a web interface for adding a myriad of packages - which would require a myriad of webpages for users to interface with.

You can see what is available by opening a ssh session to the router on the command line:

Code: Select all

ssh root@192.168.1.1 [enter password blind]
opkg update
opkg list
For the ar71xx platform, they pretty much mirror this page
http://downloads.openwrt.org/attitude_a ... /packages/
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

nchall
Posts: 31
Joined: Thu Dec 02, 2010 2:42 am

Re: Noob help - How to install packages

Post by nchall »

I'm trying to install the Neorouter server package from here:


http://download.neorouter.com/Downloads ... ar71xx.ipk

It isn't listed in the packages mentioned in the above post, but shouldn't I be able to install it? The package is for the AR71xx router, which my router is, and I'm running Gargoyle based on AA, I believe.

If anyone knows the SSH commands I would type to install I'd appreciate your help.

Thanks.

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Noob help - How to install packages

Post by ericwong »

You can install from an url using opkg rather than from Openwrt repository
http://wiki.openwrt.org/doc/techref/opkg
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

nchall
Posts: 31
Joined: Thu Dec 02, 2010 2:42 am

Re: Noob help - How to install packages

Post by nchall »

When I try and install through opkg I get this error:

opkg install /tmp/nrserver-2.1.1.4300-free-attitude_adjustment-ar71xx
.ipk -d ram
ERROR: No package named nrserver found, try updating your package lists

Any ideas?

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Noob help - How to install packages

Post by ericwong »

nchall wrote:When I try and install through opkg I get this error:

opkg install /tmp/nrserver-2.1.1.4300-free-attitude_adjustment-ar71xx
.ipk -d ram
ERROR: No package named nrserver found, try updating your package lists

Any ideas?
It means the path you specify does not contain the package you are trying to install. Isn't it obvious?
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

nchall
Posts: 31
Joined: Thu Dec 02, 2010 2:42 am

Re: Noob help - How to install packages

Post by nchall »

It does contain the package. I can login with WinSCP and see it in the directory.

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Noob help - How to install packages

Post by ericwong »

nchall wrote:It does contain the package. I can login with WinSCP and see it in the directory.
Well, that can only mean the path you specify is not correct.
You can execute the command when your console is inside tmp folder instead of specifying /tmp/xxx.ipk
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

nchall
Posts: 31
Joined: Thu Dec 02, 2010 2:42 am

Re: Noob help - How to install packages

Post by nchall »

Now getting this error when executing from inside the /tmp directory:

opkg install nrserver-2.1.1.4300-free-attitude_adjustment
ERROR: Specified install destination is not writable, exiting

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Noob help - How to install packages

Post by ericwong »

nchall wrote:Now getting this error when executing from inside the /tmp directory:

opkg install nrserver-2.1.1.4300-free-attitude_adjustment
ERROR: Specified install destination is not writable, exiting
Sorry, can't help you there. Have not had this error before. Check if you have enough space on your ROM left.
But the command you copied seems to be missing some parts.
Shouldn't it be nrserver-2.1.1.4300-free-attitude_adjustment-ar71xx.ipk?
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

Post Reply