Hey folks,
Been using OpenWRT successfully for about a year now and love it. Recently I've wanted to be able to use typical Linux apps like dig, host, etc from the router itself like any other Linux terminal. However whenever I try to install the respective utility, in this case bind-dig, it fails due to lack of space for related dependencies.
My question really is - how do I make use of what seems to be almost 7Mb of unused space in /tmp for installing packages? I did try adding the following to opkg.conf:
dest test /tmp/pkgs
in order to try to force the package install to /tmp but still the same error:
root@OpenWrt:~# cat /etc/opkg.conf
src/gz snapshots http://downloads.openwrt.org/kamikaze/8 … 4/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /jffs
src X-Wrt http://downloads.x-wrt.org/xwrt/kamikaz … 4/packages
root@OpenWrt:~# echo dest test /tmp/pkgs/ >> /etc/opkg.conf
root@OpenWrt:~#
root@OpenWrt:~# cat /etc/opkg.conf
src/gz snapshots http://downloads.openwrt.org/kamikaze/8 … 4/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /jffs
src X-Wrt http://downloads.x-wrt.org/xwrt/kamikaz … 4/packages
dest test /tmp/pkgs/
root@OpenWrt:~#
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8 … ackages.gz
Connecting to downloads.openwrt.org (78.24.191.177:80)
Packages.gz 100% |*******************************| 130k 00:00:00 ETA
Inflating http://downloads.openwrt.org/kamikaze/8 … ackages.gz
Updated list of available packages in /var/opkg-lists/snapshots
Downloading http://downloads.x-wrt.org/xwrt/kamikaz … s/Packages
Connecting to downloads.x-wrt.org (88.198.39.176:80)
Packages 100% |*******************************| 64346 --:--:-- ETA
Updated list of available packages in /var/opkg-lists/X-Wrt
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# opkg -dest test install bind-dig
Installing bind-dig (9.5.0-P1-1.1) to test...
Downloading http://downloads.openwrt.org/kamikaze/8 … mipsel.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
bind-dig_9.5.0-P1-1. 100% |*******************************| 32240 --:--:-- ETA
Installing bind-libs (9.5.0-P1-1.1) to test...
Collected errors:
* Only have 1100 available blocks on filesystem /tmp/pkgs/, pkg bind-libs needs 1883
root@OpenWrt:~#
I have some Linux experience but am well aware that this could come back to my lack of understanding of mount points, filesystems, etc
Any help would be really appreciated cause it's doing my head in