PDA

View Full Version : HOWTO? ssh start at boot-up



A. Jorge Garcia
05-07-2004, 01:21 PM
I just set-up a QUANTIAN cluster on my LAN. I'd like for

/etc/init.d/openmosix restart
/etc/init.d/ssh start

to run at boot-up. How do I accomplish this?

Right now I have to go into each hdd installed QUANTIAN node and start both services as root after boot-up. This is a hassle for 25 nodes! Also, this is a dual boot lab where other teachers use WIMxP, so I'm constantly having to boot-up Linux for my students....

TIA,
AJG

Markus
05-07-2004, 01:45 PM
Not sure about restarting, perhaps you can put the line "/etc/init.d/openmosix restart " at the end in /etc/init.d/bootmisc.sh
For ssh you can do "update-rc.d ssh defaults", add a startupnumber after defaults if you want to specify this.

A. Jorge Garcia
05-08-2004, 02:26 AM
bootmisc.sh is the place to put what you want run at boot time? I thought it was somewhere else, I just forget where....

Regards,
AJG

Markus
05-08-2004, 08:50 AM
Probably not, it's just the place where to put things you want started late.
Just running things can be done with update-rc.d, I just don't know about restarting. Someone else probably will.
In the meantime, adding the line there should work to get you out of the hassle until you find a better place for restarting it.

Just my €/50

A. Jorge Garcia
05-08-2004, 01:35 PM
OK, I'll try it when I get back to work on Monday!

Thanx,
AJG