Help to install additional soft

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Help to install additional soft

Post by sp_archer »

Help to install additional soft.
I need some more programs. In particular htop and iftop.


# opkg list | egrep "htop | iftop"
says nothing.

# cat /etc/opkg/distfeeds.conf
says:
---8<---
src/gz openwrt_core http://downloads.openwrt.org/releases/1 ... c/packages
src/gz openwrt_base http://downloads.openwrt.org/releases/1 ... _24kc/base
--->8---

# cat /etc/os-release
says:
---8<---
NAME="OpenWrt"
VERSION="18.06.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 18.06.5"
VERSION_ID="18.06.5"
HOME_URL="http://openwrt.org/"
BUG_URL="http://bugs.openwrt.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r7897-9d401013fc"
LEDE_BOARD="ar71xx/generic"
LEDE_ARCH="mips_24kc"
LEDE_TAINTS="no-all busybox"
LEDE_DEVICE_MANUFACTURER="OpenWrt"
LEDE_DEVICE_MANUFACTURER_URL="http://openwrt.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="OpenWrt 18.06.5 r7897-9d401013fc"
#
--->8---

My router = TP-Link TL-WDR3600 v1
Gargoyle Version = 1.12.0

Which repo should I add to /etc/opkg/distfeeds.conf ?
And how to do it right?

Thanx in advance for answer.

Lantis
Moderator
Posts: 5951
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Help to install additional soft

Post by Lantis »

Code: Select all

src/gz openwrt_core https://downloads.openwrt.org/releases/18.06.5/targets/ar71xx/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base
Change them to HTTPS
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Re: Help to install additional soft

Post by sp_archer »

I discovered

Code: Select all

https://archive.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/
Is it OK to add it to distfeeds.conf?

Will I not break the system?

RomanHK
Posts: 762
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Help to install additional soft

Post by RomanHK »

Try this:

Code: Select all

cat /etc/opkg/distfeeds.conf >> /etc/opkg.conf
gpkg update
gpkg install htop
gpkg install iftop
It works?
Turris Omnia with Gargoyle 1.12.0
Linksys WRT3200ACM with Gargoyle 1.12.0
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Re: Help to install additional soft

Post by sp_archer »

Partially

Code: Select all

# gpkg install htop
ERROR: No package named htop found, try updating your package lists

Code: Select all

# gpkg install iftop
Preparing to install the following packages, which will require 112744 bytes:
        iftop, libpcap

Preparing to install package libpcap...
        Downloading...
        Downloaded libpcap successfully.
        Installing libpcap...
        Successfully installed libpcap.
Preparing to install package iftop...
        Downloading...
        Downloaded iftop successfully.
        Installing iftop...
        Successfully installed iftop.
Installation of packages successful.

RomanHK
Posts: 762
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Help to install additional soft

Post by RomanHK »

so you have iftop.

Enter the result from the command here.

Code: Select all

cat /etc/opkg.conf
Turris Omnia with Gargoyle 1.12.0
Linksys WRT3200ACM with Gargoyle 1.12.0
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Re: Help to install additional soft

Post by sp_archer »

Code: Select all

# cat /etc/opkg.conf
src/gz openwrt_18.06.5_base http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base
src/gz openwrt_18.06.5_packages http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/packages
src/gz openwrt_18.06.5_routing http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/routing
src/gz openwrt_18.06.5_telephony http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/telephony

src/gz gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.12.0/ar71xx/default
src/gz gargoyle_kernel_specific http://www.gargoyle-router.com/packages/gargoyle-1.12.0/ar71xx/default_kernelspecific

dest root /
dest ram /tmp
dest plugin_root /plugin_root
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz openwrt_core https://downloads.openwrt.org/releases/18.06.5/targets/ar71xx/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base
root@Chimera:/etc#

RomanHK
Posts: 762
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Help to install additional soft

Post by RomanHK »

Edit the /etc/opkg.conf file as follows:

Code: Select all

src/gz openwrt_18.06.5_base https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base
src/gz openwrt_18.06.5_packages https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/packages
src/gz openwrt_18.06.5_routing https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/routing
src/gz openwrt_18.06.5_telephony https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/telephony

src/gz gargoyle https://www.gargoyle-router.com/packages/gargoyle-1.12.0/ar71xx/default
src/gz gargoyle_kernel_specific https://www.gargoyle-router.com/packages/gargoyle-1.12.0/ar71xx/default_kernelspecific

dest root /
dest ram /tmp
dest plugin_root /plugin_root
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz openwrt_core https://downloads.openwrt.org/releases/18.06.5/targets/ar71xx/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base
and then again:

Code: Select all

gpkg update
gpkg install htop
EDIT: Wherever http is, it must be https.
Last edited by RomanHK on Mon Nov 09, 2020 11:00 am, edited 1 time in total.
Turris Omnia with Gargoyle 1.12.0
Linksys WRT3200ACM with Gargoyle 1.12.0
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Re: Help to install additional soft

Post by sp_archer »

RomanHK wrote:
Mon Nov 09, 2020 10:43 am
so you have iftop.
certainly
Image

sp_archer
Posts: 14
Joined: Thu Jun 20, 2013 10:44 am

Re: Help to install additional soft

Post by sp_archer »

RomanHK wrote:
Mon Nov 09, 2020 10:58 am
Edit the /etc/opkg.conf file as follows:
Now everythigs is OK.

I also have my favorite tools

Code: Select all

mtr - 0.85+newdns-dd2b75080bc5406ba0b438953b36b72204ba114b-2 - mtr combines the functionality of the 'traceroute' and 'ping'
nano - 5.3-1 - Nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
mc - 4.8.20-2 - GNU Midnight Commander is a visual file manager.
Thanx.

Post Reply