top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Fedora: how to turn off WOL?

+1 vote
438 views

If I suspend my laptop with enet connected, it immediately wakes again (yes, my suspend is working again!)

I can turn off WOL using

sudo /sbin/ethtool -s p3p1 wol d

What is the recommended way to set this option permanently?

posted Jan 6, 2015 by Sidharth

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
$ udevadm info -a -p /sys/class/net/p3p1 | grep address
 ATTR{address}=="nn:nn:nn:nn:nn:nn"

/etc/udev/rules.d/100-ethtool.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="nn:nn:nn:nn:nn:nn", RUN+="/sbin/ethtool -s p3p1 wol d"
answer Jan 6, 2015 by Sridharan
Similar Questions
0 votes

Runnning old "Fedora 20-x86_64", and want to install Fedora-Kde-live-25-1-3.

Situation:
$ uname -rov
3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC 2015 GNU/Linux

$ sudo lvmdiskscan
/dev/fedora/root [ 50,00 GiB]
/dev/fedora/swap [ 3,77 GiB]
/dev/sda2 [ 500,00 MiB]
/dev/vg_maq01/lv_swap [ 5,75 GiB]
/dev/sda3 [ 118,75 GiB] LVM physical volume
/dev/vg_maq01/lv_home [ 63,00 GiB]
/dev/vg_maq01/lv_root [ 50,00 GiB]
/dev/fedora/home [ 48,48 GiB]
/dev/sdb2 [ 500,00 MiB]
/dev/sdb3 [ 194,87 GiB]
/dev/sdb4 [ 500,00 MiB]
/dev/sdb5 [ 102,24 GiB] LVM physical volume
6 disks
4 partitions
0 LVM physical volume whole disks
2 LVM physical volumes

The /dev/sda* is a SSD(KINGSTON SV200S3128G) 128GB, with old "Fedora 16-x86_64", and only want to recover some files in /home.

The /dev/sdb* is a Seagate(ST3320613AS) 320GB, running old "Fedora 20-x86_64", with some important file in /home.

$ sudo lvscan
ACTIVE '/dev/fedora/swap' [3,77 GiB] inherit
ACTIVE '/dev/fedora/home' [48,48 GiB] inherit
ACTIVE '/dev/fedora/root' [50,00 GiB] inherit
ACTIVE '/dev/vg_maq01/lv_swap' [5,75 GiB] inherit
ACTIVE '/dev/vg_maq01/lv_home' [63,00 GiB] inherit
ACTIVE '/dev/vg_maq01/lv_root' [50,00 GiB] inherit

$ mount | grep /dev/mapper
/dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered)
/dev/mapper/fedora-home on /home type ext4
(rw,relatime,seclabel,data=ordered)

Problem:
Want to mount the SSD on "Fedora 20" to recover some files, copying it to /dev/sdb3 space(/dev/sdb3 not used/mounted). After this, I can erase all SSD and install "Fedora 25" on it.

Thanks for help.

0 votes

For some reason I have to temporarily deactivate IPv6 interface configuration on a F22 server box.

According to documentation (or at least as I understood) it could be done either by adding

IPV6INIT=no
IPV6_AUTOCONF=no
to /etc/sysconfig/network-scripts/ifcfg-eth0

or

NETWORKING_IPV6=no
IPV6_AUTOCONF=no
to /etc/sysconfig/network

I tried both, executed "nmcli c reload", "systemctl restart NetworkManager", even rebooted the system. No change in network configuration. In ifconfig I have a local link address as well as a global address as advertised by the router and autoconfig based on mac address.

All those options are documented in usr/share/doc/initscripts/sysconfig.txt, so I guess these are still valid options.

Now I am wondering what I may have overlooked or missed?

Any hint appreciated.

+1 vote

I am trying to figure out how to list the rpms in, say:

@base-x
or
@printing
or
@fedora-release-nonproduct

and so on.

Any help?

+3 votes

Following article suggest that Fedora 23 might be 64-bit only:

http://www.phoronix.com/scan.php?page=news_item&px=Fedora-23-64-bit-Proposal

How hard is it to make a 32-bit distro if you are making a 64-bit one anyway? I guess in the back of my mind I sorta assumed it was scripted and automatic, so it just meant running some script twice rather than once.

Is it a tremendous hassle to make a 32-bit distro if you are making a 64-bit one anyway?

...