What's new

AdGuardHome [RELEASE] Asuswrt-Merlin-AdGuardHome-Installer (AMAGHI)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Run this command in terminal

opkg reinstall "$(opkg list zoneinfo* | printf "%s\n" "$(awk '{printf $1" "}')")" && opkg install "$(opkg list zoneinfo* | printf "%s\n" "$(awk '{printf $1" "}')")"

Tell me what the output of running


ls /opt/share/zoneinfo/zone.tab

opkg: unknown sub-command reinstall


ls: /opt/share/zoneinfo/zone.tab: No such file or directory

/tmp/mnt/SanDisk/entware/share/zoneinfo# ls


Asia Europe Hongkong Japan Poland Portugal Singapore
 
Okay run

opkg install "$(opkg list zoneinfo* | printf "%s\n" "$(awk '{printf $1" "}')")"

Then repeat these two commands in terminal consecutively

ls /opt/share/zoneinfo

And

ls /opt/share/zoneinfo/zone.tab
 
Okay run

opkg install "$(opkg list zoneinfo* | printf "%s\n" "$(awk '{printf $1" "}')")"

Then repeat these two commands in terminal consecutively

ls /opt/share/zoneinfo

And

ls /opt/share/zoneinfo/zone.tab

opkg install "$(opkg list zoneinfo* | printf "%s\n" "$(awk '{printf $1" "}')")"


Unknown package 'zoneinfo-africa zoneinfo-asia zoneinfo-atlantic zoneinfo-australia-nz zoneinfo-core zoneinfo-europe zoneinfo-india zoneinfo-northamerica zoneinfo-pacific zoneinfo-poles zoneinfo-simple zoneinfo-southamerica '.


Collected errors:


* opkg_install_cmd: Cannot install package zoneinfo-africa zoneinfo-asia zoneinfo-atlantic zoneinfo-australia-nz zoneinfo-core zoneinfo-europe zoneinfo-india zoneinfo-northamerica zoneinfo-pacific zoneinfo-poles zoneinfo-simple zoneinfo-southamerica .


ls /opt/share/zoneinfo


Asia Europe Hongkong Japan Poland Portugal Singapore


ls /opt/share/zoneinfo/zone.tab


ls: /opt/share/zoneinfo/zone.tab: No such file or directory
 
If you are not able to access /opt/share or /opt/share/zoneinfo directory then your entware may have a broken symlink or may in general be broken. That could be indication of a otherwise corrupt entware.
 
If you are not able to access /opt/share or /opt/share/zoneinfo directory then your entware may have a broken symlink or may in general be broken. That could be indication of a otherwise corrupt entware.

Good idea. I'll format the usb drive and start over. I'll just have AMTM and AdGuardHome installed and see how that goes.

thanks
 
Fresh Entware install after reformat is only installing these zones:

Installing zoneinfo-asia (2021e-1) to root...
Installing zoneinfo-europe (2021e-1) to root...
 
What is the output of

opkg list zoneinfo*
zoneinfo-africa - 2021e-1 - Zone Information (Africa)
zoneinfo-asia - 2021e-1 - Zone Information (Asia)
zoneinfo-atlantic - 2021e-1 - Zone Information (Atlantic)
zoneinfo-australia-nz - 2021e-1 - Zone Information (Australia-NZ)
zoneinfo-core - 2021e-1 - Zone Information (core)
zoneinfo-europe - 2021e-1 - Zone Information (Europe)
zoneinfo-india - 2021e-1 - Zone Information (India)
zoneinfo-northamerica - 2021e-1 - Zone Information (NorthAmerica)
zoneinfo-pacific - 2021e-1 - Zone Information (Pacific)
zoneinfo-poles - 2021e-1 - Zone Information (Arctic, Antarctic)
zoneinfo-simple - 2021e-1 - Zone Information (simple)
zoneinfo-southamerica - 2021e-1 - Zone Information (SouthAmerica)
 
Yea I see over 600 options when I choose mine.
Hi. Well I uninstalled AGH, Skynet and entware. I formatted the usb drive, re-install AGH using the curl command and before the TZ list if displayed I get the text below. Then it shows m 167 TZ's.

Info: Before setting up AdGuardHome, please choose your right timezone!
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
Info: Available timezones/locations:
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
 
Hi. Well I uninstalled AGH, Skynet and entware. I formatted the usb drive, re-install AGH using the curl command and before the TZ list if displayed I get the text below. Then it shows m 167 TZ's.

Info: Before setting up AdGuardHome, please choose your right timezone!
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
Info: Available timezones/locations:
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
Sounds like you could possibly have a corrupt USB or entware install . You could try installing each one individually, uninstalling each one first

Looks like the entware package (opkg) no longer has dependencies for zones other than Europe and Asia.
 
Hi. Well I uninstalled AGH, Skynet and entware. I formatted the usb drive, re-install AGH using the curl command and before the TZ list if displayed I get the text below. Then it shows m 167 TZ's.

Info: Before setting up AdGuardHome, please choose your right timezone!
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
Info: Available timezones/locations:
awk: /opt/share/zoneinfo/zone.tab: No such file or directory
What is the output of

ls /opt/share/zoneinfo
 
Sounds like you could possibly have a corrupt USB or entware install . You could try installing each one individually, uninstalling each one first
Well I formatted a new USB dive, installed entware and installed AGH from the Amtm menu, not using the manual curl command. I get the same TZ error. I added an ADblock list to AGH and I still cannot get it to block any ads. I do not know what I could have missed. This is a vanilla setup with just Merlin defaults. From the 'just because file' I also deleted the cache on the test pc.
 
Well I formatted a new USB dive, installed entware and installed AGH from the Amtm menu, not using the manual curl command. I get the same TZ error. I added an ADblock list to AGH and I still cannot get it to block any ads. I do not know what I could have missed. This is a vanilla setup with just Merlin defaults. From the 'just because file' I also deleted the cache on the test pc.
Well you are fine, it could all be tied into the TZ being wrong. If you wait on it till either late tonight or early tomorrow, I will have a working fix out.
 
My previous replies are showing up now.
Well I formatted a new USB dive, installed entware and installed AGH from the Amtm menu, not using the manual curl command. I get the same TZ error. I added an ADblock list to AGH and I still cannot get it to block any ads. I do not know what I could have missed. This is a vanilla setup with just Merlin defaults. From the 'just because file' I also deleted the cache on the test pc.
I just patched the installer, You are welcome to give it a go. TZdata should be up and going. Now we will control the TZdata. Relatively easy to compile.
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top