-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Yes, the box is a laptop. It is sometimes connected to a broadband gateway 
which gives out an IP address via DHCP, but sometimes not. If it is 
disconnected everything (as Brook Humphrey noted) runs extremely slowly. I 
did: "chkconfig --level 2345 network off", but this only turned off 
networking on the next boot. I have observed in gkrellm that when i 
physically disconnect the machine while it is up, after a while it will start 
trying to send 60 bytes of information every second for 3 seconds and then do 
a 2 second pause before resuming. Presumably it is querying the gateway. 
However it just doesn't give up. Ideally it would give up after a couple of 
tries. I checked /etc/sysconfig/network-scripts/ifcfg-ethX, but it only 
contains the following 4 lines:

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes

I'll check out the -t option for dhcpd. Where is the config file specifying 
how dhcpd should be started at boot?

Thanks,

Sascha


On Sunday 29 December 2002 11:59 pm, James Sparenberg wrote:
> Sascha,
>
>     I'm guessing that you have a box that is sometimes connected
> sometimes not.. like a laptop.  If so a dirty fix would be simply doing
> chkconfig --level 2345 network off.... which would then mean a manual
> start when you do want it to go.  Or is this a DHCP timeout?  if so
> passing the -t option (from the man dhcpcd manpage) allows you to set
> the time it will try to get a lease.  I believe but have never tried it
> this would be set in /etc/sysconfig/network-scripts/ifcfg-ethX  where X
> is your NIC.
>
> James
>
> On Sun, 2002-12-29 at 11:41, Sascha Noyes wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Is there some way to shorten the time that bootup spends on trying to
> > connect to the internet if there is eg. no physical connection. Maybe
> > someone can point me to the Mandrake script that handles this. If enough
> > people think this is useful, I'll put an enhancement proposal on bugzilla
> > for specifying the time bootup should spend on connecting to the internet
> > in MCC.
> >
> > Thanks,
> > Sascha Noyes
> > - --
> > Please encrypt all correspondence.
> > PGP key available from:
> > http://individual.utoronto.ca/noyes/snoyes.asc
> > - --
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.1 (GNU/Linux)
> >
> > iD8DBQE+D0/vgzJdfX+cTW8RAn0IAJ4j6ymyX8nZi/VD3KQkH7vWRXBzWgCfbP55
> > poO4vKe/3EGT9kV6Lx3nph0=
> > =9ieL
> > -----END PGP SIGNATURE-----

- -- 
Please encrypt all correspondence.
PGP key available from:
http://individual.utoronto.ca/noyes/snoyes.asc
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+EC+8gzJdfX+cTW8RAnKlAKCnvTAX4HD7zGcS0bBVn+NRpFKTXgCdEgfb
oxSg6yw2c3FFal5cu/xAXek=
=hQ5a
-----END PGP SIGNATURE-----


Reply via email to