MeshCentral client on HA OS

I have a meshcentral installed on my router. Attaching linux devices to it is just really easy. You just run a bash command in the terminal. Doesn’t work in HA OS as I don’t think the user has permissions. Is there a way to run it that will work? I had a search on the forum but everyone seems to want to make it a server. I have a server already. My router runs openWrt and Docker. It is mega easy to move files between mesh clients, but I can’t figure out how to connect HA OS as a client (not a server). It is so easy on other computers I think I must be missing something on HA OS.

this is an edited script as an example
(wget "https://address/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh || wget "https://address/meshagents?script=1" --no-proxy --no-check-certificate -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo -E ./meshinstall.sh https://address 'key'@username' || ./meshinstall.sh https://address 'key

The address is a Tailscale one and it keep saying wget “failed: Name has no usable address.”. can wget not use my tailnet? The HA OS Tailscale is definitely up.

it was just a DNS thing. HA, even if Tailscale is installed, uses my router for DNS. I added 100.100.100.100 as my first DNS in the IPv4 settings and 192.168.1.1 as a second option for DNS. To make sure I added 192.168.1.1 in my tailscale admin panel as a global nameserver. Now it works.

It didn’t appear in Mesh Central even if script appeared to work so I changed the script to use my tailscale IP and not the dns name and edited the config file to use the IP not the DNS. then it appeared. Maybe i did something useful. Maybe I just should have been more patient.

I don’t think you can add it to haos, it’s like an appliance you don’t make changes to the lower level os.

You would need to run your ha with a normal os with a terminal and optionally desktop either bare metal or virtualized.

1 Like

There is an HAOS app for tailscale, if that helps any…