pppd - lcp

pppd - lcp

linux-logo

Whenever you establish a ppp connection via modem to the internet, under SuSE 7.2 / 7.3 (and possibly under many other systems as well) the files /var/log/messages and /var/log/localmessages get larger and larger with messages as follows:

Jul 11 00:56:37 og pppd[1838]: sent [LCP EchoReq id=0x8 magic=0x4e4ee2fd]
Jul 11 00:56:37 og pppd[1838]: rcvd [LCP EchoRep id=0x8 magic=0xa125b3bb]
After having searched many web-sites with Google, I found many questions but no really useful answers.
However, a closer look at the file /etc/ppp/options revealed, that one can increase the time interval when LCP is sending an echo-request in order to verify the established connection. I have modified the value from 30 to 300 seconds and the log-files are increasing slower than before. Change the appropriate entry as follows:
lcp-echo-interval 300
However, I would prefer to keep the value lower, but without having the output logged into the log-files...
WOW! I got a good hint from Melvin in Germany: Modify the file /etc/ppp/options and comment the 'debug' option out. Modify the line beginning with
debug
so that it looks as follows:
#debug

Thanks, Melvin!


Last Update: 19Dec2001 uk - Created: 11Jul2001