Hi, i have a Raspberry Pi B+, with the command "sudo halt" via SSH, my PI shut down, but after a few seconds it restarts...
how can I turn off my PI properly without unplugging the power supply?
Thanks

It's a command "built in" or I have to download some files?ShiftPlusOne wrote:I believe rpi-update will fix that.


Code: Select all
sudo rpi-update+1_abo_ wrote:sudo shutdown -h 0
sudo shutdown -h now
Code: Select all
sudo shutdown -h nowCode: Select all
sudo apt-get update
sudo apt-get dist-upgrade
sudo rpi-update
sudo rebootThank you, now "sudo halt" works!fruitoftheloom wrote:+1_abo_ wrote:sudo shutdown -h 0
sudo shutdown -h nowI regularly run on Raspbian WheezyCode: Select all
sudo shutdown -h nowCode: Select all
sudo apt-get update sudo apt-get dist-upgrade sudo rpi-update sudo reboot
That will only update the firmware in the SD Card residing in the Bootloader Partition (unlike "standard" PC's the Pi has no BIOS Chip, so those functions are in the software)alex27riva wrote:But "rpi-update" upgrades the firmware on sd card or the firmware in the usb/ ethernet chip of the pi?
To be on the safe side, you ought to do a 'sudo reboot' between running apt-get and rpi-update. On the off-chance that apt-get installs a new kernel, rpi-update will 'break' if you don't reboot (to activate the new kernel) first.fruitoftheloom wrote:I regularly run on Raspbian WheezyCode: Select all
sudo apt-get update sudo apt-get dist-upgrade sudo rpi-update sudo reboot

The LAN9512/4 chip has no built in firmware.alex27riva wrote: But "rpi-update" upgrades the firmware on sd card or the firmware in the usb/ ethernet chip of the pi?
you mean like this?alex27riva wrote:Hi, i have a Raspberry Pi B+, with the command "sudo halt" via SSH, my PI shut down, but after a few seconds it restarts...