Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!uunet!bcstec!galileo!dmp3592 From: dmp3592@galileo.rtn.ca.boeing.com (Dean M. Phillips) Newsgroups: comp.unix.bsd Subject: Re: More questions about 386BSD... Message-ID: <1141@galileo.rtn.ca.boeing.com> Date: 24 Sep 92 14:12:09 GMT References: <1992Sep23.040721.4834@minyos.xx.rmit.oz.au> Organization: Boeing Commercial Airplane Group, Seattle Lines: 50 In article <1992Sep23.040721.4834@minyos.xx.rmit.oz.au> rcskb@minyos.xx.rmit.oz.au (Kendall Bennett) writes: > 1. I have two serial ports on my machine. One has my mouse attached to >it, and I want to use the other one to connect to my second PC so I can >log in remotely (to do things like kernel rebuilds so I don't have to >sit around :-). I can't figure out how I go about setting things up so >that I can run Telix on my second PC via a null modem cable to my 486 >box... Solution 1: Run make in the background. The following command will run make in the background and record all output in make.output. If you use csh: nice make -k >& make.output & If you use ash (called sh under 386bsd): nice make -k 1>make.output 2>&1 & Solution 2: Set up getty for your com port. Edit /etc/ttys and /etc/gettytab to define the terminal. I have a Televideo model 925 that I scavenged from my Cro-Magnon CP/M system and hooked up to com1. Since the terminal is hard wired, I specified its type in the tables and tvi925 automagically appears in the TERM environment variable. You will want to changes these to specify whatever type of terminal your other PC emulates. Add a line to /etc/ttys that looks something like this: com1 "/usr/libexec/getty tvi925.9600" tvi925 on secure ^ ^ ^ ^ ^ ^ `--Device `--Program to run `--getttytab name | | | Terminal type--' | | Terminal enabled--' | Root login allowed--' Add a line to /etc/gettytab that looks something like this: tvi925.9600|televideo-925-9600-baud:sp#9600:cl=\E*: ^ ^ ^ ^ | `--Description | | `--name RS232 port baud rate--' | Sequence to use to clear screen--' see the man pages on ttys, gettytab and getty for more information. After you have edited the files, shut down and reboot. When your real computer comes back up you should see a login prompt on both systems. -- ---------------------------------------------------------------------- #include <standard_disclaimer.h> Dean M. Phillips (206) 393-9333 Boeing Commercial Airplane Group dmp3592@galileo.boeing.com