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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total) picture

Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total)

$680.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD picture

Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD

$25.00



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001 picture

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001

$14.90



Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module picture

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module

$89.00



Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED picture

Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED

$80.00