Buchan Milne wrote:

On Sat, 15 Mar 2003, Henri wrote:



Buchan Milne wrote:



Henri wrote:

Does you NIC not support ifplugd?


What is this ? I don't know anything about it.



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.




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


it answers unplugged when i'm unplugged...great !



But does it answer that you are plugged when you are plugged?


Yes !




add in /etc/sysconfig/network:
NOZEROCONF="yes"


this does not work. I made a service network stop, ifdown eth0, ifdown "eth0:9".
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.


done tonight via drakconf after upgrade from cooker. Zeroconf seems desactivated now, but i'll have to redo some tests tomorow.
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








Reply via email to