[svlug] pppd exit after it failed to connect 8 times
Dagmar d'Surreal
dagmar at dsurreal.org
Thu Mar 22 13:10:01 PST 2001
On Thu, 22 Mar 2001, Sean Cheng wrote:
> Hi, my company uses a Linux box (RH6.2), which runs squid and masquerading,
> and a 56k modem to dial up. It works fine until something bothering me
> happened 3 days ago.
>
> For some reason, the login could not succeed (error message:LCP: timeout
> sending Config-Requests). After pppd trying 8 times, it exit! I use 'demand'
> in /etc/ppp/options which implied 'persist'. So I assume pppd should stay
> there forever waiting to dial on demand. Am I right? If pppd exits after
> failing to connect for several times, that means someone has to stay here to
> watch over it and run it. That bothers me.
>
> Sean Cheng
> Octalibay Corporation
> 408-980-8996 ext 35
> 1700 Wyatt Dr. Suite 1
> Santa Clara, CA 95054
>
>
> -----/etc/ppp/options
> /dev/ttyS0
> 115200
> mru 1500
> noauth
> lock
> crtscts
> modem
> asyncmap 0
> defaultroute
> ipcp-accept-local
> ipcp-accept-remote
> demand
> holdoff 10
> idle 600
> name login
> pap-timeout 60
> ----------------------------
Add "kdebug 2" to your options and you'll get more information about what
is causing the LCP negotiation problems. Solve that and the question of
whether or not pppd will eventually go away becomes moot.
More information about the svlug
mailing list