How do I stop or reboot Beaglebone Black with Ubuntu 14.04

How can I stop or reboot my BBB? Rarely ‘halt’ or ‘reboot’ work but mostly they are ignored. They are symlinked to shutdown. I’ve tried ‘init 6’ as root and it also is ignored.

I have Ubuntu 14.04 installed, and connect to it via ssh as a normal user, and use sudo when root access is needed.

I hate to risk file corruption as a result of unplugging the power.

Is there a policy setting somewhere?

I’ve tried to connect to the debug port, but am not having much luck. I may get no response, or get a login prompt, but then every character I type gets treated like it’s followed by an ‘enter’. I’m using putty with sercfg=8n1N115200, and a DFRobot USB-Serial board set to 3.3v. Only tx, rx, and GND are connected.

$ uname -a
Linux arm 3.8.13-bone56 #1 SMP Thu Jun 5 03:28:17 UTC 2014 armv7l armv7l armv7l GNU/Linux



Hi Jim,

I use these two commands:

sudo reboot # located at /sbin/reboot
sudo poweroff # located at /sbin/poweroff

I have not detected any file corruption until now.

More info typing man poweroff (if man not installed, type sudo apt-get install man).

Best regards,