[ltp] Network connection and bootup
Sun, 09 Nov 2003 03:47:14 +0100
> > Why don't you let your scripts be called from ipup/ipdown?
> These are Debian scripts yes? They do not exists in my LFS systems.
Ok, forget what I said. ;-)
I was quite sure that I stumbled into them some days ago on my LFS
system, but a closer look now proved me wrong. What I stumbled into was
ifup and ifdown in /etc/sysconfig/network-devices. They get launched by
/etc/rc.d/init.d/network, so you can call your scripts from them.
That means they will not get launched from ppp, cause that uses ipup and
ipdown as far as I know, and those two actually reside in /etc/ppp on
If you are using a pcmcia network adapter or some hotplugging you should
take a look at the according scripts. I know that the hotplug package
provides a standard interface for launching own apps (or originally it
is meant for user space drivers, but who cares?).
For pcmcia I don't know. There's the network script in /etc/pcmcia that
gets executed when a network adapter is inserted, but I think it doesn't
have something similar as ifup and ifdown, you'll have to implement this
on your own.
> Thanks, I will bear this in mind. Probably Debian or Redhat methodology
Nope. ;-) Sorry for the misguidance.