How to turn off my computer completly

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
napi
Posts: 68
Joined: Fri 25 Jan 2008, 06:14
Location: Pamplona (Navarra el reino de los vascos)(España)(Europa)(La Tierra)(Sistema solar)(El universo)
Contact:

How to turn off my computer completly

#1 Post by napi »

First, sorry for my bad English but I don't have another.

In the Spanish forum don't have an asked for this problem.
I'm an user of puppy 3 since one year (more or less) . I don't had great problems with it, but recently, I have changed my old computer (11 years old) for another very much new (8 years old). In this "new computer", I have installed Mcpup foxy (based in puppy 4.1).

All work perfectly but, when I want turn off the computer: the operating system shutdown correctly Even though the computer don't turn off. That isn't a great problem but itś annoying.

in advance thank you so much.
Regards for the English forum from Spain.
[url]http://www.elblogdenapi.blogspot.com[/url]. El software libre es la revolución

Bruce B

#2 Post by Bruce B »

No se mucho de macpup

Sin embargo, pienso que la uniqa manera en su situacion es apagar el boton. Por que unos computadores no se obedecen el commando de apagar automaticamente.

Disculpe mi pobre Espanol.

User avatar
napi
Posts: 68
Joined: Fri 25 Jan 2008, 06:14
Location: Pamplona (Navarra el reino de los vascos)(España)(Europa)(La Tierra)(Sistema solar)(El universo)
Contact:

Thank's

#3 Post by napi »

Thank's for ask me Bruce :D .
If there aren't another solution then I will continue make that. :roll:
[url]http://www.elblogdenapi.blogspot.com[/url]. El software libre es la revolución

Bruce B

#4 Post by Bruce B »

mira, otra manera, no se va a trabajar, pero se peude experimentar

/sbin/poweroff

Code: Select all

#!/bin/sh

/etc/rc.d/rc.shutdown (como es)

exec /bin/busybox poweroff
para usar fuerza

Code: Select all

[/] busybox poweroff --help
BusyBox v1.8.2 (2007-11-30 09:20:42 GMT-8) multi-call binary

Usage: poweroff [-d delay] [-n] [-f]

Halt and shut off power

Options:
        -d      Delay interval for halting
        -n      No call to sync()
        -f      Force power off (don't go through init)

[/] 
experimentar con -f y quizas tambien -d

ejemplo

/sbin/poweroff (cambiado)

Code: Select all

#!/bin/sh

/etc/rc.d/rc.shutdown

exec /bin/busybox poweroff -f
con el -f es usar fuerza

User avatar
napi
Posts: 68
Joined: Fri 25 Jan 2008, 06:14
Location: Pamplona (Navarra el reino de los vascos)(España)(Europa)(La Tierra)(Sistema solar)(El universo)
Contact:

#5 Post by napi »

Thank's Bruce.
I'll try it. If I will obtain something comentat it.
See you soon :D
[url]http://www.elblogdenapi.blogspot.com[/url]. El software libre es la revolución

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#6 Post by mikeb »

acpi may not be enabled as there is / was a cut off date for enabling it..
the boot option
puppy acpi=force
can be used to check.

If acpi is a problem apm can be used
modprobe apm
to test that

hope that helps

mike

User avatar
silverojo
Posts: 155
Joined: Sun 30 Jul 2006, 05:40

#7 Post by silverojo »

Can we have the full explanation of this in English? Thanks!
[b]MY PC's SPECS:[/b]

* PC: Firelite 1200 D
* RAM: 512 MB
* CPU: AMD Duron, 892 MHz
* HD: Maxtor 2F030J0
* CD-RW: Atapi CD-R/RW CW078D
* MONITOR: Compaq 5500
* SOUND CARD: SiS 7018 Wave
* ETHERNET: Network Everywhere (NC100 v2)

Bruce B

#8 Post by Bruce B »

silverojo,

Napi changed computers, with the newer one poweroff didn't work.

I told him it doesn't always and use the switch.

Then I suggested maybe tell the busybox poweroff command to force it off using the -f switch.

Bruce

Post Reply