View previous topic :: View next topic |
Author |
Message |
carnaby n00b

Joined: 19 Jan 2005 Posts: 58 Location: seattle
|
Posted: Wed Nov 12, 2008 5:30 am Post subject: [SOLVED!] Starting network slows down computer |
|
|
My hard drive bit the dirt so I had to re-install gentoo from scratch. After installing everything works great, except that after I start wlan0 (dhcp) some aspects of the computer slow way down. For example, starting a gnome terminal goes from near instantaneous to 10 seconds. Anyone have any idea what the slow-down is all about? Stopping wlan0 speeds things back up again. The slowdown also occurs when eth0 is started. I took the networks out of the default run level because that was causing gnome startup to be very slow as well.
Last edited by carnaby on Wed Nov 12, 2008 7:00 am; edited 1 time in total |
|
Back to top |
|
 |
bombcar Guru


Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Wed Nov 12, 2008 5:45 am Post subject: |
|
|
Are you missing definitions for localhost in your /etc/hosts?
When the network is up what does
do?
Also try "ping hostname" where hostname is your machine's name.
Check /etc/hosts, mine shows:
Code: | 127.0.0.1 localhost laptop
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts |
My machine is named laptop. |
|
Back to top |
|
 |
bombcar Guru


Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Wed Nov 12, 2008 5:46 am Post subject: |
|
|
Also check that /etc/nsswitch.conf has:
Otherwise it will do network name resolution first. |
|
Back to top |
|
 |
carnaby n00b

Joined: 19 Jan 2005 Posts: 58 Location: seattle
|
Posted: Wed Nov 12, 2008 7:00 am Post subject: |
|
|
That did it, thanks. I had to change the line in hosts from
127.0.0.1 localhost
to
127.0.0.1 localhost myhostname
where myhostname is my computer's hostname
I had the line for the external IP with myhostname, but not the localhost ip.
Thanks! |
|
Back to top |
|
 |
|