On Sat, 15 Mar 2003, Henri wrote:Yes !
Buchan Milne wrote:
Henri wrote:What is this ? I don't know anything about it.
Does you NIC not support ifplugd?
ifplugd watches to see if you are connected. If you were connected, and you disconnect the network cable, it will take the interface down, until you connect the cable again.
it answers unplugged when i'm unplugged...great !If it does, that is even better, and should work out-the-box. The installer should know which ones don't (may be your case), and in that case will try bring up dhcp anyway. You can check with :
# ifstatus -v
But does it answer that you are plugged when you are plugged?
done tonight via drakconf after upgrade from cooker. Zeroconf seems desactivated now, but i'll have to redo some tests tomorow.
add in /etc/sysconfig/network:this does not work. I made a service network stop, ifdown eth0, ifdown "eth0:9".
NOZEROCONF="yes"
then added what you said to the config file and while i'm NOT connected i enter service network restart. It looks for a dhcp server, does not find it of course and...create a zeroconf interface "eth0:9" with ipadress = 169.254.xxx.xxx (don"t remember the end...) and the associated defaut route.
any idea ?
Maybe the installer put MII_NOT_SUPPORTED=yes in your /etc/sysconfig/network-scripts/ifcfg-eth?, thinking your card does not support ifplugd. If ifstatus always gives you the right answer, either remove this, or run drakconnect in expert mode and enable "network hotplugging", which should do the same thing.
I'll check tomorow if there is something about MII_NOT_SUPPORTED too...but i don't think there is one, as the nic card does suport ifplugd.
If you have MII_NOT_SUPPORTED=yes (like I do, my card does not give any output for ifstatus), then dhcp/zeroconf will be used, since the system can't tell that you are not connected, and wants to make sure you get a connection if you are.Thanks. I read the man page of ifplugd after having ask the question...but i'm still not sure to know what it exactly does : when it detect the cable is plugged, it reads the config file and launch dhcp (or use a static ip depending on the config) and modify the defaut gateway ? what if you plug the network cable while surfing the net via a modem ?
Thanks,
Henri.
Regards, Buchan
