Re: laptop restart eth0 automatically on plugin or on awake like a desktop
On Thu 09 Jun 2011 at 17:55:50 +0000, Camaleón wrote:
> Hum... what happens when you attach a USB device to the computer? Kernel
> detects it and DE mounts it based on user's settings. And what happens
> when you dettach the key? Kernel (or udev, or both) remove/umount the
> device.
You are talking about *devices* here.
> I would have thought that something similar happens with an ethernet
> device but I've lost the track to udev development and currently I would
> not put my hand in the fire for what and how it does.
An ethernet cable is not a device.
But I like your turn of phrase. Go on, get your fingers burnt! udevadm(8)
and unplug and plug the cable back in. See any reaction from udev?
The question remains - Why would plugging or unplugging the ethernet
cable be expected to bring the interface up or down?
Reply to: