wake on lan not working if i turn of with ubuntu The 2019 Stack Overflow Developer Survey Results Are InHow to enable Wake On Lan (WOL) in Ubuntu 16.04Wake-on-lan under Ubuntu 12.04Wake-on-LAN quit working with latest kernel (Bionic)Wake On Lan Remote Times Out 18.04Powernap and Wake On LANWake-on-lan under Ubuntu 12.04Wake on Lan configure portWake on Lan on Ubuntu?Wake on LAN with MAAS stuck in commissioning (does not turn on the machine)Wake On Lan not workingHow do I enable Wake on LAN with Ubuntu?I've managed to completely bork my network connection in 18.04Wake On Lan not working on HPZ600Wake-on-LAN quit working with latest kernel (Bionic)

Why not take a picture of a closer black hole?

Keeping a retro style to sci-fi spaceships?

I am an eight letter word. What am I?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

A word that means fill it to the required quantity

Is it safe to harvest rainwater that fell on solar panels?

How to support a colleague who finds meetings extremely tiring?

Loose spokes after only a few rides

"as much details as you can remember"

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Why doesn't shell automatically fix "useless use of cat"?

How to display lines in a file like ls displays files in a directory?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Is bread bad for ducks?

Why can't devices on different VLANs, but on the same subnet, communicate?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Button changing its text & action. Good or terrible?

Star Trek - X-shaped Item on Regula/Orbital Office Starbases

APIPA and LAN Broadcast Domain

Can there be female White Walkers?

Match Roman Numerals

How much of the clove should I use when using big garlic heads?



wake on lan not working if i turn of with ubuntu



The 2019 Stack Overflow Developer Survey Results Are InHow to enable Wake On Lan (WOL) in Ubuntu 16.04Wake-on-lan under Ubuntu 12.04Wake-on-LAN quit working with latest kernel (Bionic)Wake On Lan Remote Times Out 18.04Powernap and Wake On LANWake-on-lan under Ubuntu 12.04Wake on Lan configure portWake on Lan on Ubuntu?Wake on LAN with MAAS stuck in commissioning (does not turn on the machine)Wake On Lan not workingHow do I enable Wake on LAN with Ubuntu?I've managed to completely bork my network connection in 18.04Wake On Lan not working on HPZ600Wake-on-LAN quit working with latest kernel (Bionic)



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I'm dual-booting ubuntu 18.04 and Windows 10. If I turn off my computer with Windows, I can turn it back on using wol. However, if I turn it off using Ubuntu the computer won't turn back on if I use wol.



Is there a way of fixing this?




Following this answer I tried the following but it did not work:



ignacio@ignacio-XPS-8930:~$ ifconfig 
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:cff:fea4:9a1e prefixlen 64 scopeid 0x20<link>
ether 02:42:0c:a4:9a:1e txqueuelen 0 (Ethernet)
RX packets 93 bytes 19417 (19.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 173 bytes 29457 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.31 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::955b:12c8:20b9:7645 prefixlen 64 scopeid 0x20<link>
ether d8:9e:f3:85:42:8a txqueuelen 1000 (Ethernet)
RX packets 2879 bytes 2068361 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2313 bytes 515874 (515.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 355 bytes 27658 (27.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 355 bytes 27658 (27.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth76213c1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5c2b:3aff:fea8:d68c prefixlen 64 scopeid 0x20<link>
ether 5e:2b:3a:a8:d6:8c txqueuelen 0 (Ethernet)
RX packets 93 bytes 20719 (20.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 214 bytes 34037 (34.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5c:ea:1d:4c:61:a7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ignacio@ignacio-XPS-8930:~$ ifconfig enp4s0 | grep "HWaddr" | awk 'print $5'
ignacio@ignacio-XPS-8930:~$ /sbin/ethtool -s enp4s0 wol g
Cannot get current wake-on-lan settings: Operation not permitted
not setting wol


I also tried with sudo:



ignacio@ignacio-XPS-8930:~/docker/greta$ sudo /sbin/ethtool -s enp4s0 wol g
[sudo] password for ignacio:
Cannot get current wake-on-lan settings: Operation not supported
not setting wol









share|improve this question
























  • This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

    – Organic Marble
    Jul 8 '18 at 17:58












  • I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

    – WinEunuuchs2Unix
    Jul 8 '18 at 18:04











  • I updated my question because ethtool is not working for me

    – Ignacio
    Jul 8 '18 at 18:36











  • You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

    – Organic Marble
    Jul 8 '18 at 19:29







  • 1





    Ok this is something different then.

    – Organic Marble
    Jul 8 '18 at 19:36

















2















I'm dual-booting ubuntu 18.04 and Windows 10. If I turn off my computer with Windows, I can turn it back on using wol. However, if I turn it off using Ubuntu the computer won't turn back on if I use wol.



Is there a way of fixing this?




Following this answer I tried the following but it did not work:



ignacio@ignacio-XPS-8930:~$ ifconfig 
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:cff:fea4:9a1e prefixlen 64 scopeid 0x20<link>
ether 02:42:0c:a4:9a:1e txqueuelen 0 (Ethernet)
RX packets 93 bytes 19417 (19.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 173 bytes 29457 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.31 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::955b:12c8:20b9:7645 prefixlen 64 scopeid 0x20<link>
ether d8:9e:f3:85:42:8a txqueuelen 1000 (Ethernet)
RX packets 2879 bytes 2068361 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2313 bytes 515874 (515.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 355 bytes 27658 (27.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 355 bytes 27658 (27.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth76213c1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5c2b:3aff:fea8:d68c prefixlen 64 scopeid 0x20<link>
ether 5e:2b:3a:a8:d6:8c txqueuelen 0 (Ethernet)
RX packets 93 bytes 20719 (20.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 214 bytes 34037 (34.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5c:ea:1d:4c:61:a7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ignacio@ignacio-XPS-8930:~$ ifconfig enp4s0 | grep "HWaddr" | awk 'print $5'
ignacio@ignacio-XPS-8930:~$ /sbin/ethtool -s enp4s0 wol g
Cannot get current wake-on-lan settings: Operation not permitted
not setting wol


I also tried with sudo:



ignacio@ignacio-XPS-8930:~/docker/greta$ sudo /sbin/ethtool -s enp4s0 wol g
[sudo] password for ignacio:
Cannot get current wake-on-lan settings: Operation not supported
not setting wol









share|improve this question
























  • This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

    – Organic Marble
    Jul 8 '18 at 17:58












  • I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

    – WinEunuuchs2Unix
    Jul 8 '18 at 18:04











  • I updated my question because ethtool is not working for me

    – Ignacio
    Jul 8 '18 at 18:36











  • You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

    – Organic Marble
    Jul 8 '18 at 19:29







  • 1





    Ok this is something different then.

    – Organic Marble
    Jul 8 '18 at 19:36













2












2








2


1






I'm dual-booting ubuntu 18.04 and Windows 10. If I turn off my computer with Windows, I can turn it back on using wol. However, if I turn it off using Ubuntu the computer won't turn back on if I use wol.



Is there a way of fixing this?




Following this answer I tried the following but it did not work:



ignacio@ignacio-XPS-8930:~$ ifconfig 
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:cff:fea4:9a1e prefixlen 64 scopeid 0x20<link>
ether 02:42:0c:a4:9a:1e txqueuelen 0 (Ethernet)
RX packets 93 bytes 19417 (19.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 173 bytes 29457 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.31 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::955b:12c8:20b9:7645 prefixlen 64 scopeid 0x20<link>
ether d8:9e:f3:85:42:8a txqueuelen 1000 (Ethernet)
RX packets 2879 bytes 2068361 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2313 bytes 515874 (515.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 355 bytes 27658 (27.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 355 bytes 27658 (27.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth76213c1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5c2b:3aff:fea8:d68c prefixlen 64 scopeid 0x20<link>
ether 5e:2b:3a:a8:d6:8c txqueuelen 0 (Ethernet)
RX packets 93 bytes 20719 (20.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 214 bytes 34037 (34.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5c:ea:1d:4c:61:a7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ignacio@ignacio-XPS-8930:~$ ifconfig enp4s0 | grep "HWaddr" | awk 'print $5'
ignacio@ignacio-XPS-8930:~$ /sbin/ethtool -s enp4s0 wol g
Cannot get current wake-on-lan settings: Operation not permitted
not setting wol


I also tried with sudo:



ignacio@ignacio-XPS-8930:~/docker/greta$ sudo /sbin/ethtool -s enp4s0 wol g
[sudo] password for ignacio:
Cannot get current wake-on-lan settings: Operation not supported
not setting wol









share|improve this question
















I'm dual-booting ubuntu 18.04 and Windows 10. If I turn off my computer with Windows, I can turn it back on using wol. However, if I turn it off using Ubuntu the computer won't turn back on if I use wol.



Is there a way of fixing this?




Following this answer I tried the following but it did not work:



ignacio@ignacio-XPS-8930:~$ ifconfig 
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:cff:fea4:9a1e prefixlen 64 scopeid 0x20<link>
ether 02:42:0c:a4:9a:1e txqueuelen 0 (Ethernet)
RX packets 93 bytes 19417 (19.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 173 bytes 29457 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.31 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::955b:12c8:20b9:7645 prefixlen 64 scopeid 0x20<link>
ether d8:9e:f3:85:42:8a txqueuelen 1000 (Ethernet)
RX packets 2879 bytes 2068361 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2313 bytes 515874 (515.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 355 bytes 27658 (27.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 355 bytes 27658 (27.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth76213c1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5c2b:3aff:fea8:d68c prefixlen 64 scopeid 0x20<link>
ether 5e:2b:3a:a8:d6:8c txqueuelen 0 (Ethernet)
RX packets 93 bytes 20719 (20.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 214 bytes 34037 (34.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5c:ea:1d:4c:61:a7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ignacio@ignacio-XPS-8930:~$ ifconfig enp4s0 | grep "HWaddr" | awk 'print $5'
ignacio@ignacio-XPS-8930:~$ /sbin/ethtool -s enp4s0 wol g
Cannot get current wake-on-lan settings: Operation not permitted
not setting wol


I also tried with sudo:



ignacio@ignacio-XPS-8930:~/docker/greta$ sudo /sbin/ethtool -s enp4s0 wol g
[sudo] password for ignacio:
Cannot get current wake-on-lan settings: Operation not supported
not setting wol






18.04 wakeonlan






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 8 '18 at 19:34







Ignacio

















asked Jul 8 '18 at 17:55









IgnacioIgnacio

3791618




3791618












  • This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

    – Organic Marble
    Jul 8 '18 at 17:58












  • I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

    – WinEunuuchs2Unix
    Jul 8 '18 at 18:04











  • I updated my question because ethtool is not working for me

    – Ignacio
    Jul 8 '18 at 18:36











  • You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

    – Organic Marble
    Jul 8 '18 at 19:29







  • 1





    Ok this is something different then.

    – Organic Marble
    Jul 8 '18 at 19:36

















  • This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

    – Organic Marble
    Jul 8 '18 at 17:58












  • I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

    – WinEunuuchs2Unix
    Jul 8 '18 at 18:04











  • I updated my question because ethtool is not working for me

    – Ignacio
    Jul 8 '18 at 18:36











  • You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

    – Organic Marble
    Jul 8 '18 at 19:29







  • 1





    Ok this is something different then.

    – Organic Marble
    Jul 8 '18 at 19:36
















This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

– Organic Marble
Jul 8 '18 at 17:58






This is a "feature" introduced in the latest kernel. I am on a phone so can't help much, but if you search for my question on this, my answer gives a workaround.

– Organic Marble
Jul 8 '18 at 17:58














I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

– WinEunuuchs2Unix
Jul 8 '18 at 18:04





I think this will solve your problem: askubuntu.com/questions/210890/wake-on-lan-under-ubuntu-12-04

– WinEunuuchs2Unix
Jul 8 '18 at 18:04













I updated my question because ethtool is not working for me

– Ignacio
Jul 8 '18 at 18:36





I updated my question because ethtool is not working for me

– Ignacio
Jul 8 '18 at 18:36













You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

– Organic Marble
Jul 8 '18 at 19:29






You have to use sudo if you are just typing the ethtool command in. Look under Edit 2 in my question.

– Organic Marble
Jul 8 '18 at 19:29





1




1





Ok this is something different then.

– Organic Marble
Jul 8 '18 at 19:36





Ok this is something different then.

– Organic Marble
Jul 8 '18 at 19:36










2 Answers
2






active

oldest

votes


















1














I just ran into this problem after upgrading two properly configured machines to 18.04. I remember that Ubuntu moved to netplan and found an answer from paulgj in the forums that made it work again for me. You may try this if the existing answers don't work.




I got it working by adding the macaddress match lines, here is the full .yaml file:



network:
version: 2
renderer: networkd
ethernets:
enp2s0:
match:
macaddress: 50:e5:49:b3:fc:97
dhcp4: true
wakeonlan: true



Note: you need to change enp2s0 and 50:e5:49:b3:fc:97 and save it in /etc/netplan/ with a .yaml extension. I hope this configuration did not disable anything that's going to haunt me in the upcoming weeks.




Edit: for desktops you should replace renderer: networkd with renderer: NetworkManager and then run sudo netplan apply.






share|improve this answer

























  • This did not work

    – Ignacio
    Sep 6 '18 at 21:12


















1














@LiveWireBT's answer worked for me.



https://askubuntu.com/a/1072862/874871



Don't forget to run the apply command after you've changed the configuration.



$ sudo netplan apply





share|improve this answer

























  • This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

    – Ignacio
    Sep 25 '18 at 9:13











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053302%2fwake-on-lan-not-working-if-i-turn-of-with-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I just ran into this problem after upgrading two properly configured machines to 18.04. I remember that Ubuntu moved to netplan and found an answer from paulgj in the forums that made it work again for me. You may try this if the existing answers don't work.




I got it working by adding the macaddress match lines, here is the full .yaml file:



network:
version: 2
renderer: networkd
ethernets:
enp2s0:
match:
macaddress: 50:e5:49:b3:fc:97
dhcp4: true
wakeonlan: true



Note: you need to change enp2s0 and 50:e5:49:b3:fc:97 and save it in /etc/netplan/ with a .yaml extension. I hope this configuration did not disable anything that's going to haunt me in the upcoming weeks.




Edit: for desktops you should replace renderer: networkd with renderer: NetworkManager and then run sudo netplan apply.






share|improve this answer

























  • This did not work

    – Ignacio
    Sep 6 '18 at 21:12















1














I just ran into this problem after upgrading two properly configured machines to 18.04. I remember that Ubuntu moved to netplan and found an answer from paulgj in the forums that made it work again for me. You may try this if the existing answers don't work.




I got it working by adding the macaddress match lines, here is the full .yaml file:



network:
version: 2
renderer: networkd
ethernets:
enp2s0:
match:
macaddress: 50:e5:49:b3:fc:97
dhcp4: true
wakeonlan: true



Note: you need to change enp2s0 and 50:e5:49:b3:fc:97 and save it in /etc/netplan/ with a .yaml extension. I hope this configuration did not disable anything that's going to haunt me in the upcoming weeks.




Edit: for desktops you should replace renderer: networkd with renderer: NetworkManager and then run sudo netplan apply.






share|improve this answer

























  • This did not work

    – Ignacio
    Sep 6 '18 at 21:12













1












1








1







I just ran into this problem after upgrading two properly configured machines to 18.04. I remember that Ubuntu moved to netplan and found an answer from paulgj in the forums that made it work again for me. You may try this if the existing answers don't work.




I got it working by adding the macaddress match lines, here is the full .yaml file:



network:
version: 2
renderer: networkd
ethernets:
enp2s0:
match:
macaddress: 50:e5:49:b3:fc:97
dhcp4: true
wakeonlan: true



Note: you need to change enp2s0 and 50:e5:49:b3:fc:97 and save it in /etc/netplan/ with a .yaml extension. I hope this configuration did not disable anything that's going to haunt me in the upcoming weeks.




Edit: for desktops you should replace renderer: networkd with renderer: NetworkManager and then run sudo netplan apply.






share|improve this answer















I just ran into this problem after upgrading two properly configured machines to 18.04. I remember that Ubuntu moved to netplan and found an answer from paulgj in the forums that made it work again for me. You may try this if the existing answers don't work.




I got it working by adding the macaddress match lines, here is the full .yaml file:



network:
version: 2
renderer: networkd
ethernets:
enp2s0:
match:
macaddress: 50:e5:49:b3:fc:97
dhcp4: true
wakeonlan: true



Note: you need to change enp2s0 and 50:e5:49:b3:fc:97 and save it in /etc/netplan/ with a .yaml extension. I hope this configuration did not disable anything that's going to haunt me in the upcoming weeks.




Edit: for desktops you should replace renderer: networkd with renderer: NetworkManager and then run sudo netplan apply.







share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago

























answered Sep 6 '18 at 19:10









LiveWireBTLiveWireBT

21.9k1972158




21.9k1972158












  • This did not work

    – Ignacio
    Sep 6 '18 at 21:12

















  • This did not work

    – Ignacio
    Sep 6 '18 at 21:12
















This did not work

– Ignacio
Sep 6 '18 at 21:12





This did not work

– Ignacio
Sep 6 '18 at 21:12













1














@LiveWireBT's answer worked for me.



https://askubuntu.com/a/1072862/874871



Don't forget to run the apply command after you've changed the configuration.



$ sudo netplan apply





share|improve this answer

























  • This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

    – Ignacio
    Sep 25 '18 at 9:13















1














@LiveWireBT's answer worked for me.



https://askubuntu.com/a/1072862/874871



Don't forget to run the apply command after you've changed the configuration.



$ sudo netplan apply





share|improve this answer

























  • This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

    – Ignacio
    Sep 25 '18 at 9:13













1












1








1







@LiveWireBT's answer worked for me.



https://askubuntu.com/a/1072862/874871



Don't forget to run the apply command after you've changed the configuration.



$ sudo netplan apply





share|improve this answer















@LiveWireBT's answer worked for me.



https://askubuntu.com/a/1072862/874871



Don't forget to run the apply command after you've changed the configuration.



$ sudo netplan apply






share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago









Austin Haakenson

33




33










answered Sep 24 '18 at 13:26









komiyakkomiyak

112




112












  • This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

    – Ignacio
    Sep 25 '18 at 9:13

















  • This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

    – Ignacio
    Sep 25 '18 at 9:13
















This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

– Ignacio
Sep 25 '18 at 9:13





This did not work for me either. I get the following error when i check if wol is enabled Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x000060e4 (24804) link ifup rx_err tx_err hw wol

– Ignacio
Sep 25 '18 at 9:13

















draft saved

draft discarded
















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053302%2fwake-on-lan-not-working-if-i-turn-of-with-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?