Comment 11 for bug 1341278

Revision history for this message
X-Dimension (x-dimension) wrote :

Sorry for the late answer.

Wake on LAN still don't work for me on Ubuntu 14.04.3 i386 with Epoptes 0.5.8-1 from Epoptes stable PPA.

When i run the wol.py script from a terminal i get:

$python /usr/lib/python2.7/dist-packages/epoptes/core/wol.py 00:xx:xx:xx:xx:xx
Sending magic packet to 00xxxxxxxxxx
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/epoptes/core/wol.py", line 71, in <module>
    wake_on_lan(mac)
  File "/usr/lib/python2.7/dist-packages/epoptes/core/wol.py", line 66, in wake_on_lan
    for br in getBroadcastList():
  File "/usr/lib/python2.7/dist-packages/epoptes/core/wol.py", line 35, in getBroadcastList
    for addr in netifaces.ifaddresses(ifname)[netifaces.AF_INET]:
KeyError: 2

We don't use IPv6 on our network.

Maybe it has something to do with the dual port Realtek NIC that our Zotac ZBOX is using? I can't reproduce this problem on a computer with a single port Realtek NIC.
Our system: Zotac ZBOX ID91 / Realtek RTL8111

Wake on LAN itself works fine on the ZBOX when using "wakeonlan 00:xx:xx:xx:xx:xx", but not in Epoptes.