Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Maui Support › Plasma Desktop › I can't set wake on g in my nic at startup

I can't set wake on g in my nic at startup
wonder Offline
Island Inhabitant
*****
Joined: Oct 2016
Posts: 285
#1
27th October 2016, 13:01
Hi.
If type:
sudo ethtool enp4s0
I have this:
Quote:Settings for enp4s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: d
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
My nic support wake on g, but by default are in "d".
I have configured BIOS for wake up.

If I type:
sudo -s ethtool enp4s0 wol g
Is set to g.
But when restart computer again, is set to d.

In my older distro (same tower and same nic) by default are in g.

I try differents methods for set to g in startup, but not works, for example, this:
http://askubuntu.com/questions/47918/how...ermanently
https://gist.github.com/jevinskie/721245
http://kodi.wiki/view/HOW-TO:Set_up_Wake...ite_note-0

But I can't set defatult wake on g.

Regards.
Find
Reply
wonder Offline
Island Inhabitant
*****
Joined: Oct 2016
Posts: 285
#2
28th October 2016, 11:32
I can solved with this:

1.- sudo nano /etc/init.d/wakeup.sh
2.- #!/bin/bash
ethtool -s eth0 wol g
3.-sudo chmod a+x /etc/init.d/wakeup.sh
4.-sudo update-rc.d wakeup.sh defaults

Note: eth0 = Name of the nic, in my case: enp4s0
Find
Reply
« Next Oldest | Next Newest »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Wake on with mouse from suspend wonder 4 16,241 19th February 2018, 20:53
Last Post: wonder
Bug The cursor disappears after suspend/wake up dmytrocx75 3 14,227 24th October 2017, 12:58
Last Post: leszek
  Change color of loading screen on startup kevin_tee 3 13,787 3rd December 2016, 17:59
Last Post: kevin_tee

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 4th June 2025, 12:15 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode