Red Hat Bugzilla – Bug 78958
lcp-echo* options blocks pppd from connecting
Last modified: 2015-01-07 19:02:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016
Description of problem:
I have configured pppd to call my ISP through a USB-connected serial device. The
connection script works OK. However, if I add the lcp-echo* options in order to
supervise my connection which does not handle DCD/DTR, the connection fails. The
logfile shows that my system only sends lcp-echo-request, nothing else (it
should configure the link)
Version-Release number of selected component (if applicable):ppp-2.4.1-2
Steps to Reproduce:
1.Create a ppp configuration which calls to my ISP
2.Verify that it works
3.Add lcp-echo-interval and lcp-echo-failure options to pppd (I used a
configuration under /etc/ppp/peers, but I presume using PPPOPTIONS
in ifcfg-ppp0 will give the same result)
4 Try to connect, watch failere
5 If not done, add 'debug' option, configure syslog to handle
messages if not done.
6 Watch /var/log/messages, nothing but lcp-echo-request.
Actual Results: As above: no connection, just lcp-echo-requests in
Expected Results: Connection OK, normal connection dialog logged by syslog with
interspersed lcp-echo-requests. Also: PPP link disconnected if physical link
broken despite lack of correct hardware signals (DCD/DSR/DTR) handling.
A typical notebook setup: No fixed serial port, but a USB one on the machine.
Connection through a cellular phone to ISP
pppd version 2.4.1
Oops, don't know why, but now it works for me. Close the bug, I will reopen it
if it occur again (and I understand why...)