[Bug 515315] Re: WiFi/ethernet bonding config fails to launch wpa_supplicant

Stéphane Graber stgraber at stgraber.org
Fri Jun 29 19:20:23 UTC 2012


To avoid race conditions a config like the one below is recommended:
auto eth0
iface eth0 inet manual
    bond-master bond0

iface wlan1 inet manual
    bond-master bond0
    bond-give-a-chance 10
    wpa-bridge bond0
    wpa-ssid ASUS
    wpa-psk ****
    wpa-key-mgmt WPA-PSK
    wpa-group CCMP TKIP

auto bond0
iface bond0 inet dhcp
    bond-slaves none
    bond-mode 1
    bond-miimon 100


I still doubt this will work though as your bond is configured to use eth0 as a primary, meaning that it'll clone the mac of eth0 that will then be rejected by your wireless access point and likely confuse wpa_supplicant.

** Changed in: ifenslave-2.6 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/515315

Title:
  WiFi/ethernet bonding config fails to launch wpa_supplicant

Status in “ifenslave-2.6” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: ifupdown

  Versions:
  Kubuntu 9.10,
  ifupdown 0.6.8ubuntu21

  I'm trying to use bonding to provide seamless failover between the
  wired and wireless interfaces. Wired>eth0 wireless>wlan1. Since
  network manager doesn't support bonding yet, I stop it (# stop
  network-manager) and (try to) manage the interfaces using ifup and
  ifdown utilities. Using the example in
  /usr/share/doc/ifenslave-2.6/examples/ethernet+wifi, I set up my
  interfaces file:

  auto lo
  iface lo inet loopback

  auto bond0
  iface bond0 inet dhcp
          bond-slaves eth0 wlan1
          bond-mode 1
          bond-miimon 100
          bond-primary eth0
  iface wlan1 inet manual
          bond-give-a-chance 10
          wpa-bridge bond0
          wpa-ssid ASUS
          wpa-psk ****
          wpa-key-mgmt WPA-PSK
          wpa-group CCMP TKIP

  My problem is that with this setup, running ifup -v bond0 shows that
  wpa_supplicant is never run, thus leaving the wireless interface down.
  Is there something I'm missing? Using the interfaces file to connect
  directly (no bonding interface) with wlan1 works fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/515315/+subscriptions




More information about the foundations-bugs mailing list