/sys/class/net/eth?/carrier and uevents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to have my network interfaces configured when plugged on the 
network cable. I know there are some daemons that do this for me (laptop-net, 
ifplugd, whereami), but it would be nice if a simple udev rule take care of 
this to me. However, as I can see with kernel 2.6.16 and udevmonitor (udev 
version 0.091), nonetheless /sys/class/net/eth?/carrier changes when I plug 
the network cable, no uevent is generated. Could this be changed so udev get 
triggered when network cables get plugged? As I am no kernel developper, this 
is only a suggestion, hoping that it would be a simple and pertinent job for 
those ho know the subject.

Thanks in advance,

João.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux