-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 25 September 2003 06:31, Hylton Conacher (ZR1HPC) wrote:
Tnx Carlos,
Carlos E. R. wrote:
The 03.09.24 at 11:15, Hylton Conacher (ZR1HPC) wrote:
I need to find out why my pppd daemon is dying when the modem is doing its handshaking ritual. I would like to look in the logs but I do not know where to look other than /var/log.
/var/log/messages
How can I get the system to NOT assume ppp0 is already up, as this would seem to be the problem, I think?Below is an excerpt from my mesages file so that the double try can be seen in trying to connect.
Output of /var/log/messages below: pppd 2.4.1 started by hylton, uid 501 Sep 24 11:09:09 localhost pppd[2173]: Using interface ppp0 Sep 24 11:09:09 localhost pppd[2173]: Connect: ppp0 <--> /dev/tts/2 Sep 24 11:09:09 localhost /etc/hotplug/net.agent: assuming ppp0 is already up Sep 24 11:09:18 localhost pppd[2173]: Hangup (SIGHUP) Sep 24 11:09:18 localhost pppd[2173]: Modem hangup Sep 24 11:09:18 localhost pppd[2173]: Connection terminated. Sep 24 11:09:18 localhost pppd[2173]: Exit. Sep 24 11:09:19 localhost /etc/hotplug/net.agent: NET unregister event not supported Sep 24 11:09:55 localhost pppd[2192]: pppd 2.4.1 started by hylton, uid 501 Sep 24 11:09:55 localhost pppd[2192]: Using interface ppp0 Sep 24 11:09:55 localhost pppd[2192]: Connect: ppp0 <--> /dev/tts/2 Sep 24 11:09:55 localhost /etc/hotplug/net.agent: assuming ppp0 is already up Sep 24 11:09:59 localhost kernel: PPP BSD Compression module registered Sep 24 11:09:59 localhost kernel: PPP Deflate Compression module registered Sep 24 11:09:59 localhost pppd[2192]: local IP address 155.239.124.22 Sep 24 11:09:59 localhost pppd[2192]: remote IP address 155.239.125.254 Sep 24 11:09:59 localhost pppd[2192]: primary DNS address 196.25.1.11 Sep 24 11:09:59 localhost pppd[2192]: secondary DNS address 196.43.1.14
Also go to /etc/ppp/options and enable "debug".
It sounds like ppp0 is already up what does 'ifconfig' say
How do I enable 'debug' in the below file of /etc/ppp/options?
lock noauth noipdefault usepeerdns debug
- -- A child of five would understand this. Send someone to fetch a child of five. Groucho Marx - ---------------------------------------------------- This mail has been scanned for virus by AntiVir for UNIX Copyright (C) 1994-2003 by H+BEDV Datentechnik GmbH. PGP ID: 589F8449 Fingerprint: EB1C FACF 6BEB 540E 8AC0 F04E 2A25 A2F1 589F 8449 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/daowKiWi8VifhEkRAmHdAKCjPu7qT1DkXCXtRQLn8SdI31nCEACdGpNh q9gNtbP/QHmB4D+vbLm7lE0= =0yPK -----END PGP SIGNATURE-----