-
Activate serial console or ssh at boot
Hi,
I use a headless server on which sometime, for maintenance purposes, I need to boot from a recovery or Live CD like Knoppix. Is it possible with Knoppix to activate a serial console or the ssh server at boot time?
Thanks in advance.
Jimmi
-
If your serial console is hooked up to COM1, for instance, you just use the standard kernel parameters to set the console to output to the serial console, just add:
console=tty0 console=ttyS0,9600n8
as "cheat codes".
To add the ssh server at boot, you would need to either set up a persistent image to start it, or add a knoppix.sh to the KNOPPIX/ directory on the cd that would start the ssh service and set the root password.
-
Thanks greenfly!

Originally Posted by
greenfly
...just add:
console=tty0 console=ttyS0,9600n8
as "cheat codes".
In order to use this option I would need the boot screen on the serial console, that it is not activated by default. I must look if there is a grub or lilo menu file to add the option to.

Originally Posted by
greenfly
To add the ssh server at boot, you would need to either set up a persistent image to start it, or add a knoppix.sh to the KNOPPIX/ directory on the cd that would start the ssh service and set the root password.
This seems easier: I will test it and come back with a feedback.
Jimmi
Similar Threads
-
By maxim9 in forum Customising & Remastering
Replies: 1
Last Post: 12-03-2007, 11:36 PM
-
By wt8e7 in forum General Support
Replies: 0
Last Post: 04-30-2006, 08:52 AM
-
By almartino in forum Laptops
Replies: 1
Last Post: 02-10-2006, 05:32 PM
-
By Jordi in forum Hardware & Booting
Replies: 0
Last Post: 11-14-2005, 11:59 AM
-
By adammorley in forum General Support
Replies: 3
Last Post: 07-08-2003, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC
$69.99

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)
$99.95

S-100 Bus Handbook Altair 8800 IMSAI 8080 Board Schematics Xitan Pertec Cromemco
$89.99

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair
$69.99

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800
$59.99

Intel 4004IBM Mark 1 UNIVAC Cray-1 Babbage ENIAC Apple 1 Steve Jobs MITS Altair
$50.99

Altair MITS S100 Backplane 8080A S-100 Replica IMSAI CP/M (bare board)
$40.00

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00