network boot script & PPP

Jim Gifford lfs at
Sun Oct 3 02:07:20 PDT 2004

Laurens Blankers wrote:

>>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
>                                IFCONFIG=$file
>$network_devices/services/${SERVICE} $1 up
>                        else
>                                echo "Interface $1 doesn't exist"
>                                print_status warning not_available
>                        fi
>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.
PPP should never be using ifup, that's my point. If you follow the howto 
for PPP, it instructs you on creating a ppp-on script for dialup 

Here is the link to the ppp-on script

jim at
lfs at

LFS User # 2577
Registered Linux User # 299986

FWD: 275410
IPKall: 360-968-1517

More information about the lfs-dev mailing list