epoptes team mailing list archive
-
epoptes team
-
Mailing list archive
-
Message #01062
[Bug 1341278] Re: Wake-on-LAN doesn't work on 64-bit hosts
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.
--
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.
https://bugs.launchpad.net/bugs/1341278
Title:
Wake-on-LAN doesn't work on 64-bit hosts
Status in Epoptes:
Fix Committed
Bug description:
Hello
WoL in epoptes doesn't work for RTL8169. If I open a terminal and type
"wakeonlan XX:XX:XX:XX:XX" the client starts normally but I cant start
it from the epoptes sw pressing the Wake ON Lan Button.
$ sudo python /usr/share/pyshared/epoptes/core/wol.py
C4:54:44:52:46:34
Sending magic packet to C45444524634
Traceback (most recent call last):
File "/usr/share/pyshared/epoptes/core/wol.py", line 122, in <module>
wake_on_lan(mac)
File "/usr/share/pyshared/epoptes/core/wol.py", line 117, in wake_on_lan
for br in getBroadcastList():
File "/usr/share/pyshared/epoptes/core/wol.py", line 89, in getBroadcastList
brlist.append(getBroadcast(ifname))
File "/usr/share/pyshared/epoptes/core/wol.py", line 82, in getBroadcast
return socket.inet_ntoa(result[20:24])
TypeError: 'NoneType' object has no attribute '__getitem__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/1341278/+subscriptions
References