Re: Script to stop DCHP client if no ethernet cable attached

2002-09-10 Thread Jason McCarty
> Does anyone have a script that will detect that the ethernet port is > not connect to a hub/switch (mii-tool detects this well) so that when > I boot my machine when disconnected I do not have to wait for the > DHCP client to fail. > I currently have in /etc/network/interfaces:- > iface eth0 i

Script to stop DCHP client if no ethernet cable attached

2002-09-05 Thread David Goodenough
Does anyone have a script that will detect that the ethernet port is not connect to a hub/switch (mii-tool detects this well) so that when I boot my machine when disconnected I do not have to wait for the DHCP client to fail. I currently have in /etc/network/interfaces:- iface eth0 inet dhcp an