From owner-freebsd-questions Thu Jan 21 08:46:19 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24942 for freebsd-questions-outgoing; Thu, 21 Jan 1999 08:46:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from thor.afnetinc.com (thor.afnetinc.com [206.40.232.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24936 for ; Thu, 21 Jan 1999 08:46:18 -0800 (PST) (envelope-from efinley@efinley.com) Received: from pm3-0-ip44.afnetinc.com ([206.40.232.251]) by thor.afnetinc.com with smtp (Exim 2.05 #1) id 103NF4-0000q2-00; Thu, 21 Jan 1999 09:46:03 -0700 From: efinley@efinley.com (Elliot Finley) To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: Re: Redirecting /dev/console Date: Thu, 21 Jan 1999 16:46:12 GMT Organization: Hiawatha Coal Company Reply-To: efinley@efinley.com Message-ID: <36ad5997.3087251@mail.afnetinc.com> References: <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id IAA24937 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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