← Back to team overview

epoptes team mailing list archive

[Bug 1341278] Re: Wake-on-LAN doesn't work on 64-bit hosts


Hi... I want share how to fix this bug if you want need it quickly. I've
added a library called netifaces because when i use alkisg's patch,
object netifaces not defined. I google it and found this module. Try to
workaround to install the module and try to WOL my client from Epoptes
GUI and it works! Here's the fix:

1. Use alkisg's fix above and the current file is in /usr/lib/python2.7

2. In script, add import netifaces below import fcntl

3. To install netifaces module, i use pip. Install the pip from
terminal: sudo apt-get install python-pip python-dev.

4. Type in terminal: pip install netifaces

If you open the GUI while do this fix, I recommend to re-open the GUI.
Then, try the WOL and it should be fixed for now. Sorry for my bad
explanation because i'm a newcomer ._.

You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.

  Wake-on-LAN doesn't work on 64-bit hosts

Status in Epoptes:
  Fix Released

Bug description:

  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

  Sending magic packet to C45444524634
  Traceback (most recent call last):
    File "/usr/share/pyshared/epoptes/core/wol.py", line 122, in <module>
    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
    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: