Opkg Package Manager - jamesmacwhite/hh70-ee GitHub Wiki

The opkg.conf is broken as the original src path no longer works (HTTP 404).

/etc/opkg.conf

src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/ipq806x/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

The updated path would be: https://archive.openwrt.org/snapshots/trunk/ipq806x/generic/packages.

However trying to use opkg to install additional packages doesn't work very well, as /lib/functions.sh is missing various function calls needed for opkg and the remaining available flash space is very small.

Filesystem                Size      Used Available Use% Mounted on
rootfs                  512.0K    396.0K    116.0K  77% /
/dev/root                 9.0M      9.0M         0 100% /rom
tmpfs                   115.3M    576.0K    114.8M   0% /tmp
/dev/mtdblock10         512.0K    396.0K    116.0K  77% /overlay
overlayfs:/overlay      512.0K    396.0K    116.0K  77% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock12           1.0M    364.0K    660.0K  36% /jrd-resource
//192.168.225.1/shared_rom
                        137.8M     33.7M    104.0M  24% /cache
//192.168.225.1/ipq_res
                          7.3M      4.9M      2.4M  68% /ipq-resource

The only way to run additional binaries on this router would be to statically cross compile them and upload via SCP, however as there is very little space left (only around 100 KB available) you won't be able to fit much more into the flash space.

opkg list-installed

base-files - 151-unknown
bridge - 1.5-2
busybox - 1.22.1-3
chilli - 1.0-1
cifsmount - 5.4-1
common - 2016-11-18
config-manager - 1.0-1
core-app - 1.0-1
ddns-scripts - 1.0.0-22
dnsmasq-dhcpv6 - 2.79-1
dropbear - 2016.74-1
e2fsprogs - 1.42.4-1
easycwmp - 1.5.0
ebtables - 2.0.10-4-1
ebtables-utils - 2.0.10-4-1
ethtool - 3.7-1
fdisk - 2.24.1-1
file - 5.11-1
firewall - 2014-09-19
flock - 2.24.1-1
fota - 1.0-1
fstools - 2015-02-25-4b68e9f9ea894bf58d31e26ca5ed92c81b1a115e
getopt - 2.24.1-1
haserl - 0.9.29-1
i2c-tools - 2013-12-15-1
ip-full - 3.11.0-1
ip6tables - 1.4.21-1
iperf - 2.0.5-1
iptables - 1.4.21-1
iptables-mod-conntrack-extra - 1.4.21-1
iptables-mod-extra - 1.4.21-1
iptables-mod-filter - 1.4.21-1
iptables-mod-ipopt - 1.4.21-1
iwinfo - 47
jshn - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
kernel - 3.14.43-1-493d77f9d3df0c9e9ac770c1c2b4ac2f
kmod-button-hotplug - 3.14.43-3
kmod-crypto-aes - 3.14.43-1
kmod-crypto-core - 3.14.43-1
kmod-crypto-des - 3.14.43-1
kmod-crypto-hash - 3.14.43-1
kmod-crypto-hmac - 3.14.43-1
kmod-crypto-manager - 3.14.43-1
kmod-crypto-md5 - 3.14.43-1
kmod-crypto-misc - 3.14.43-1
kmod-crypto-pcompress - 3.14.43-1
kmod-crypto-qcrypto - 3.14.43-1
kmod-ebtables - 3.14.43-1
kmod-fs-cifs - 3.14.43-1
kmod-fs-msdos - 3.14.43-1
kmod-fs-ntfs - 3.14.43-1
kmod-fs-vfat - 3.14.43-1
kmod-fuse - 3.14.43-1
kmod-ifb - 3.14.43-1
kmod-input-core - 3.14.43-1
kmod-input-evdev - 3.14.43-1
kmod-ip6tables - 3.14.43-1
kmod-ipt-conntrack - 3.14.43-1
kmod-ipt-conntrack-extra - 3.14.43-1
kmod-ipt-core - 3.14.43-1
kmod-ipt-extra - 3.14.43-1
kmod-ipt-filter - 3.14.43-1
kmod-ipt-ipopt - 3.14.43-1
kmod-ipt-nat - 3.14.43-1
kmod-ipt-nathelper - 3.14.43-1
kmod-ipt-nathelper-extra - 3.14.43-1
kmod-ipt-nathelper-rtsp - 3.14.43+2.3-1
kmod-ipv6 - 3.14.43-1
kmod-lib-crc-ccitt - 3.14.43-1
kmod-lib-textsearch - 3.14.43-1
kmod-mii - 3.14.43-1
kmod-nls-base - 3.14.43-1
kmod-nls-cp437 - 3.14.43-1
kmod-nls-iso8859-1 - 3.14.43-1
kmod-nls-utf8 - 3.14.43-1
kmod-ppp - 3.14.43-1
kmod-pppoe - 3.14.43-1
kmod-pppox - 3.14.43-1
kmod-qca-edma - 3.14.43-1
kmod-qca-mcs - 3.14.43+ge3a6b82-dirty-1
kmod-qca-nss-drv - 3.14.43+ge3a6b82-dirty-2
kmod-qca-nss-gmac - 3.14.43+ge3a6b82-dirty-1
kmod-qca-rfs - 3.14.43+ge3a6b82-dirty-1
kmod-qca-ssdk-hnat - 3.14.43+ge3a6b82-dirty-1
kmod-qca-wifi-10.4-unified-profile - 3.14.43+ge3a6b82-dirty-1
kmod-sched - 3.14.43-1
kmod-sched-connmark - 3.14.43-1
kmod-sched-core - 3.14.43-1
kmod-scsi-core - 3.14.43-1
kmod-shortcut-fe - 3.14.43+ge3a6b82-dirty-1
kmod-shortcut-fe-cm - 3.14.43+ge3a6b82-dirty-1
kmod-shortcut-fe-drv - 3.14.43+ge3a6b82-dirty-1
kmod-slhc - 3.14.43-1
kmod-tun - 3.14.43-1
kmod-usb-core - 3.14.43-1
kmod-usb-dwc3 - 3.14.43-1
kmod-usb-dwc3-ipq40xx - 3.14.43-1
kmod-usb-dwc3-qcom - 3.14.43-1
kmod-usb-net - 3.14.43-1
kmod-usb-net-cdc-ether - 3.14.43-1
kmod-usb-net-rndis - 3.14.43-1
kmod-usb-phy-dwc3-ipq40xx - 3.14.43-1
kmod-usb-phy-dwc3-qcom - 3.14.43-1
kmod-usb-printer - 3.14.43-1
kmod-usb-serial - 3.14.43-1
kmod-usb-storage - 3.14.43-1
kmod-usb2 - 3.14.43-1
kmod-usb3 - 3.14.43-1
libblkid - 2.24.1-1
libblobmsg-json - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libc - 0.9.33.2-1
libcurl - 7.36.0-1
libdaemon - 0.14-3
libelf1 - 0.155-1
libext2fs - 1.42.4-1
libgcc - 4.8-linaro-1
libgcrypt - 1.5.3-1
libgpg-error - 1.12-1
libhyficommon - ge3a6b82-dirty-1
libi2c - 2013-12-15-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiwinfo - 47
libiwinfo-lua - 47
libjson-c - 0.11-2
libjson-script - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
liblua - 5.1.5-1
liblzo - 2.06-1
libmagic - 5.11-1
libmicroxml - 2015-03-18-caa8d3e6887f5c70e54df555dd78e4e45cfa74cc
libnfnetlink - 1.0.1-1
libnl - 3.2.21-1
libnl-tiny - 0.1-3
libopenssl - 1.0.2f-1
libpthread - 0.9.33.2-1
libreadline - 6.2-1
librt - 0.9.33.2-1
libsqlite3 - 3071201-1
libstdcpp - 4.8-linaro-1
libubox - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci - 2015-04-09.1-1
libuci-lua - 2015-04-09.1-1
libuuid - 2.24.1-1
libxtables - 1.4.21-1
lua - 5.1.5-1
mcproxy - 1.1.0.y-1
miniupnpd - 1.8.20130426-1
mkdosfs - 3.0.12-1
mtd - 20
mtd-utils - 1.5.0-2
mtd-utils-mkfs.jffs2 - 1.5.0-2
netifd - 2014-09-08-46c569989f984226916fec28dd8ef152a664043e
ntfs-3g - 2011.4.12-1-fuseint
odhcp6c - 2014-12-10-722226c4f1d45c8bf4ac9189523738abcf7d648f
odhcpd - 2014-04-06-fba0952c18b46f9385f43d7f7be2592f076d8402
openssl-util - 1.0.2f-1
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-6
p910nd - 0.95-3
pm-utils - 1.4.1-1
ppp - 2.4.7-2
ppp-mod-pppoe - 2.4.7-2
procd - 2015-01-25-7e6045fe4558e442e97e4a8967f08689d53f2cc4
qca-acfg-10.4 - ge3a6b82-dirty-1
qca-hostap-10.4 - ge3a6b82-dirty-1
qca-hostapd-cli-10.4 - ge3a6b82-dirty-1
qca-mcs-apps - ge3a6b82-dirty-1
qca-spectral-10.4 - ge3a6b82-dirty-1
qca-ssdk-shell - ge3a6b82-dirty-1
qca-thermald-10.4 - ge3a6b82-dirty-1
qca-wifi-fw-hw5-10.4-asic - WLAN.BL.3.2-00099-S-5-1
qca-wpa-cli-10.4 - ge3a6b82-dirty-1
qca-wpa-supplicant-10.4 - ge3a6b82-dirty-1
qca-wpc-10.4 - ge3a6b82-dirty-1
qca-wrapd-10.4 - ge3a6b82-dirty-1
qcmbr-10.4 - ge3a6b82-dirty-1
qos-scripts - 1.2.1-7
quagga - 0.99.21-6
quagga-libzebra - 0.99.21-6
quagga-ripd - 0.99.21-6
quagga-watchquagga - 0.99.21-6
quagga-zebra - 0.99.21-6
radvd - 1.9.1-2
rng-tools - 5-2
rstp - 2011-10-11-434d24bae108dbb21461a13a4abcf014afa8b029
send-data - 1.0-1
shflags - 1.0.4-191
sock-client - 1.0-1
sqlite3-cli - 3071201-1
sqlite3-db - 1.0-1
sshpass - 1.0-1
swconfig - 10
sysstat - 10.1.7-1
tc - 3.11.0-1
tftp-hpa - 0.48-3
timer - 1.0-1
trace-cmd - v2.2.1-1
uboot-envtools - 2013.10-3
uboot-ipq40xx - ge3a6b82-dirty-1
uboot-ipq806x - ge3a6b82-dirty-1
uboot-ipq806x-fwupgrade-tools - ge3a6b82-dirty-1
ubox - 2014-03-27-1d9d2e6ae99c9ba72d1bc40e554d5f422c9b9196
ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci - 2015-04-09.1-1
uclibcxx - 0.2.4-1
unzip - 5.52-1
vsftpd - 3.0.2-3
webs - 2013-09-03-1
wireless-tools - 29-5
xmllib - 1.0-1
zlib - 1.2.8-1