How to keep Wake On WirelessLan enabled after shutdown / reboot
up vote
1
down vote
favorite
My Latitude E7240 running Ubuntu 18.10 has Wireless Wake On Lan capability and the option is enabled in the BIOS.
While the Wake On Lan is working like a charm with ethtool, the Wireless variant gives me problems.
With iw dev
the wireless shows up as phy0.
If I enable the WoWLan with sudo iw phy0 wowlan enable magic-packet
and check it with iw phy0 wowlan show
it states: 'WoWLAN is enabled'.
However, after rebooting my PC and checking iw phy0 wowlan show
it states: 'WoWLAN is disabled'.
So my question is: How to keep the WoWLAN enabled.
wireless 18.04 power-management 18.10 wakeonlan
add a comment |
up vote
1
down vote
favorite
My Latitude E7240 running Ubuntu 18.10 has Wireless Wake On Lan capability and the option is enabled in the BIOS.
While the Wake On Lan is working like a charm with ethtool, the Wireless variant gives me problems.
With iw dev
the wireless shows up as phy0.
If I enable the WoWLan with sudo iw phy0 wowlan enable magic-packet
and check it with iw phy0 wowlan show
it states: 'WoWLAN is enabled'.
However, after rebooting my PC and checking iw phy0 wowlan show
it states: 'WoWLAN is disabled'.
So my question is: How to keep the WoWLAN enabled.
wireless 18.04 power-management 18.10 wakeonlan
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My Latitude E7240 running Ubuntu 18.10 has Wireless Wake On Lan capability and the option is enabled in the BIOS.
While the Wake On Lan is working like a charm with ethtool, the Wireless variant gives me problems.
With iw dev
the wireless shows up as phy0.
If I enable the WoWLan with sudo iw phy0 wowlan enable magic-packet
and check it with iw phy0 wowlan show
it states: 'WoWLAN is enabled'.
However, after rebooting my PC and checking iw phy0 wowlan show
it states: 'WoWLAN is disabled'.
So my question is: How to keep the WoWLAN enabled.
wireless 18.04 power-management 18.10 wakeonlan
My Latitude E7240 running Ubuntu 18.10 has Wireless Wake On Lan capability and the option is enabled in the BIOS.
While the Wake On Lan is working like a charm with ethtool, the Wireless variant gives me problems.
With iw dev
the wireless shows up as phy0.
If I enable the WoWLan with sudo iw phy0 wowlan enable magic-packet
and check it with iw phy0 wowlan show
it states: 'WoWLAN is enabled'.
However, after rebooting my PC and checking iw phy0 wowlan show
it states: 'WoWLAN is disabled'.
So my question is: How to keep the WoWLAN enabled.
wireless 18.04 power-management 18.10 wakeonlan
wireless 18.04 power-management 18.10 wakeonlan
asked Nov 21 at 20:22
Loocat Mha Bhatt
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Create a file: /etc/rc.local
#!/bin/sh
iw phy0 wowlan enable magic-packet
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
Reboot and test WoWLAN
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Create a file: /etc/rc.local
#!/bin/sh
iw phy0 wowlan enable magic-packet
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
Reboot and test WoWLAN
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
add a comment |
up vote
0
down vote
Create a file: /etc/rc.local
#!/bin/sh
iw phy0 wowlan enable magic-packet
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
Reboot and test WoWLAN
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
add a comment |
up vote
0
down vote
up vote
0
down vote
Create a file: /etc/rc.local
#!/bin/sh
iw phy0 wowlan enable magic-packet
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
Reboot and test WoWLAN
Create a file: /etc/rc.local
#!/bin/sh
iw phy0 wowlan enable magic-packet
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
Reboot and test WoWLAN
answered Nov 21 at 20:34
LeonidMew
385215
385215
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
add a comment |
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
Thanks, the WoWLAN works now after reboot. The PC wakes up while in Sleep, Suspend and hibernate when the magic package is sent. Still the PC doesn't start when turned off.
– Loocat Mha Bhatt
Nov 21 at 21:36
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094928%2fhow-to-keep-wake-on-wirelesslan-enabled-after-shutdown-reboot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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