Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
faq:wol [2015/07/24 14:49]
dotoli
faq:wol [2015/07/24 14:58]
dotoli
Line 2: Line 2:
  
 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
  
Line 9: Line 11:
 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);