Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 16:46:12 GMT
From:      efinley@efinley.com (Elliot Finley)
To:        cjclark@home.com
Cc:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Re: Redirecting /dev/console
Message-ID:  <36ad5997.3087251@mail.afnetinc.com>
In-Reply-To: <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com>
References:  <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Just change the syslog.conf file so that syslogd logs everything to
the device that you want, or to a particular user.

On Thu, 21 Jan 1999 10:20:24 -0500 (EST), you wrote:

>I have a machine that I typically access remotely via telnet or ssh. I
>would like to receive console messages on my remote terminal. (This is
>the machine I mailed here about two days ago which had cron
>inexplicably crash; I want to keep an eye on it). I added a
>/etc/fbtab so that I will own /dev/console,
>
> /dev/ttyp0      0600            /dev/console
>
>But I can't seem to redirect it how I want. I tried just,
>
>% /dev/console > /dev/ttyp0 &
>
>And then,
>
>% echo "TEST" > /dev/console
>
>But nothing popped up on the ttyp0 terminal (but it did on ttyv0).
>
>I would actually like to tee the output to both ttyp0 and ttyv0. What
>is the "best" way to do this? 
>
>BTW, the machine in question does not have X installed so the way I
>would typically do it, 'xconsole' or 'xterm -C,' are not options.

-- 
Elliot (efinley@efinley.com)

"The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD."

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?36ad5997.3087251>