/etc/init.d/ethnet

Bryan Dumm bdumm at bobby.bcpub.com
Mon Dec 4 12:17:19 PST 2000


On Monday 04 December 2000 21:23, you wrote:
> > case "1" in
> >     start)
> >         echo -n "Bringing up the eth0 interface..."
> >         /sbin/ifconfig eth0 $IP broadcast $BROADCAST netmask $NETMASK
> >         evaluate_retval
> >
> > 	if [ "$GATEWAY" != "" ]; then
> >           echo -n "Setting up routing for eth0 interface..."
> >           /sbin/route add default gw $GATEWAY metric 1
> >           evaluate_retval
> > 	fi
> >         ;;
> >
> >     stop)
> >
> >
> > 	J-F
>
> I like that proposal best. Consider it added to 2.4.4

I came up with an another one....

What about virtual/multiple ips?

The way RH etc. does it is taking all the eth0:x devices
in a directory and starts them up. How can LFS have 
this feature also????

Bryan

-----------------------------------
I don't actually believe in any "Internet". And I am 
highly suspicious of anyone who does.
-----------------------------------

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list