Skip to contentSkip to conversation

Bonding : Monitoring of 4965 wireless card

DISCUSSION [email protected] 1 participant 1 message Jan 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I try arp monitoring but it doesn't work! Test an ip, the interface must have an address, and the dhcpcd is launch by ifplugd if bond0 is linked ... so it goes around in circles.
So i return to miimon, and i figured out that bond detect when wlan0 is associated and set it active interface. But when i switch rf_kill it don't react. So i try to deassociate and magic it detect interface off!! I presume it is a bug of the wlan driver which not re-initialise the info on the wlan. So i made a small script in acpi to provide that behavior.

----- Message d'origine ----
De : Jay Vosburgh <[email protected]>
À : [email protected]
Cc : [email protected]
Envoyé le : Jeudi, 10 Janvier 2008, 21h59mn 20s
Objet : Re: Re : Re : Re : Re : Bonding : Monitoring of 4965 wireless card

Quoted 1 line · [email protected] wrote:

Yes it's what i'm looking for. I don't understand how to change the

arp_ip_target with the gateway, arp_ip_target is a module option.

If you're running a relatively recent bonding driver (version
3.0.0 or later), the arp_ip_targets can be changed on the fly via
sysfs,
e.g.,

echo +10.0.0.1 > /sys/class/net/bond0/bonding/arp_ip_target echo -20.0.0.1 > /sys/class/net/bond0/bonding/arp_ip_target

You can check out Documentation/networking/bonding.txt (in the
kernel source code) for more details.

    -J

---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]

Quoted 11 lines

----- Message d'origine ----
De : Jay Vosburgh <[email protected]>
À : [email protected]
Cc : [email protected]
Envoyé le : Jeudi, 10 Janvier 2008, 0h26mn 38s
Objet : Re: Re : Re : Re : Bonding : Monitoring of 4965 wireless card

Quoted 1 line · [email protected] wrote:

I mean that instead of arp test an ip in lan or else, i want it to

test 127.0.0.1 but in order to do this it must go out and re-enter

and

Quoted 15 lines

then use wlan0 to go out.

In other words, what I think you're saying (and I'm not entirely
sure here) is that you want probes to go to a remote node on the network, and back, without having to actually know the identity of the remote node (because, presumably, on a roaming type of wireless configuration, your gateway and whatnot can change from time to time).

Is that what you're looking for?

That isn't available now, but might be straightforward to plug
into the address update system to keep the arp_ip_target up to date as the current gateway as the gateway changes. I haven't looked into the details of doing that, but in theory it sounds straightforward.

Quoted 4 lines
   -J

---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

      _____________________________________________________________________________ 

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr