Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 3 [4] 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: preserve ssh cert and user base across boots?, how do I ?< Next Oldest | Next Newest >
Jason W Offline





Group: Members
Posts: 260
Joined: Nov. 2006
Posted: June 26 2008,02:18 QUOTE

Were drifting off topic, but another trick for a remote reboot without ejecting cd would be these commands through an ssh terminal:

# rm /etc/init.d/knoppix-reboot
# cp /KNOPPIX/etc/init.d/knoppix-reboot /etc/init.d/
# sed -i "151,153d" /ramdisk/etc/init.d/knoppix-reboot
# reboot

Pretty much does the same thing.
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 26 2008,03:26 QUOTE

Quote (Jason W @ June 25 2008,22:18)
Were drifting off topic, but another trick for a remote reboot without ejecting cd would be these commands through an ssh terminal:

# rm /etc/init.d/knoppix-reboot
# cp /KNOPPIX/etc/init.d/knoppix-reboot /etc/init.d/
# sed -i "151,153d" /ramdisk/etc/init.d/knoppix-reboot
# reboot

Pretty much does the same thing.

Well, yea, if you want to do it the easy way >_>

Also, those need to be done as sudo or as root.
*Note to self, kill sed*

Anyway, does dsl not use the rc6.d scripts?
Back to top
Profile PM 
Jason W Offline





Group: Members
Posts: 260
Joined: Nov. 2006
Posted: June 26 2008,10:36 QUOTE

I'm sure it uses the /etc/rc6.d/S90knoppix-reboot script as it is a symlink to the one in /etc/init.d.
Back to top
Profile PM 
bjhbjh Offline





Group: Members
Posts: 21
Joined: Jan. 2008
Posted: June 26 2008,11:16 QUOTE

Thanks for all the good suggestions folks.

Tried installing to a memkey but since my mobo is old I can't boot from USB so I think that is out.

I bit the bullet and slapped an HD into the box and installed to that. Now I can reboot without an eject and my other settings all persist so I think I am happy.

Thanks again for all the help.

Brian H.
Uxbridge Ont
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 26 2008,12:42 QUOTE

Quote (Jason W @ June 26 2008,06:36)
I'm sure it uses the /etc/rc6.d/S90knoppix-reboot script as it is a symlink to the one in /etc/init.d.

Atleast on my frugal 3.4.11 install, the /etc/rc6.d/S90knoppix-reboot script is actually symlinked to /KNOPPIC/etc/init.d/knoppix-reboot (as is every other file in /etc/rc*.d/ and /etc/init.d/)
Back to top
Profile PM 
20 replies since June 23 2008,01:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 3 [4] 5 >/
reply to topic new topic new poll
Quick Reply: preserve ssh cert and user base across boots?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code