FS#35307 - [ethtool] 1:3.9-1 breaks Wake On Lan

Attached to Project: Arch Linux
Opened by Arguggi Argu (Arguggi) - Wednesday, 15 May 2013, 10:43 GMT
Last edited by Ionut Biru (wonder) - Thursday, 16 May 2013, 05:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After upgrading from ethtool 1:3.8-1 to ethtool 1:3.9-1 Wake on Lan has stopped working.
I send the magic packet from another pc and nothing happens.

I tried compiling the new version (1:3.9-1) from source and it works.
Downgrading from 1:3.9-1 to 1:3.8-1 also fixes the problem.
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 16 May 2013, 05:03 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Wednesday, 15 May 2013, 19:44 GMT
please report this issue upstream.

https://www.kernel.org/pub/software/network/ethtool/
Comment by Arguggi Argu (Arguggi) - Wednesday, 15 May 2013, 20:09 GMT
I'll report it upstream.

I first reported it here because I compiled it from source and installed in one of my home subdirectories and created a link in /usr/sbin/ and had no problems.
If I compile and install it in /usr/sbin it stops working.
Comment by Ionut Biru (wonder) - Wednesday, 15 May 2013, 20:50 GMT
please paste the report link in here to follow it.
Comment by Arguggi Argu (Arguggi) - Wednesday, 15 May 2013, 21:33 GMT
No need to report it upsteam, I found what caused the bug.

The Wake on Lan setting has to be updated at every boot so I created a systemd service with this:

ExecStart=/usr/sbin/ethtool -s %i wol g

When updating to ethtool 1:3.9-1 pacman installs it in /usr/bin/ and not in /usr/sbin/ so the service fails and Wake on Lan stops working.

I updated the service file and now everything is working fine.

Loading...