On Sun, 11 Nov 2007 15:16:14 +0100, Jeroen Geilman wrote:
> Michal Bozon wrote:
>> I have a MIPS-based router running proprietary linux system with shell
>> access. It contains almost only busybox. I want to use wake-on-lan
>> function, unfortunately the ether-wake utility is not included. Is it
>
>> Unfortunately there is not something like /dev/eth0 device, where I could
>> send a magic packet (whose format is known and simple)
>
> Of course there is - it is a network device, yes ?
> The WOL magic packet is sent to the device's MAC address, and has
> nothing to do with TCP/IP.
>
> If the router has this ability (which I *very* much doubt) then sending
> the magic packet is all you need to do.
>
> If you mean sending a WOL packet *from* this device (but you're not
> saying that), the same applies: construct the magic packet and netcat it
> out of the interface.
Yas, I want to send the packet from the router. Do you see netcat in the
list of available utilities ?
>
> J.
|