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.
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. No relief from the nightmare I am afraid ... BillK On Wed, 2006-09-20 at 01:05 +0100, Neil Bothwick wrote: > On Wed, 20 Sep 2006 06:58:11 +0800, W.Kenworthy wrote: > > > Also, is there an integrated way to plug in a network cable and have a > > config RELIABLY recognised and trigger the necessary actions? Its not a > > good look to arrive at lecture in front of 30-50 people and struggle to > > connect to the local network, which seems par for the course for gentoo! > > emerge ifplugd, but don't try to configure it, Gentoo's networking > scripts handle that automatically. > > Set your wired interface to use DHCP and it should set itself up > automatically. If you want something else done when connecting or > disconnecting the cable, such as shutting down wireless or restarting > services, look at the preup/postup/predown/postdown functions > in /etc/conf.d/net.example. > > -- gentoo-user@gentoo.org mailing list