Date: Tue, 23 Nov 1999 00:43:49 -0500 (EST) From: Agent Drek <drek@MonsterByMistake.Com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Cc: Christian Taylor <phazer@ns.sympatico.ca> Subject: Re: Serial console from other machines Message-ID: <Pine.LNX.4.10.9911230032340.10358-100000@jazz.monsterbymistake.com> In-Reply-To: <199911230340.TAA06687@red.juniper.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Nov 1999, Brian Matheson wrote: |Date: Mon, 22 Nov 1999 19:40:30 -0800 |From: Brian Matheson <bmath@juniper.net> |To: Christian Taylor <phazer@ns.sympatico.ca> |Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> |Subject: Re: Serial console from other machines | | |You should be able to replace the /usr/libexec/getty in /etc/ttys with |your favorite terminal program (like maybe "cu -s 9600 -l |/dev/cuaa1"). There may be terminal emulation issues to worry about |though. | | |> Hi everyone, |> |> There may be an answer to my question somewhere, but I haven't been able to |> find it in the archives or the handbook or FAQ anywhere... anyway... I have |> a server running FreeBSD, and two other headless machines (one is an old Mac |> running NetBSD/mac68k and the other is a Quake server running FreeBSD). |> Since I don't have monitors for these machines, I'd like to set up serial |> consoles on them and run them to the FreeBSD server. But... I don't really |> want to have to login to use them. |> |> What I'd like, is to add two more virtual consoles to my kernel, and have |> the serial consoles of the other two machines show up there (ie. so I could |> use say Alt-F5 and Alt-F6 to access their consoles). It would act similar |> to a keyboard/monitor multiplexer. Is there a way I can set up my /etc/ttys |> file to do this? Basically, just redirect all input/output on a given |> virtual console to/from a given serial port. |> |> Has anyone done this, or have any ideas how I could go about setting it up? |> I hope it's clear what I'm trying to do... |> |> Thanks in advance! |> |> -Christian |> |> -- |> Christian Taylor |> phazer@ns.sympatico.ca |> http://www.phazer.org/ |> |> |> |> |> |> To Unsubscribe: send mail to majordomo@FreeBSD.org |> with "unsubscribe freebsd-questions" in the body of the message | | |To Unsubscribe: send mail to majordomo@FreeBSD.org |with "unsubscribe freebsd-questions" in the body of the message | Should one set this in the kernel config as well: MYKERN: # Serial (COM) ports device sio0 at isa? port "IO_COM1" flags 0x20 tty irq 4 I thought that the 0x20 forced the com port into a console: LINT: # # `flags' for serial drivers that support consoles (only for sio now): # 0x10 enable console support for this unit. The other console flags # are ignored unless this is set. Enabling console support does # not make the unit the preferred console - boot with -h or set # the 0x20 flag for that. Currently, at most one unit can have # console support; the first one (in config file order) with # this flag set is preferred. Setting this flag for sio0 gives # the old behaviour. # 0x20 force this unit to be the console (unless there is another # higher priority console). This replaces the COMCONSOLE option. # 0x40 reserve this unit for low level console operations. Do not # access the device in any normal way. my /etc/ttys was already set up with this line: ttyd0 "/usr/libexec/getty std.9600" dialup on secure So I didn't change it and I'm using minicom on a linux w.s. I did this today for the first time (thus my interest in this thread) and I'd like to know that I got things correct and understood them. I'm not getting all of the bootup info in the console which is bothersome however... Just curious... thanks, =derek Monster By Mistake Inc > 'digital plumber' http://www.interlog.com/~drek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9911230032340.10358-100000>