Hi,
#### Paketmanager ausführen
opkg install adguardhome
Installing adguardhome (0.107.57-r1) to root...
##### Fehler
Collected errors: * verify_pkg_installable: Only have 18100kb available on filesystem /overlay, pkg adguardhome needs 28980 * opkg_install_cmd: Cannot install package adguardhome.
Der Befehl *opkg install* scheiterte mit dem Code `255`.
How can I install Adguard Home (AGH) with a mounted USB stick?
Thanks for your assistance!
Could you edit your post and replsce picture with text by pair of </>
text boxes
What is in ubus call system board
of your OpenWrt device?
brada4:
ubus call system board
root@OpenWrtTheBurns:~# ubus call system board
{
"kernel": "6.6.86",
"hostname": "OpenWrtTheBurns",
"system": "ARMv7 Processor rev 5 (v7l)",
"model": "AVM FRITZ!Box 4040",
"board_name": "avm,fritzbox-4040",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.1",
"revision": "r28597-0425664679",
"target": "ipq40xx/generic",
"description": "OpenWrt 24.10.1 r28597-0425664679",
"builddate": "1744562312"
}
}
You can re-compress package into squashfs using imagebuilder, firmwatre-selector or luci-app-attendedsysupgrade.
if that fails mount usb ext4 and create directory for packages, then examine opkg.conf, the part about -d mem /tmp
Do you mean here? What exactly do I have to enter here?
dest usb /mnt/sda1/opkg (assuming you performed usb storage mount from wiki)
dest usb /mnt/sda1/opkg
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature
opkg install adguardhome
Unknown package 'adguardhome'.
##### Fehler
Collected errors: * pkg_hash_check_unresolved: cannot find dependency libc for ca-bundle * pkg_hash_fetch_best_installation_candidate: Packages for ca-bundle found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for adguardhome * pkg_hash_fetch_best_installation_candidate: Packages for adguardhome found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package adguardhome.
Der Befehl *opkg install* scheiterte mit dem Code `255`.
Could it be that the USB stick is not mounted correctly?
brada4
May 18, 2025, 9:49pm
10
could it be you just deleted default install location?
STOP POSTING PICTURES , please
I deleted
dest root /
dest ram /tmp
and added
dest usb /mnt/sda1/opkg
brada4
May 18, 2025, 9:56pm
12
Well put them back for starters, usb install requires command line.
Sid
May 19, 2025, 3:45am
13
Try this
For limited space routers you can mount a USB drive and use that to host AGH. Mounting it as /opt/AdGuardHome will ensure you do not run out space on smaller routers. Currently AGH is 35mb. Add in filters, DNS queries, Stats, (and a 2nd copy of AGH binary when it updates and backs up) and your space rapidly vanishes. With careful setting of options you can keep the requirements low but having an entire USB drive to use will avoid issues.
You can install the static binary from AGH GitHub check this guide for more info
Introduction:
This thread mostly covers the manual installation of AdGuard Home's edge/beta version. OpenWrt's opkg version is the stable release. The edge version installs to /opt/AdGuardHome , the opkg version to /etc/adguardhome for the config files and /tmp for filters, logs etc thus you WILL loose them when your router reboots.
AGH - https://github.com/AdguardTeam/AdGuardHome
A few points first of all.
The ports chosen are either well known alternate ports or reasonable compromises. Y…
yes, can you check my screenshot to see if everything went correctly?
I still have the problem that the USB stick is not taken into account when calculating the storage space. Why not?
@frollic and can you tell me in which directory I should download or install the opkg from AdguardHome?