Subject: Re: cellphone modem troubles
To: Ignatios Souvatzis <is@netbsd.org>
From: Matthias Ferdinand <mf+tech-net@mfedv.net>
List: tech-net
Date: 01/17/2007 02:29:27
--On Dienstag, Januar 16, 2007 16:02:24 +0100 Ignatios Souvatzis 
<is@netbsd.org> wrote:
>> Some other oddity in pppd: no matter how many "debug" options I give it,
>> it does not show negotiations in the log, I only see kernel packet dumps
>> from "kdebug 7".
>
> kdebug N messages come from the kernel and are logged with "kernel.debug".
> High level debug messages about negoiation come from pppd and are logged
> with daemon.debug; you have to edit /etc/syslog.conf to write those
> messages somehwere, and then "/etc/rc.d/syslog restart" to see them.

Does not seem to work:

bash-3.1# grep debug /etc/syslog.conf
kern.debug                                              /var/log/messages
*.debug                                                 /var/log/debuglog

But no negotiations in /var/log/debuglog (4x "debug" in config):

...
Jan 17 00:35:57 shlab pppd[673]: Serial connection established.
Jan 17 00:35:57 shlab pppd[673]: Using interface ppp0
Jan 17 00:35:57 shlab pppd[673]: Connect: ppp0 <--> /dev/tty00
Jan 17 00:35:58 shlab /netbsd: ppp0 output: 
ff03c021010100180104022802060000000005067eff8b1e07020802
Jan 17 00:36:00 shlab /netbsd: ppp0: bad protocol 206c
Jan 17 00:36:00 shlab /netbsd: ppp0: bad fcs 90f1
Jan 17 00:36:00 shlab /netbsd: ppp0: got 28 bytes
Jan 17 00:36:00 shlab /netbsd: 
ff03c02101010018020600000000050653f1c2cf070208020304c023
Jan 17 00:36:00 shlab /netbsd: ppp0 output: 
ff03c02102010018020600000000050653f1c2cf070208020304c023
Jan 17 00:36:01 shlab /netbsd: ppp0 output: 
ff03c021010100180104022802060000000005067eff8b1e07020802
Jan 17 00:36:02 shlab /netbsd: ppp0: got 28 bytes
Jan 17 00:36:02 shlab /netbsd: 
ff03c021020100180104022802060000000005067eff8b1e07020802
Jan 17 00:36:02 shlab /netbsd: nd6_setmtu0: new link MTU on ppp0 (552) is 
too small for IPv6 which needs 1280
...

Best regards
Matthias