mtchang / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

wake-on-lan problem #934

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Не работает функция Wake-up в веб интерфейсе.
Кажется в user/httpd/web_ex.c в функции wan_action_hook:
if (wol_mac[0])
  sys_result = doSystem("/usr/bin/ether-wake -i %s %s", IFNAME_BR, wol_mac);

должно быть "/usr/bin/ether-wake -b -i %s %s". Т.е. не 
хватает параметра '-b'.

Original issue reported on code.google.com by d...@soulblader.com on 13 Aug 2013 at 1:08

GoogleCodeExporter commented 9 years ago
Ключ -b шлет magic packet броадкастом. Помогает, 
если отсутствует запись в ARP таблице. Можно 
добавить.

Original comment by andy.pad...@gmail.com on 13 Aug 2013 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by andy.pad...@gmail.com on 13 Aug 2013 at 2:25

GoogleCodeExporter commented 9 years ago
Пасиб ;)
Я проверил - запись в таблице есть для 
хоста. Отправил запрос без '-b'. Не "будится"...

Original comment by d...@soulblader.com on 13 Aug 2013 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by d...@soulblader.com on 18 Aug 2013 at 7:03