On Thu, 2001-10-11 at 00:15, Elbert Lai wrote:
> Thank you everyone for all of the suggestions that were given. I got it to
> work by going to v2.09 of the distribution. I installed the core, kernel,
> X-app, X-fonts, and it pretty much worked out of the box. I noticed that a
> great deal of functionality has been added to the distro since v2.08. Xinetd
> came up automatically, and the telnetd was part of that. With NIS working, I
> am able to telnet into the diskless client. Doing this has provided me with
> another problem.
> 
> One key reason why I wanted to telnet into the diskless client was so that I
> could remotely perform a reboot of the client. First I had to copy the
> shutdown command over to the distribution, but once it was over, it didn't
> matter what flags I executed. The client does not reboot. I'm not sure it
> even shuts down, because it stops at the following line.
> 
> INIT: No more processes left in this runlevel.
> 
> I'm executing 'shutdown -r now' as root user. Any help you can give me would
> be great.

I got this working once, but I can't remember everything I had to do. 
At a minimum, look in /ltsroot/etc/inittab, and add a line like:
l6:6:wait:/etc/init.d/rc 6

Then copy the server's /etc/init.d/rc file to /ltsroot/etc/init.d/, and
modify it.  'shutdown' is simply supposed to call 'init 6', which will
run /etc/init.d/rc 6.  That runs /etc/init.d/reboot (or somesuch) At the
end of that, it runs /sbin/reboot or /sbin/halt, so you'll need
/tftpboot/sbin/reboot as well.

You can put in a couple of echo's in the script to find out how far it
gets.

> Thanks.
> 
> Elbert Lai
> Manager, Engineering Services @ Real Time Solutions
> 5650 Hollis Street, Suite 100 . Emeryville, CA 94608
> Main: (510) 985-6300 . Direct: (510) 985-6384 . Fax: (510) 595-8813.
> Email: [EMAIL PROTECTED]
> Web: www.picktolight.com
> 
> 
> 
> 
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.openprojects.net
-- 
Berend De Schouwer


_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to