Niels Terp wrote:
> I have created the ifup and ifdown scripts suggested in the link above (and
> placed them in /sbin - I guess this is correct ?). But on boot there is some
> of the variables used in the scripts that are not found. I think these
> scripts are for an old version of LFS ?

I have played with bonding on my own laptop.

On the internet access side I have an adsl box having 192.168.1.1 as 
private address. The laptop has an ethernet interface called eth0 
(r8169) and a wifi interface called wlan0 (ath9k). eth0 and wlan0 are 
SLAVE, bond0 is MASTER.

.Bonding mode is the default one: balance-rr

.bond0 settings are entered in /etc/sysconfig/ifconfig.bond0
ONBOOT="yes"
IFACE="bond0"
   IP="192.168.1.2"
BROADCAST="192.168.1.255"
   GATEWAY="192.168.1.1"
   PREFIX="24"
   SERVICE="ipv4-static"

./etc/sysconfig/ifconfig.eth0 is
   ONBOOT="yes"
   IFACE="eth0"

(ifdown complains there is no SERVICE in this one)

./etc/sysconfig/ifconfig.wlan0is
   ONBOOT="yes"
   IFACE="wlan0"
   SERVICE="wpa"

I have not at this stage modified ifup but I added these two lines to 
/etc/rc.d/rc.local:

   ifenslave bond0 eth0
   ifenslave bond0 wlan0

Pierre



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to