Red Hat Bugzilla – Bug 584530
adding moni0 interface starts dhclient
Last modified: 2014-03-16 23:23:04 EDT
Created attachment 408159 [details]
add moni* to ignored interfaces in net.hotplug
Description of problem:
On creating a virtual wireless monitor network interface (moni0), dhclient is needlessly started. wlan0 is configured using system-config-network, I'm not using NetworkManager here.
Version-Release number of selected component (if applicable):
Every time moni0 is created.
Steps to Reproduce:
1. You need some wireless hardware + driver that supports adding monitor interfaces.
2. iw phy phy0 interface add moni0 type monitor
3. check /var/log/messages
A long log message starting with something like "dhclient: dhclient(901) is already running - exiting."
NB: there's no config file for moni0, but moni0 has the same MAC address as wlan0, so the ifcfg-wlan0 file gets found.
dhclient isn't launched on adding moni0
There's a list of interface names that are ignored in net.hotplug, it just needs moni* adding to it.
It's not a great solution, simply because there could be renamed interfaces.
/sys/class/net/moni0/type is 803
Will be in F-13, and possibly some future F-12 update.