← Back to team overview

epoptes team mailing list archive

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

 

the patch

** Patch added: "wol.patch"
   https://bugs.launchpad.net/epoptes/+bug/1341278/+attachment/4222127/+files/wol.patch

-- 
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