Re: RFC: new network config
On Mon, Mar 08, 1999 at 12:08:02AM -0600, Rob Browning wrote:
> Dialup/ppp users can usually benefit from running bind (caching only)
> to speedup name lookups, but if you configure bind to run, then when
Well, I don't think that the speed improve is general that great. Especially if
you use the DNS server of your local provider.
But ok, might be that you're a special case. Anyways my scripts gives you
the following way of handle the situation:
####### /etc/interfaces #########
ppp0 \
noauto=yes \
startscript="/usr/bin/pon" \
stopscript="/usr/bin/poff"
As you can imaging, you can enter here what you want :-)
I fear that I can't implement more because I had to decide:
if not ethernet and not token ring and not .... then
fiddle around with /etc/host.conf
fi
And that's no good.
> the machine first starts up, many of the daemons (ntpdate, nfs
> possibly, etc.) and everything else, until you actually connect to the
> net, will hang while waiting on bind which (for some reason) can't
> figure out that it has no interfaces and return immediately.
this is called timeout :-) I would suggest no to call ntpdate if you can't
reach the host you configured but instead put it in a kind of
/usr/local/bin/ppp-on...
Sorry, if I couldn't help you very much :-(
But if you have other ideas or I have overlooked something just reply.
> Thanks
> Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
read you,
-christian-
--
Linux - the choice of the GNU generation. Join the Debian Project
http://www.debian.org
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20 D2 A1 F5 16 C4 C9 D4 D3 1024/925BCB55 1997/11/01
Reply to: