Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:wol [2015/07/24 14:49] dotolifaq:wol [2015/07/24 14:59] (current) dotoli
Line 1: Line 1:
 How to use WOL How to use WOL
  
-cli:+**cli:** 
 telnet /ssh -->Router (root/yourpassword)  telnet /ssh -->Router (root/yourpassword) 
 +
 ether-wake -i lan0 00:11:22:33:44:55 ether-wake -i lan0 00:11:22:33:44:55
  
 --------------------------- ---------------------------
  
-SDK script ether-wake.are:+**SDK script ether-wake.are:** 
 if (nb_etherwake("11:22:33:44:55:66", "LAN1") != 0) { if (nb_etherwake("11:22:33:44:55:66", "LAN1") != 0) {
 +
   nb_syslog("Unable to send WakeOnLan packet");   nb_syslog("Unable to send WakeOnLan packet");
 +
   exit(1);   exit(1);
 +
 } }
  
 nb_syslog("WakeOnLan packet has been sent"); nb_syslog("WakeOnLan packet has been sent");
 +
 exit(0); exit(0);