Re: PPP on demand

From: Hermes (eu_at_nowhere.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 02:07:50 GMT

Clifford Kite wrote:

> If you want GUI configuration tools then Slackware isn't what you need
> for a "generic user."

Slackware is only the distro. This box is connected to a TV set and
is controlled by a remote. The user interacts with the application's GUI
interface, and never with the command line.

<snip>

So, here is my "currently final" solution:

1) /etc/resolv.conf is a symlink to /etc/ppp/resolv.conf
2) /etc/ppp/resolv.conf initially contains two valid nameservers
   (which hopefully will always be available on the web), plus the
   "options attempts:5" line. This makes it work for the first connection.
3) Implemented ip-up script that appends "options attempts:5" to
   /etc/ppp/resolv.conf, if DNS1 or DNS2 variable are defined. If
   either is defined it means pppd has replaced my original
   /etc/ppp/resolv.conf file and I need to put the options line back.

Works fine, now! The to further improvement I'd expect would be to
avoid the initial forced nameserver configuration, since the one I'm using
may disappear at some point...

Thanks, folks, I really appreciate your help!
-H