network boot script & PPP

Laurens Blankers laurens.blankers at
Sun Oct 3 01:41:35 PDT 2004

> So the issue is not the bootscripts, it's the way ppp is configured.

No matter how PPP is configured it WON'T work. The problem is with the
following lines in 'ifup':

                       if ip link show $1 > /dev/null 2>&1; then
                                bring_link_up $1
$network_devices/services/${SERVICE} $1 up
                                echo "Interface $1 doesn't exist"
                                print_status warning not_available

It checks whether the ppp0 interface exists by running 'ip link show
ppp0'. 'ip' obviously returns false, because ppp0 is not yet created
by pppd. Resulting in pppd not being executed at all. Chicken-and-egg.

So it isn't a problem of configuring ppp, unless you mean changing
they way the linux kernel handles ppp interfaces, but that is a bit
beyond my abbilities.


More information about the lfs-dev mailing list