On Wed, 20 Sep 2006 09:48:11 +0800, W.Kenworthy wrote:

> If I set the NIC to DHCP as you advise, you are implying that gentoo
> will handle the various fixed IP's, subnets, gateways and differing vpn
> schemes automaticly?  How can it do that?  Only some of the networks
> (only three in fact) use DHCP.

It will only do it automatically if there is a DHCP server on the
network. There is a fallback option in in Gentoo settings for when DHCP
fails.

> ifplugd looks interesting - possibly the best I can do will be to use
> ifplugd to trigger if-up and if-up will have to contain the various add
> ons like the vpns and service restarting with functions to detect which
> to run where.

Don't do that, it will conflict with Gentoo's setup. As I said before,
don't do anything with ifplugd beyond emerging it. The Gentoo scripts
detect it is there and use it. Put all your scripting in /etc/conf.d/net.

> No relief from the nightmare I am afraid ...

Why is this nightmare anything to do with Gentoo? If you connect to
networks that require manual configuration, you have to configure
manually. At least the functions in conf.d/net allow you to automate a
substantial part of the process.

Take a close look at /etc/conf.d/net.example, I think you'll find it can
do most, if not all, of what you want.


-- 
Neil Bothwick

You have a tendency to feel you are superior to most computers.

Attachment: signature.asc
Description: PGP signature

Reply via email to