Re: pppd and ttyS0 - AGRRH!
From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 04/05/05
- Next message: Michał Lesiak (bler): "Re: pppd and ttyS0 - AGRRH!"
- Previous message: Unruh: "Re: pppd and ttyS0 - AGRRH!"
- In reply to: Michał Lesiak (bler): "Re: pppd and ttyS0 - AGRRH!"
- Next in thread: Clifford Kite: "Re: pppd and ttyS0 - AGRRH!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Apr 2005 17:26:25 GMT
"Michał Lesiak (bler)" <michalusenet@blaair.eu.org> writes:
>Clifford Kite <kite@see.signature.id> wrote in
>news:0eeu2d.ps3.ln@corncob.inetport.tld:
>> You might try gathering more information about what is happening.
>>
>> To see what PPP negotiation messages there are, if any, configure
>> pppd with the "debug" option, add the line
>>
>> daemon.*;local2.* /var/log/ppp.log
>>
>> to /etc/syslog.conf, and then do "killall -HUP syslogd" to make
>> syslogd reread syslog.conf. Posting a cut-and-paste copy, including
>> timestamps, of ppp.log might help us better understand the problem.
>I'm sorry for perhaps a dumb question, but is the above any different from
>the output I'm getting from grep pppd /var/log/messages? I've tried of
>course the 'debug' nad 'kdebug' options from pppd, but that still leaves me
>only with one line, stating that pppd was started.
Yes. You MUST do all three-- switch on debugging for pppd, tell syslog to
log the debug output, and finally restart syslogd.
>
>> It's been awhile since I played with mgetty and then only to defeat
>> telemarketers. But info mgetty suggests the mgetty command line
>> parameter "-x 4" for mgetty/modem messages. The mgetty log file
>> should be /var/log/mgetty.ttyS0.
>Being desperate, I'm using -x 9:
>04/05 11:49:01 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd'
>04/05 11:49:01 yS0 setenv: 'CALLER_ID=none'
>04/05 11:49:01 yS0 setenv: 'CONNECT='
>04/05 11:49:01 yS0 setenv: 'DEVICE=ttyS0'
>04/05 11:49:01 ##### data dev=ttyS0, pid=4193, caller='none', conn='',
>name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
So mgetty is starting pppd. Good. Now lets see what the log output from
pppd. It is NOT just one line. If you only have one line, you have not set
it up properly.
>--
>M.
- Next message: Michał Lesiak (bler): "Re: pppd and ttyS0 - AGRRH!"
- Previous message: Unruh: "Re: pppd and ttyS0 - AGRRH!"
- In reply to: Michał Lesiak (bler): "Re: pppd and ttyS0 - AGRRH!"
- Next in thread: Clifford Kite: "Re: pppd and ttyS0 - AGRRH!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|