On Sat 11 Jun 2011 at 02:46:04 +1000, Scott Ferguson wrote: > Re-inserted text (referring to an active cable being plugged and unplugged:-
What is an 'active' cable? > ---------- > If you change the static settings to dhcp it should change - provided > network manager is not installed of course. > eg. change static to dhcp and comment out the last five lines > restart the network and ifconfig should aquire an network settings - the > nic will be brought down when the cable is later removed - *but settings > will be retained (lease determined).* > ---------- If you still believe the network interface is brought down when a cable is unplugged your understanding of the evidence and interfaces(5) is different from mine. >From a previous post: > Remove cable. > > root@dektop3:~# dmesg | tail -n 1 > [ 158.220270] via-rhine 0000:00:12.0: eth0: link down > > root@dektop3:~# ifconfig > eth0 Link encap:Ethernet HWaddr 00:0c:76:b3:b4:ca > inet addr:192.168.7.30 Bcast:192.168.7.255 > Mask:255.255.255.0 > inet6 addr: fe80::20c:76ff:feb3:b4ca/64 Scope:Link > UP BROADCAST MULTICAST MTU:1500 Metric:1 Could be ifconfig thinks it is 'UP' but is mistaken. > Bringing "up a NIC" is an admittedly poor way of saying "bringing up a > connection" - but it has no bearing on device creation. Which is what > hotplug does - when a device is removable. If it's not removable the > hotplug line has no effect. You'd have to say what you meant by 'device creation' before I began to think about responding to this. > Given that most of my boxen do not have that line I can safely say - > that is demonstrably incorrect. Test it. 'I don't use it so it must be incorrect'. Has the Enlightenment passed you by? > Don't have removable NIC? Then you don't use hotplug. Period. I'm not advocating you use it. Real Strong Authority Time: (Because you may find logical argument harder): > Moreover, there's no _reason_ to remove the allow-hotplug, since if > your interface is in fact not hotpluggable, it's a total no-op to > leave it in. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403706 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110610181216.GX19914@desktop