From owner-freebsd-questions Wed Aug 18 21:43:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 37E1B15048 for ; Wed, 18 Aug 1999 21:43:04 -0700 (PDT) (envelope-from ibjoe@home.com) Received: from c392156-a.cstvl1.sfba.home.com ([24.1.95.226]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19990819044138.GJVI8807.mail.rdc1.sfba.home.com@c392156-a.cstvl1.sfba.home.com> for ; Wed, 18 Aug 1999 21:41:38 -0700 Message-Id: <2.2.32.19990819044118.006b5c70@mail> X-Sender: ibjoe@mail X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 18 Aug 1999 21:41:18 -0700 To: freebsd-questions@FreeBSD.ORG From: Joe Subject: Re: sio boot / console configuration? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK, Joe, if you would just RTFM you would know... refer to the file: /usr/src/sys/i386/boot/biosboot/README.serial There you see, all you have to do is make sure that sio0 is configured with flags 0x10 in the kernel. Then create a file in / called boot.config with one line containing -P Now when you unplug the keyboard the serial terminal will be a console. But oops, once it boots up that console doesn't work anymore. So edit the file /etc/ttys for ttyd0 "/usr/libexec/getty std.9600" vt100 on secure so the serial port still works after boot. That's all there is to it! duh.... At 11:24 AM 8/18/99 -0700, Joe wrote: >Hi, > >I want to use a VT100 emulator program on my PC serial port >as the console for my FreeBSD machine. > >And I would like to also have the sco (vga/keyboard) terminal >available too. > >Best would be autodetect, >if the keyboard is plugged in it would use the sco terminal, but >if the keyboard is not plugged in it would use the sio terminal. > >I think that I can do this from the boot prompt with the -P argument. > >But I want to make that the default behavior. And when the keyboard >is not plugged in I would like to start output to sio terminal >at the lowest possible boot level. Dual (sco and sio) would be OK too. > >Does anyone have any hints on how to do this? >So far all I can do is to use the sio to login after bootup. >I had to change this line in /etc/ttys >ttyd0 "/usr/libexec/getty std.9600" vt100 on secure > >Thanks, >Joe > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message