Re: [gentoo-user] Stop net.eth0 from starting?

2007-08-04 Thread Александър Л . Димитров
On 08:47 Thu 02 Aug , Dan Cowsill wrote:
 I've got wifi configured with madwifi and use my wifi interface a lot
 more than the ethernet I had thought that removing net.eth0 from
 rc-update, but that didn't seem to work.  Every time I booted, the
 interface tried to go up and get dhcp information.  I then read about
 and used a preup function to check that interfaces are actually
 connected before they are brought up, and this essentially solves the
 problem.  It occurs to me that it would just be a whole lot easier and
 cleaner if net.eth0 just didn't try to start at all, but I haven't
 found any way to do this short of removing the init.d script from
 rc-update.
 
 My question is, is there any way to stop net.eth0 from starting
 besides ethtool's preup function?

There's yet another solution to this problem:

$ cat net
config_eth0=( null )

So just set the configuration for the interface to `null' so it doesn't
do atything when brought up at boot time.

Regards,
Aleks


pgpEpF0xs6flr.pgp
Description: PGP signature


[gentoo-user] Stop net.eth0 from starting?

2007-08-02 Thread Dan Cowsill
I've got wifi configured with madwifi and use my wifi interface a lot
more than the ethernet I had thought that removing net.eth0 from
rc-update, but that didn't seem to work.  Every time I booted, the
interface tried to go up and get dhcp information.  I then read about
and used a preup function to check that interfaces are actually
connected before they are brought up, and this essentially solves the
problem.  It occurs to me that it would just be a whole lot easier and
cleaner if net.eth0 just didn't try to start at all, but I haven't
found any way to do this short of removing the init.d script from
rc-update.

My question is, is there any way to stop net.eth0 from starting
besides ethtool's preup function?

Thanks.

-- 
-·=»Ðŧħ«=·-
z���(��j)b�   b�

Re: [gentoo-user] Stop net.eth0 from starting?

2007-08-02 Thread Neil Bothwick
On Thu, 2 Aug 2007 08:47:32 -0500, Dan Cowsill wrote:

 My question is, is there any way to stop net.eth0 from starting
 besides ethtool's preup function?

Yes, emerge ifplugd. The net startup scripts will detect its presence,
and not try to bring the interface up unless it is connected by a cable.


-- 
Neil Bothwick

Code: (n.) a means of concealing bugs favored by programmers.
  (v.) the process of concealing bugs by programming.


signature.asc
Description: PGP signature