🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #20906

Re: Pipes, Devices

#20906
From: Mike Thomi
Date: Mon, 30 Aug 1999 00:00
56 lines
2504 bytes
Philippe Kehl wrote:
> 
> Moin, moin
> 
> Der Eintrag '*.* /dev/tty9' im /etc/syslog.conf ist wirklich toll, bringt
> mir aber wenn ich remote am Server bin rein gar nichts.
> 
> Wie kann ich eine Pipe oder ein Device (ich weiss ja nicht mal wie man
> sowas genau nennt, was ich will.. :-) machen, wo ich dann mit tail -f das
> gleiche bekomme. Ich will natuerlich nicht einfach im syslog.conf das Zeux
> in eine Datei schreiben; das hatte ich schon, ist aber gar nichts wert.
> 
> merci beaucoup..
> adios..
> flip

Salue

Wieso willst du das Zeugs in eine Pipe senden? Was soll das bringen?

ipppd options:
[...
# Increase debugging level (same as -d). The debug output is written
# to syslog LOG_LOCAL2.
debug

# Enable debugging code in the kernel-level PPP driver.  The argument n
# is a number which is the sum of the following values: 1 to enable
# general debug messages, 2 to request that the contents of received
# packets be printed, and 4 to request that the contents of transmitted
# packets be printed.
#kdebug n
..]

pppd options:
[... 
debug  Enables connection debugging facilities.   If  this
              option  is given, pppd will log the contents of all
              control packets sent  or  received  in  a  readable
              form.   The  packets are logged through syslog with
              facility daemon and level debug.  This  information
              can  be  directed to a file by setting up /etc/sys�
              log.conf appropriately (see syslog.conf(5)).
...]

syslog.conf ipppd:
local2.*		/var/log/debug.log

syslog.conf pppd:
daemon.debug		/var/log/debug.log


dann �ber eine weitere ssh/telnet session mit "tail -f
/var/log/debug.log" anschauen

Gr�sse Mike
Technical Details
Message-ID: <37C9B078.F4953875@thomi.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Pine.LNX.4.10.9908272325400.10041-100000@guv.ethz.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f4b73,b3ddf5db456086eb
X-Google-Attributes: gidf4b73,public
From: Mike Thomi <michael@thomi.net>
Subject: Re: Pipes, Devices
Date: 1999/08/30
Message-ID: <37C9B078.F4953875@thomi.net>
X-Deja-AN: 518657000
Content-Transfer-Encoding: 8bit
References: <Pine.LNX.4.10.9908272325400.10041-100000@guv.ethz.ch>
X-LoadAVG: 1.20, 1.25, 1.24
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: usenet@sunrise.ch
X-Trace: news1.sunrise.ch 935968297 8157 194.230.227.33 (29 Aug 1999 23:11:37 GMT)
Organization: private
Mime-Version: 1.0
User-Agent: sne_push/v0.1a (un*x)
NNTP-Posting-Date: 29 Aug 1999 23:11:37 GMT
Newsgroups: ch.comp.os.linux