Re: pppd and ttyS0 - AGRRH!

From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 04/05/05


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.



Relevant Pages

  • PPPD and MGETTY
    ... PPPD and MGETTY ... On Linux hardware I have mgetty running looking for action with ISDN ... XP application connects and create socket and then system ...
    (comp.os.linux.embedded)
  • Re: Mgetty doesnt release port
    ... ]I am trying to run a linux box as a dial in and dial out server. ... What is happening is that mgetty is locking the port ... ]mgetty and pppd. ... Also pppd must use the lock file options ...
    (comp.os.linux.networking)
  • configuring mgetty and pppd
    ... I am trying to set up mgetty and pppd on a remote machine so that I ...
    (linux.redhat)
  • Re: PPPD and MGETTY
    ... I have already applied PPTP patch for PPPD but it still don't behave ... I know silly hack…..just because MS changed the authentication type to ... > That's what mgetty was written for. ... > then you most likely have a hardware problem with the modem or ISDN ...
    (comp.os.linux.embedded)
  • Re: pppd and ttyS0 - AGRRH!
    ... Michał Lesiak (bler) wrote: ... >>so we can see what the debug output is. ... here's what I get when I start pppd without the port parameter: ...
    (comp.os.linux.networking)