I have been able to shutdown my bubba from my PC, by using the following command: ssh -n 192.168.1.3 'sudo shutdown -hP now'
I have created the private/public key pair to allow me to run the above command without entering a password, and also installed sudo and given myself access to the shutdown command.
bubba does shutdown, except the led keeps flashing and never goes out. I believe this means bubba has shutdown, but not powered off.
This must be possible as I can do this from the admin web page using the "Power Down" button. I just cannot find the command it is using to do this.
Can anyone help?
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
How to shutdown bubba from a remote machine?
Hi wm.bubba,
The reason that this does not work is that we do some things out of the ordinary here. Instead of a complete shutdown, what we do is that we do a reboot with a special message to the boot loader. That when it intercepts this during reboot it shuts down a lot of peripherals and then wait for a key press to start everything up again.
You can either issue the command, as root:
Or if you are curios on how its done do it manually by issuing the two commands:
I hope this helps.
/Tor
The reason that this does not work is that we do some things out of the ordinary here. Instead of a complete shutdown, what we do is that we do a reboot with a special message to the boot loader. That when it intercepts this during reboot it shuts down a lot of peripherals and then wait for a key press to start everything up again.
You can either issue the command, as root:
Code: Select all
/usr/lib/web-admin/backend.pl power_off
Code: Select all
echo -e "3735928559">/sys/devices/platform/bubbatwo/magic
reboot
/Tor
Co-founder OpenProducts and Ex Excito Developer