Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Misconfigured '/etc/hosts' slow down apps such as KDE.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Metro
n00b
n00b


Joined: 03 Dec 2003
Posts: 2

PostPosted: Thu Dec 04, 2003 12:08 am    Post subject: Misconfigured '/etc/hosts' slow down apps such as KDE. Reply with quote

I'm new to Gentoo (happy) and still configuring hardware (unhappy). My current problem is related to the 'nvnet' driver. My motherboard is an Abit NF7 with nForce chipsets (audio + network). So the corresponding driver for the net part is 'nvnet'.

It is working fine excepted in a specific case. If I put name server entries in my '/etc/resolv.conf' file without having an internet connection, KDE become very slow each time I try to open an application. If I connect my PC on another with an internet access connection and NAT, the problem disappears. However it will reappear if I shut down the connexion. Is it a normal behavior ?

What does this driver do all the time and what could be the relation with KDE (network overused) ? I know the final solution is to fill the 'resolv.conf' only at connection with dynamic IP but it's not the explanation.


Last edited by Metro on Thu Dec 04, 2003 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Dec 04, 2003 3:24 pm    Post subject: Reply with quote

i'm not too sure about this behaviour, i have seen it once or twice myself. however, you may want to rename the topic, because its not something specific to the nvnet driver. I'm pretty sure taht its trying to contact your ISP's nameservers before starting up applications.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6837
Location: Blighty

PostPosted: Thu Dec 04, 2003 4:11 pm    Post subject: Reply with quote

Do you have your hostname in /etc/hosts ?

Code:

127.0.0.1        hostname.domain      hostname        localhost


Something like that
Back to top
View user's profile Send private message
Metro
n00b
n00b


Joined: 03 Dec 2003
Posts: 2

PostPosted: Thu Dec 04, 2003 8:41 pm    Post subject: Reply with quote

Right. I was only having the localhost entry in '/etc/hosts'. I've now added my hostname with the relevant IP address and everything is running fine. So 'nvnet' do its job in trying to resolve my hostname first to localhost. The latency was caused by the timeout I guess. It seems perfectly clear now. Thanks for having asked the right question :P.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum