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

Jesse Tie Ten Quee highos at
Sun Aug 6 21:44:45 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

And throw GATEWAY in /etc/sysconfig/network

Thx to Lostdog(on #LFS) to having trouble with his gateway... :^)

Jesse Tie Ten Quee - highos at highos dot com

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