Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #3869

Re: Anyone still using a serial dumb terminal?

From Jon Lane <jon@dorsal.tk>
Newsgroups comp.misc
Subject Re: Anyone still using a serial dumb terminal?
Date 2014-06-25 19:03 +0000
Organization not nearly enough
Message-ID <slrnlqm78f.8hf.jon@localhost.localdomain> (permalink)
References <le7l82$oqt$1@dont-email.me> <87fvncec9l.fsf@elektro.pacujo.net> <alpine.BSF.2.00.1403012226020.23584@freeman.4gh.net>

Show all headers | View raw


On 2014-03-02, Stuart Barkley <stuartb@4gh.net> wrote:
> On Fri, 21 Feb 2014 at 10:06 -0000, Marko Rauhamaa wrote:
>
>> I wish I could use a virtual serial port to fully automate the
>> installation of Linux on a virtual machine. Some VM platforms have
>> commercial support for serial/SSH translation, but I have never had
>> the time to try it. For example, I don't know if the modern
>> mainstream Linux distros will install on a headless PC.
>
> Yes, you can do headless install of Linux with kvm/libvirt:
>
>     virt-install --name c70 --ram 1024 --nographics --os-variant rhel6 --network bridge=br0,model=virtio \
>         --disk path=/data/vm-images/c70.img,size=8 \
>         --location /data/mirror/CentOS/6/os/x86_64 \
>         --extra-args "ksdevice=eth0 ip=192.168.57.70 netmask=255.255.255.0 ks=http://192.168.57.3/c6.cfg console=ttyS0"
>
> You can also redirect the console output to a unix socket with an
> option like "--serial tcp,host=:2270,mode=bind,protocol=telnet".  I
> have done this in the past and used conserver to log the console
> output.
>
> Recent versions of FreeBSD have broken the headless installation on
> the default .iso image, but this can be restored with a minor patch to
> the .iso (echo 'console="comconsole"' >> boot/loader.conf and rebuild
> the .iso).
>
> Stuart

On sparc64 at least, the FreeBSD installer gracefully fails over to using the 
serial console if the serial line catches user input before the keyboard does.
Given that I keep my Ultra 5 headless, with a null modem cable to an RPi 
attached to it, that's not a really pressing race condition. 

Jon

Back to comp.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Anyone still using a serial dumb terminal? 2phar <none@example.com> - 2014-02-21 08:44 -0500
  Re: Anyone still using a serial dumb terminal? The Daring Dufas <the-daring-dufas@stinky-finger.net> - 2014-02-21 08:07 -0600
    Re: Anyone still using a serial dumb terminal? 2phar <none@example.com> - 2014-02-21 09:42 -0500
      Re: Anyone still using a serial dumb terminal? Michael Black <et472@ncf.ca> - 2014-02-26 12:55 -0500
  Re: Anyone still using a serial dumb terminal? Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 17:06 +0200
    Re: Anyone still using a serial dumb terminal? Stuart Barkley <stuartb@4gh.net> - 2014-03-01 22:37 -0500
      Re: Anyone still using a serial dumb terminal? Jon Lane <jon@dorsal.tk> - 2014-06-25 19:03 +0000
  Re: Anyone still using a serial dumb terminal? Conceited Jerk <cj.speakeasy@AAARGHgmail.com> - 2014-02-21 09:34 -0600
    Re: Anyone still using a serial dumb terminal? wjwlsn <ibillwilson@gmail.com> - 2014-02-21 09:11 -0800
      Re: Anyone still using a serial dumb terminal? Conceited Jerk <cj.speakeasy@AAARGHgmail.com> - 2014-02-21 14:15 -0600
    Re: Anyone still using a serial dumb terminal? Paul Sture <nospam@sture.ch> - 2014-03-16 13:58 +0100
  Re: Anyone still using a serial dumb terminal? RS Wood <rsw@therandymon.com> - 2014-02-22 16:06 +0000
    Re: Anyone still using a serial dumb terminal? Paul Sture <nospam@sture.ch> - 2014-03-16 14:06 +0100
      Re: Anyone still using a serial dumb terminal? Huge <Huge@nowhere.much.invalid> - 2014-03-17 10:30 +0000
  Re: Anyone still using a serial dumb terminal? Michael Black <et472@ncf.ca> - 2014-02-26 12:54 -0500
    Re: Anyone still using a serial dumb terminal? Oregonian Haruspex <bob_davis_retired@yahoo.com> - 2014-03-16 18:12 -0700

csiph-web