antrew DD-WRT Novice
Joined: 06 Mar 2009 Posts: 2
|
Posted: Fri Mar 06, 2009 7:10 Post subject: no pppd debug in syslog |
|
Hardware: D-Link DIR-320
Firmware: DD-WRT v24-sp2 (02/06/09) mega (from eko, booting from USB flash)
The problem: there are no debug messages from pppd in syslog.
There are debug messages from pptp. I've also used logger to check that syslog shows messages with debug level.
I run pppd manualy this way:
Code: |
/usr/sbin/pppd nodetach debug file /tmp/ppp/options logfile /tmp/ppp/log ; echo $?
|
/tmp/ppp/options contents:
Code: |
defaultroute
usepeerdns
pty 'pptp 10.255.0.2 --nolaunchpppd'
user 'ppphds2354_1'
nomppe
noccp
default-asyncmap
nopcomp
noaccomp
novj
nobsdcomp
nodeflate
lcp-echo-interval 0
noipdefault
lock
noauth
debug
kdebug 1
|
The syslog output:
Code: |
Jan 1 02:20:41 DD-WRT pppd[11538]: pppd 2.4.4 started by root, uid 0
Jan 1 02:20:41 DD-WRT pptp[11541]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jan 1 02:20:41 DD-WRT pptp[11543]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 1 02:20:41 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jan 1 02:20:41 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 23290).
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:929]: Call disconnect notification received (call id 0)
Jan 1 02:20:42 DD-WRT pppd[11538]: Exit.
Jan 1 02:20:42 DD-WRT pptp[11541]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jan 1 02:20:42 DD-WRT pptp[11541]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_error:pptp_ctrl.c:199]: Result code is 3 'Administrative Shutdown'. Error code is 0, Cause code is 0
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control Connection Request.
Jan 1 02:20:42 DD-WRT pptp[11543]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
|
As you can see, there are only "started" and "exit" messages from pppd.
How do I manage to see the debug messages from pppd? |
|