我正在尝试在 Ubuntu 13.10 上查找 pppd 的调试信息。我尝试阅读手册,但发现日志的位置适用于旧版本的 Ubuntu。
我有输入
sudo pon dsl-provider debug
答案1
您可以在 /var/log/syslog 中看到 pppd 日志
less /var/log/syslog
或者
tail -f /var/log/syslog
或者
cat /var/log/syslog
答案2
来自 pppd 手册页:
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/syslog.conf
appropriately (see syslog.conf(5)).
因此默认情况下所有pppd
日志都将重定向到/var/log/syslog
。