Re: dial-on-demand changed?
john s jacobs anderson on Tue 15 Feb:
> ...After an `apt-get
> dist-upgrade` late last week or early this week (possibly Sunday?),
> the handling of dial-on-demand PPP appears to have changed.
Only just started using `demand' myself, so I can't speak for how it
used to work, but my dialup currently behaves as you describe:
> ...giving the pon command would start pppd, but nothing
> else would occur until data needed to be sent. The system would then
> dial-out...
Have you tried causing network traffic to see what happens? If pppd
is trying to dial out but failing to negotiate a connection, you may
need to enable the `ipcp-accept-local' and `ipcp-accept-remote'
options so pppd will accept whatever IPs your ISP assigns. `pon' will
still set local & remote IPs initially, but the real connection will
override them when it comes up.
Set the options by uncommenting them in /etc/ppp/options, or for
individual dialup configs by appending them after the pppconfig
generated lines in /etc/ppp/peers/provider (or other provider name).
I also like to comment out the default `lcp-echo-*' and enable `idle
300' so pppd will automatically drop the physical connection if no
data is sent or received for 5 minutes -- your take on this will
depend on whether you live in some benighted nation where calls to
ISPs cost by the minute.
Regards,
--
Brett
Reply to: