Results 1 to 3 of 3

Thread: Activate serial console or ssh at boot

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Posts
    2

    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

  2. #2
    Member registered user
    Join Date
    Apr 2004
    Posts
    50
    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.

  3. #3
    Junior Member
    Join Date
    Jul 2007
    Posts
    2
    Thanks greenfly!
    Quote 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.

    Quote 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

  1. Serial Console when booting?
    By maxim9 in forum Customising & Remastering
    Replies: 1
    Last Post: 12-03-2007, 11:36 PM
  2. serial console access
    By wt8e7 in forum General Support
    Replies: 0
    Last Post: 04-30-2006, 08:52 AM
  3. Replies: 1
    Last Post: 02-10-2006, 05:32 PM
  4. exporting serial console at boot
    By Jordi in forum Hardware & Booting
    Replies: 0
    Last Post: 11-14-2005, 11:59 AM
  5. 2 Q's: Serial console and list of HW support
    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
  •  


INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

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 picture

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 picture

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 picture

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 picture

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 picture

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 picture

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 picture

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

$249.99



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

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 picture

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

$144.98