Miniwatt waking Megawatt up --- wake on LAN issue

magnethead

Member
Jul 9, 2021
8
0
21
47
Hi,
I have a miniPC trying to wake up a Larger machine which has Proxmox installed on it. the miniPC is running Linux Mint bare metal.

I have a docker container on the miniPC running a container called 'Upsnap' with a nice webpage to start machines... I since found out that magic packets won't cross networks, so I installed it as a binary on the MiniPC, which is the same network as the Larger machine, so now the start command works perfectly.

the issue I have is the shutdown command for Proxmox worked from the Docker container on the docker network (172.17.0.3)
this command:
Code:
sshpass -p 'password' ssh -o "StrictHostKeyChecking=no" root@192.168.1.50 'shutdown -h now'

but now when I try to issue that command from the same program (upsnap) running baremetal on the miniPC, it will not work.
also I didn't want to be using the Root user, so I setup a new user, with only sys.power and sys.audit on Proxmox a PAM user, but that didn't seem to work either.
Should I be able to shutdown Proxmox by passing a username/password to it?

Thanks (I'm a bit of a linux Noob, but trying to learn)