[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-knoppix] SUMMARY: Remote rebooting



Ok, this is what I've done to do a completly remote/unattended reboot. All
of this is done via SSH

Edit  /etc/inittab:

The originaled looks like this:
l0:0:wait:/etc/init.d/knoppix-halt
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/knoppix-reboot

I changed it to:
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6

This allows me to type `reboot` and the machine will reboot just like a
normal machine! ;-)

Hope the helps someone in the future.



----- Original Message -----
From: "Klaus Knopper" <knopper@linuxtag.org>
To: "Ambrose" <ambrose@illuminatedtechnologies.com>
Sent: Wednesday, May 07, 2003 7:27 PM
Subject: Re: Remote rebooting


> On Wed, May 07, 2003 at 05:20:18PM -0700, Ambrose wrote:
> > Hey Klaus...
> >
> > Is it possible to remotly reboot knoppix?!
>
> Yes.
>
> You just start an sshd with a password set for root, and remotely
> execute an
> umount -af ; reboot -f
>
> Regards
> -Klaus Knopper
> --
> Klaus Knopper                           Technical Solutions & Finances
> knopper@linuxtag.org                          http://www.linuxtag.org/
> Phone +49-(0)631-3109371                        Fax +49-(0)631-3109372
> LinuxTag 2003 - Europes largest Linux Expo       Where .com meets .org

_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: