-
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

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km
$15.99

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor
$249.99

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98