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 >
chaostic Offline





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

Quote (bjhbjh @ June 23 2008,14:21)
Quote
The cheatcode "noeject"


How do I invoke that at a reboot?

How do I invoke that at an ssh session reboot?

Or was this a joke ? I don't see 'noeject' in the DSL Wiki list of cheat  codes.

I need something that will persist across reboots so I don't have to  remember to do it if I reboot remotely a year from now.

Thanks,

Brian H.

Just because it's not in the wiki (yet) does not mean it is not used/true.

For a reboot, you would have to enter it in again at the boot menu, within the 30 second timeout, or it will use the default options, which does not include "noeject".

Same thing for an ssh session reboot.

Or, you can always launch with the cheatcode "frugal", which also skips the cd ejection at the end (Along with alot of other things)
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 23 2008,18:58 QUOTE

As the wiki is user-maintained, it tends to be out of sync (a lot unfortunately). Some cheatcodes have never been mentioned anywhere near here, but can be found when adventuring deep in DSL ;)

It's no joke, it works. You can also edit your bootloader config file to include it among the other bootcodes.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
bjhbjh Offline





Group: Members
Posts: 21
Joined: Jan. 2008
Posted: June 24 2008,16:12 QUOTE

Quote
For a reboot, you would have to enter it in again at the boot menu, within the 30 second timeout, or it will use the default options, which does not include "noeject".

Same thing for an ssh session reboot.


Ok, I seem to be missing something here. Please bear with me if I am being stupid.

If I am at a remote ssh session, perhaps miles away, and I call for a reboot, how do I enter the 'noeject' cheatcode at the local boot menu ?

Or perhaps I didn't make my intent clear from the outset. I want to make this thing come back to life, as configured, un attended in the event of either a local power interruption or a user invoked reboot from an ssh remote session.

So far I can do all this EXCEPT that the cd ejects and waits for someone to put it back in when the system is rebooted remotely.

How can I stop this from happening that does not require local console user intervention?

Thanks,

Brian H.
Back to top
Profile PM 
Jason W Offline





Group: Members
Posts: 260
Joined: Nov. 2006
Posted: June 24 2008,16:37 QUOTE

I have this kind of setup with my server, and there are several ways of going about it.  But if you are wanting to run the cd as a live cd (no frugal or regular install) then the easiest thing to do is to do a remaster and alter the /boot/isolinux/isolinux.cfg file to default boot with your preferences.
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 24 2008,17:36 QUOTE

Quote (bjhbjh @ June 24 2008,12:12)
Quote
For a reboot, you would have to enter it in again at the boot menu, within the 30 second timeout, or it will use the default options, which does not include "noeject".

Same thing for an ssh session reboot.


Ok, I seem to be missing something here. Please bear with me if I am being stupid.

If I am at a remote ssh session, perhaps miles away, and I call for a reboot, how do I enter the 'noeject' cheatcode at the local boot menu ?

Or perhaps I didn't make my intent clear from the outset. I want to make this thing come back to life, as configured, un attended in the event of either a local power interruption or a user invoked reboot from an ssh remote session.

So far I can do all this EXCEPT that the cd ejects and waits for someone to put it back in when the system is rebooted remotely.

How can I stop this from happening that does not require local console user intervention?

Thanks,

Brian H.

Aside from remastering like Jason suggested, you can also install to a flash drive, which would get rid of the ejecting problem, allow for easier (imho) changes to the default boot settings, and some extra storage space.


But, as a side note, all my computers have, without fail, forced closed the cd drive if it is open on boot/reboot.

Or is your problem really about the "Remove cd and press enter to finish rebooting/shutting down" message (Which afaik, wasn't required on reboot, only on shutdown, but I've been on a usb boot for so long I've forgotten.)
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