Re: disabled network slows root launching

From: Kevin Lynch <krlynch_at_bu.edu>
Date: Mon, 10 Mar 2008 10:27:21 -0400


Dmitry Naumov wrote:
> Dear roottalk,
>
> I notice a strange problem - if my laptop has internet cable
> disconnected then root is launching very long time. Connecting the cable
> back makes root loading time again very fast. The time difference is
> quite large and disturbs me a lot. Can any one give a hint?
>
> Thanks, Dmitry

Do you have this problem with other programs (such as command prompts, emacs, web browsers, etc?) If so, you might be missing information in your /etc/hosts file. That file should include a (single!) line of the form:

127.0.0.1 localhost.localdomain localhost

or

127.0.0.1 i-m-so-tired.bu.edu i-m-so-tired localhost.localdomain localhost

if your machine has a preferred hostname.

If you need IPv6 support, you also need to make sure there's a line like this:

::1 localhost.localdomain localhost

Many Linux distributions fail for some reason to provide a default /etc/hosts file for disconnected operation.

-- 
-------------------------------------------------------------------------------
Kevin Lynch				voice:	(617) 353-6025
Physics Department			Fax: (617) 353-9393
Boston University			office:	 PRB-361
590 Commonwealth Ave.			e-mail:	 krlynch_at_bu.edu
Boston, MA 02215 USA			http://budoe.bu.edu/~krlynch
-------------------------------------------------------------------------------
Received on Mon Mar 10 2008 - 15:28:04 CET

This archive was generated by hypermail 2.2.0 : Mon Mar 10 2008 - 17:50:01 CET