Chapter 7, 'Creating the /etc/init.d/ethnet script'

Gerard Beekmans gerard at
Mon Aug 7 06:19:44 PDT 2000

> Dunno if i'm way off here but i've noticed this in prior version of LFS
> (at least in 2.3.5b) but seemed to have forgetten about it.
> Right after you bring up eth0 it would be nice to have a gateway, no?
> echo -n "Bringing up the default gateway..."
> /sbin/route add default gw $GATEWAY metric 1
> evaluate_eval
> And throw GATEWAY in /etc/sysconfig/network
> Thx to Lostdog(on #LFS) to having trouble with his gateway... :^)

Ok, I think like this: not everybody needs a gateway. If you need one,
though, you'll have to set it up yourself.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list