User Tools

Site Tools


doc:appunti:linux:sa:wakeonlan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:linux:sa:wakeonlan [2012/06/15 11:09] – [Wake-on-LAN proxy] niccolodoc:appunti:linux:sa:wakeonlan [2017/12/27 08:26] (current) – [Su un'altra macchina] niccolo
Line 12: Line 12:
   * Eseguire ''**etherwake 00:0D:87:44:B2:0A**''.   * Eseguire ''**etherwake 00:0D:87:44:B2:0A**''.
  
 +===== ethtool automatico al boot =====
 +
 +Con Debian vi sono almeno due modi per eseguire **ethtool** al bootstrap della macchina. Il sistema più tradizionale è utilizzare l'opzione **up** di **/etc/network/interfaces**, che esegue automaticamente un comando quando l'interfaccia viene abilitata:
 +
 +<file>
 +iface eth0 inet static 
 +        address 192.168.1..39 
 +        netmask 255.255.255.0 
 +        up /sbin/ethtool -s eth0 wol g || true
 +</file>
 +
 +Con versioni recenti del pacchetto **ethtool** vi è uno script che gestisce in automatico l'opzione, semplicemnte aggiungendo **ethernet-wol** nelle opzioni dell'interfaccia:
 +
 +<file>
 +iface eth0 inet dhcp
 +        ethernet-wol g
 +</file>
 ===== XBMC Remote ===== ===== XBMC Remote =====
  
doc/appunti/linux/sa/wakeonlan.1339751387.txt.gz · Last modified: 2012/06/15 11:09 by niccolo