Le Vendredi 26 Juillet 2002 11:01, Heinz Bruederlin a �crit :
> Hello,
> I needed some debug output for pppd/pppoe, to get my T-DSL running.
> Eric Wolzak pointed me to docu at http://www.tldp.org and
> www.samba.org/ppp
>
> But the enabling of "debug 255" and "kdebug 1" didn't get any more
> information. Only "pppd[21436]: rcvd [LCP EchoRep id=0x1 magic=0x16..."
>
> Is debugging info enabled for Bering RC3 pppd ?
>From the README.Linux of ppp-2.4.1 source file:
<snip>
pppd connect 'chat -v "" AT OK ATDT5551212 ~' \
/dev/ttyS0 57600 crtscts debug defaultroute
Going through pppd's options in order:
connect 'chat ...' This gives a command to run to contact the
PPP server. Here the supplied 'chat' program is used to dial a
remote computer. The whole command is enclosed in single quotes
because pppd expects a one-word argument for the 'connect' option.
The options to 'chat' itself are:
-v verbose mode; log what we do to syslog
"" don't wait for any prompt, but instead...
AT send the string "AT"
OK expect the response "OK", then
ATDT5551212 dial the modem, then
~ wait for a ~ character, indicating the start
of a PPP frame from the server
/dev/ttyS0 specifies which serial port the modem is connected to
57600 specifies the baud rate to use
crtscts use hardware flow control using the RTS & CTS signals
debug log the PPP negotiation with syslog
defaultroute add default network route via the PPP link
Pppd will write error messages and debugging logs to the syslogd
daemon using the facility name "daemon". These messages may already
be logged to the console or to a file like /var/log/messages; consult
your /etc/syslog.conf file to see. If you want to make all pppd
messages go to a file such as /var/log/ppp-debug, add the line
daemon.* /var/log/ppp-debug
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is one or more tabs. Do not use spaces.
to syslog.conf; make sure to put one or more TAB characters (not
spaces!) between the two fields. Then you need to create an empty
/var/log/ppp-debug file with a command such as
touch /var/log/ppp-debug
and then restart syslogd, usually by sending it a SIGHUP signal with a
command like this:
killall -HUP syslogd
<snip>
Have you checked /var/log/daemon.log ?
Jacques
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html