tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: interface name optional in wake(8)

Am 03.01.2010 um 21:00 schrieb David Young:

> On Sun, Jan 03, 2010 at 11:19:53AM +0100, Marc Balmer wrote:
>> Make the interface name argument to wake(8) optional. If the first argument
>> given to wake(8) is not the name of a local ethernet interface, wake(8)
>> determines the first ethernet device in the system and uses it instead.
> Why not send WoL packets to every active ethernet, instead?

the target will only be reachable by one.

> BTW, the notion of "the first ethernet device" is not well-defined.
> Best to say "an arbitrary ethernet device."  An ethernet can move from
> the head of the ifnet list to the tail under some circumstances.

yes.  it is actually the first suitable interface returned by getifaddrs()

> Dave
> -- 
> David Young             OJC Technologies
>      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index