ether-wake in BusyBox

Denys Vlasenko vda.linux at googlemail.com
Mon Oct 14 16:50:16 UTC 2013


On Wednesday 09 October 2013 17:41, Francesco Colista wrote:
> Hi all.
> 
> I'm getting crazy in make ether-wake working with bonding interface.
> 
> I've eth0 and eth1 bonded together with bond0 interface.
> On that interface i've several vlans:
> bond0.10; bond0.20 and so on.
> 
> With:
> 
> ether-wake -i bond0.10 a4:1f:72:56:78:b3  (this mac is in bond0.10 vlan)
> 
> I can't see any magic packet going out from that interface.

I don't have a similar setup to reproduce, you need to do some
investigation yourself.

How do you watch for the magic packet to be on the wire?

Can you post a "strace -s99 -tt" log of your command?

Does "ether-wake -i bond0 ..." work (i.e. is packet sent over
non-VLAN bonded interface)?
Does it work on eth0 and eth1 (it should, but worth verifying
just in case)?

What kernel do you have?

Note that networking/ether-wake.c has some debugging code -
see "#ifdef DEBUG" lines in it. You can recompile it
so that it is much more talkative.


More information about the busybox mailing list