Results 1 to 3 of 3

Thread: Activate serial console or ssh at boot

Hybrid View

  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
  •  


MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.30



BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller picture

BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller

$739.99



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives picture

OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives

$149.95



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US picture

LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US

$29.88



Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA  HDD picture

Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD

$14.99



9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50



Sony Ruggedized Raid PSZ-RA Thunderbolt 2 Portable RAID Array (12TB) picture

Sony Ruggedized Raid PSZ-RA Thunderbolt 2 Portable RAID Array (12TB)

$419.00