![](https://seccdn.libravatar.org/avatar/0c339773ba5bec4aaa7ed1acf8ee0011.jpg?s=120&d=mm&r=g)
Puneit Singh wrote:
Hi My wifi gets powered on during boot up. I want that it should get powered up when the ethernet cable is disconnected and get powered off when it is connected.
That's exactly how it works for me, no profiles no nothing just
automatically.
ifcfg-wlan0 starts with
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='10'
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='ifplugd'
USERCONTROL='no'
and ifcfg-eth0 has
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='20'
IPADDR=''
MTU=''
NAME='Hewlett-Packard Company RTL-8139/8139C/8139C+'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='ifplugd'
UNIQUE='rBUF.qgZcz+lF1Y4'
USERCONTROL='no'
_nm_name='bus-pci-0000:06:06.0'
and it justs works.
--
Dave Cotton