← Back to team overview

epoptes team mailing list archive

[Bug 1341278] Re: Wake-on-LAN doesn't work for some NICs

 

I've been watching /usr/share/pyshared/epoptes/core/wol.py in my buntu gnome 14.04 64.
I think the problem comes from the function getInterfaceList() : it returns ['lo', '', ''] but it should return something like ['lo', 'eth0', ''].
I don't know which config file is parsed by this function, but if it's /etc/network/interfaces, I know that eth0 isn't defined in this file any more in Ubuntu.

-- 
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 for some NICs

Status in Epoptes:
  Confirmed

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