On Wed, Jan 01, 2003 at 11:32:01AM +0200, Tzafrir Cohen wrote:
> On Tue, 31 Dec 2002, Erez Boym wrote:
> 
> > Hi,
> >
> > I have a small problem with my Internet and NIC. I
> > suppose it's a small thing but I cant find the answer
> > to that.
> >
> > I have a Modem and a NIC on the same machine. As long
> > as my NIC is set with a dynamic IP (Configured using
> > netconfig) my Mozilla browser works perfectly, but my
> > NIC, since I don�t have a NET yet (The NIC socket just
> > hangs without a cord plugged in to it), is unable to
> > go up on boot. Not a problem but since my NET is not
> > there yet but trying to go up the NIC halts my boot
> > for almost a minute before deciding that there is no
> > NET and continue on with the boot process.
> >
> > So to avoid waiting on boot I have used netconfig
> > again to install my NIC with an imaginary IP
> > 118.118.0.0 and net mask 255.255.0.0
> 
> This reminds me of the false microsoft dhcp addresses under 169.
> 
> If the interface is down it should get no address: this confuses
> applications!
> 
> If you don't want the interface automatically up (because it gets in the
> way of booting), it shouldn't be. You have the lo interface. It should be
> enough.

If the only problem is that it bothers you to wait 1 minute, add
to /etc/sysconfig/network this:
DHCPCDARGS="-t 5"
(for a 5 seconds delay in case of no dhcp server).

> 
> Alternatively: start and stop it with a separate init script and give it
> its proper place in the init scripts. The commands are 'ifup' and
> 'ifdown'. They do their own accounting.
> 
> -- 
> Tzafrir Cohen
> mailto:[EMAIL PROTECTED]
> http://www.technion.ac.il/~tzafrir
> 
> 
> ================================================================To unsubscribe, send 
>mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

        Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to