network boot script & PPP

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sat Oct 2 22:01:16 PDT 2004


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...



More information about the lfs-dev mailing list