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? > > 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. 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. Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7