network boot script & PPP
conathan at gmail.com
Sat Oct 2 22:58:42 PDT 2004
On Sat, 02 Oct 2004 22:01:16 -0700, Kevin P. Fleming
<kpfleming at linuxfromscratch.org> wrote:
> Laurens Blankers wrote:
> > The problem is that this never gets executed because the 'ifup' script
> > returns the following error:
> > Interface ppp0 doesn't exist
> This is a failing that exists in the current network bootscripts; they
> can't handle services that create network interfaces in all cases,
> because they expect the interface to be existant before any service
> scripts are run.
> I think the simplest solution to this problem will be something like
> defining a "magic" filename that tells the ifup/ifdown script that this
> particular file is actually going to create the interface, and don't
> check for the interface existence until after the service has been run.
> Something like:
> /etc/sysconfig/network-devices/ifconfig.ppp0/create (which would have
> SERVICE=ppp in it)
> However, this complicates the scripts a bit...
I'm beginning to wonder if that check is even worth it...
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
Nathan Coulson (conathan)
nathan at linuxfromscratch org
conathan at gmail com
More information about the lfs-dev