What's new

TAILMON TAILMON v1.0.20 -July 27, 2024- WireGuard-based Tailscale Installer, Configurator and Monitor (THREAD #1 CLOSED)

  • 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!

Post the output of the following command:
Code:
opkg list-installed
bind-dig - 9.18.19-1
bind-libs - 9.18.19-1
cJSON - 1.7.15-3
ca-bundle - 20230311-1
coreutils - 9.3-1
coreutils-timeout - 9.3-1
htop - 3.3.0-1
iftop - 2018-10-03-77901c8c-2
jq - 1.7.1-1
libatomic - 8.4.0-11
libc - 2.27-11
libcares - 1.19.1-1
libgcc - 8.4.0-11
libmosquitto-nossl - 2.0.18-2
libncurses - 6.4-2a
libncursesw - 6.4-2a
libnghttp2 - 1.57.0-1
libopenssl - 3.0.13-1
libpcap - 1.10.4-1
libpcre - 8.45-5
libpthread - 2.27-11
librt - 2.27-11
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libuv - 1.45.0-3
mosquitto-client-nossl - 2.0.18-2
nmap - 7.93-4
openssh-sftp-server - 9.6p1-1
psmisc - 23.4-2a
screen - 4.8.0-2
tailscale - 1.58.2-1
terminfo - 6.4-2a
zlib - 1.3.1-1
 
OH sorry - you said entware, not tailscale.
I don't remember installing it, doesn't it just come with Merlin.
 
I just looked at my notes, I used the 'ep' option in amtm, followed by 'sw' to setup a swap file.
Does that count as 'Installing Entware'?
 
I don't remember installing it, doesn't it just come with Merlin.
No it doesn't. You have to install it, or choose install an amtm option that in turn installs Entware.

I just looked at my notes, I used the 'ep' option in amtm, followed by 'sw' to setup a swap file.
Does that count as 'Installing Entware'?
Yes ep is the option to install Entware. But the core Entware package is missing from your router.

It's strange because we've seen this situation before. I'm wondering whether there's a bug in the ep option in amtm.

To fix it can you run this command a post all the output.
Code:
opkg install entware-opt
 
To fix it can you run this command a post all the output.
Code:
opkg install entware-opt
Installing entware-opt (227000-3) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/entware-opt_227000-3_all.ipk
Installing entware-release (2024.02-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/entware-release_2024.02-1_all.ipk
Installing zoneinfo-core (2024a-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/zoneinfo-core_2024a-1_aarch64-3.10.ipk
Installing zoneinfo-asia (2024a-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/zoneinfo-asia_2024a-1_aarch64-3.10.ipk
Installing zoneinfo-europe (2024a-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/zoneinfo-europe_2024a-1_aarch64-3.10.ipk
Installing findutils (4.9.0-1a) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/findutils_4.9.0-1a_aarch64-3.10.ipk
Installing libpcre2 (10.42-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/libpcre2_10.42-1_aarch64-3.10.ipk
Installing grep (3.11-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/grep_3.11-1_aarch64-3.10.ipk
Installing locales (2.27-9) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/locales_2.27-9_aarch64-3.10.ipk
Installing opkg (2022-02-24-d038e5b6-2) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/opkg_2022-02-24-d038e5b6-2_aarch64-3.10.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading https://entware.diversion.ch/aarch64-k3.10/entware-upgrade_1.0-1_all.ipk
Configuring libpcre2.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required.
Configuring opkg.
Configuring zoneinfo-core.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
Collected errors:
 * resolve_conffiles: Existing conffile /opt/etc/profile is different from the conffile in the new package. The new conffile will be placed at /opt/etc/profile-opkg.

And now rc.func exists.
 
Thanks @alan6854321. That's what the ep option should have done.

Can you think of anything strange that might have happened with your Entware installation. Like error messages when you did ep, or maybe you moved the contents of an old USB drive to a new one?
 
Can you think of anything strange that might have happened with your Entware installation. Like error messages when you did ep, or maybe you moved the contents of an old USB drive to a new one?
I setup my AX88U Pro a couple of months ago after my AX86S blew up.

I used the same USB drive (128Gb SSD) and, now you mention it, I seem to remember it said something like "I found an existing Entware installation, shall I use it?" And I said "Yes".

BTW, I just had to uninstall/re-install Tailscale and now it seems to be working.

It's not obvious you have to do 'S' to start it and 'U' to connect
Or should that have happened automatically?
 
It's strange because we've seen this situation before. I'm wondering whether there's a bug in the ep option in amtm.
Highly unlikely.
 
Highly unlikely.
That was my thought the first time this problem occurred. But now I'm looking for any possible explanation.

What happens when Entware is installed through amtm? The generic installer downloads /opt/bin/opkg and /opt/etc/opkg.conf, and then runs opkg install entware-opt. Does amtm do the same because in the case above the entware-opt package and all its dependents are missing?

Perhaps the previously installed version of Entware was broken in some way? The user has obviously been able to install other Entware packages despite the fact he has the core packages missing.

P.S. I did a test Entware install on my RT-AC68U and everything installed correctly. So I'm wondering whether the issue is somehow connected to the "I found an existing Entware installation, shall I use it" scenario.
 
Last edited:
Perhaps the previously installed version of Entware was broken in some way? The user has obviously been able to install other Entware packages despite the fact he has the core packages missing.
That’s my thinking too. Puzzling.
P.S. I did a test Entware install on my RT-AC68U and everything installed correctly. So I'm wondering whether the issue is somehow connected to the "I found an existing Entware installation, shall I use it" scenario.
I’m checking if the previous version is compatible with the router model. That appears to work flawlessly as far as I can tell. The issues are the missing core packages that disappeared. We may never know why.
 
Yes ep is the option to install Entware. But the core Entware package is missing from your router.

It's strange because we've seen this situation before. I'm wondering whether there's a bug in the ep option in amtm.
Might have to build in a check when a previous installation is reused.
 
What does the 'rc.func' file do?

It seems my router has been running for a couple of months without it and nothing seemed amiss until I tried to install Tailscale.
 
I’m checking if the previous version is compatible with the router model. That appears to work flawlessly as far as I can tell. The issues are the missing core packages that disappeared. We may never know why.
I've tried a few "reinstall" scenarios and they all worked perfectly. I still can't imagine a situation where an entware directory on the USB drive would have opkg and opkg.conf but not have rc.func. The only thing I can't test is going from one architecture to another. Do the AX86S and AX88U Pro have different architectures?

I also can't imagine a situation where /opt/etc/init.d was deleted but /opt/etc wasn't. Maybe it's best not to think about it too much.

What does the 'rc.func' file do?
It's part of the code that starts up Entware services at boot time (e.g. Tailscale, vnstat, etc). It isn't used by user commands like htop or nmap.
 
Last edited:
If it helps, I have an AX88U Pro and AX86S.

Both report aarch64 using uname.
 
While I would normally agree with you on this one, @JGrana ... as a group when testing this, it was decided to leave this setting off as it's off by default. The only downside I've seen so far is that it produces a "health warning" stating that "some peers are advertising routes but accept-routes is false". According to the docs:

--accept-routes Accept subnet routes that other nodes advertise. Linux devices default to not accepting routes.

You can use "Custom" operating mode, and add that switch in if you want to run it... as a workaround. ;)

What should I do If I want to use as site-2-site? I installed Tailmon on both of GT-AX6000 at home and office. But only can see both router, all lan devices connecting to router is not accessible.

I did enabled "Advertise Routes on this router" on both router and "Subnet routes" in Machines page. Also how to update to the latest version of 1.66.1? Thanks in advance.

tailmon.jpg
 
Also how to update to the latest version of 1.66.1? Thanks in advance.
C, then P for that part of your question.

Not sure about the first question, someone will hopefully answer correctly, but I believe it might be the accept-routes switch (TBC) which you can enable using a Custom cmd line.

Currently you select C, 3, 3, then you go e, y, it does a down / restart and then it will ask you about customizing settings. Then you can modify one or more of the 4 lines.
 

Attachments

  • IMG_1223.jpeg
    IMG_1223.jpeg
    68.7 KB · Views: 26
  • IMG_1225.png
    IMG_1225.png
    74.2 KB · Views: 26
  • IMG_1226.jpeg
    IMG_1226.jpeg
    36 KB · Views: 23
Last edited:
Thanks. I just installed it today and wondering why it is not installed the latest version.
Because the first one, 1.58.2-1 is actually part of entware (and installs one set of dirs). @ColinTaylor has asked the entware team for an update but TBH many of us actually just update it via Tailmon (Tailscale direct) with no issue.

Per the wiki (see first post) subsequent updates (not actually recommended by the wiki) are from Tailscale and install config files to a separate set of dirs (hard coded apparently).

FYI
  1. If you install Tailmon fresh, without a previous Tailscale update, it installs 1.58.2-1 only; config files go into opt/var/lib/tailscale and opt/var/run/tailscale. Binaries go into /opt/bin.
  2. Once you install an update, either from within Tailmon or just from root with Tailscale update, it creates /var/lib/tailscale and /var/run/tailscale. The statedir line manages to point to the changed dirs. New Binaries also go into /opt/bin.
  3. Uninstalling Tailmon removes both sets of dirs (and the binaries).
k.
 
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