I imagined that a kernel hack would be of use, but I&#39;m new in Netkit and this operation seems to be quite difficult.For example, which could be the files to edit?<br><br>Regards,<br><br>Emanuele<br><br><div class="gmail_quote">
2010/10/19 Massimo Rimondini <span dir="ltr">&lt;<a href="mailto:rimondin@dia.uniroma3.it">rimondin@dia.uniroma3.it</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
<tt>Dear Adrian,<br>
<br>
I confirm what you have said. Most likely, the only way would be to
write a kernel hack that brings the interface back up once a magic
packet is detected. But you would need the affected virtual machine to
be already running in order to detect the packet. Or, alternatively,
you could modify the uml_switch code to automatically bring up a
virtual machine once a specific magic packet mapped to that machine is
intercepted.<br>
<br>
Regards,<br><font color="#888888">
Massimo.<br>
<br>
</font></tt><div><div></div><div class="h5"><br>
On 10/19/2010 04:28 PM, Adrian van Dongen wrote:
<blockquote type="cite">Hi Emanuele,<br>
  <br>
I dont think that is possible because Wake-On-Lan (WOL) is a hardware
based feature. Your motherboard/nic does the handling of the magic
packet used for WOL, so there is no OS required. If you shut your nic
in your virtual machine (netkit) you simply do not receive any packets.
There is no hardware listening to handle the magic packet. In the case
of WOL it actually doesn&#39;t do anything with the nic, the motherboard
just receives the packet and returns itself from standy modus. As far
as i know Netkit does not support something like standby modus (Correct
me if i am wrong Massimo)<br>
  <br>
Sources:<br>
  <a href="http://en.wikipedia.org/wiki/Wake-on-LAN" target="_blank">http://en.wikipedia.org/wiki/Wake-on-LAN</a><br>
  <br>
Regards,<br>
  <br>
Adrian.<br>
  <br>
  <div class="gmail_quote">On Tue, Oct 19, 2010 at 4:07 PM, Emanuele
Colombo <span dir="ltr">&lt;<a href="mailto:lele.colombo86@gmail.com" target="_blank">lele.colombo86@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
I&#39;m working with Netkit and I&#39;m trying to make a fully functional
network in which interfaces or nodes can be shut down in order to
reduce power consumption. I&#39;d like to know if is it possible to use
Wake-On-LAN. I need this function because I don&#39;t know how to wake up a
virtual machine from another one if I shut down all its network
interfaces. Thank you for your help,<br>
    <font color="#888888">
    <br>
Emanuele<br>
    </font><br>
_______________________________________________<br>
Netkit.users mailing list<br>
    <a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a><br>
    <a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <pre><fieldset></fieldset>
_______________________________________________
Netkit.users mailing list
<a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</div></div></div>

<br>_______________________________________________<br>
Netkit.users mailing list<br>
<a href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a><br>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a><br>
<br></blockquote></div><br>