Right now, I have a hackjob solution, but I'm wondering if there's a canonical way to make squid coexist peacefully with a dial-up PPP connection? If I try to start squid while ppp is down, it screams and dies, leaving
FATAL: Could not find any nameservers.
Please check your /etc/resolv.conf file
or use the 'dns_nameservers' option in squid.conf.
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
I have to start squid while my ppp connection is up in order to make it work. Right now, I have sudo /etc/init.d/squid start set to automagically run when KPPP starts the ppp connection, and sudo /etc/init.d/squid stop when KPPP brings it down. This works (most of the time,) but is IMHO ugly. I'd prefer to have squid running all the time, configured to automagically Do The Right Thing when the ppp connection goes up & down.
How do I configure squid to cope with a dialup connection?