Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loading time becomes incredibly slow when I enable network
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
pk_volt
n00b
n00b


Joined: 21 Dec 2004
Posts: 51

PostPosted: Wed Dec 22, 2004 3:04 am    Post subject: loading time becomes incredibly slow when I enable network Reply with quote

Alright, if I disable the network support (but my network module is still loaded on the kernel) everything loads up fairly quickly. Firefox loads up in like 1.7 seconds. However, once I enable network support (meaning I can go on the internet etc) it takes like 12 seconds to load up firefox, and better yet, everything loads up maybe 10 times as long!

I have a static network. a netgear router with dhcp disabled
here is how my net config file looks like

iface_eth0="192.168.0.106 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"

and my dns servers in my resolv.conf are
24.69.255.196
24.69.255.213
Back to top
View user's profile Send private message
hardcore
l33t
l33t


Joined: 01 Nov 2003
Posts: 626
Location: MSU, MI

PostPosted: Wed Dec 22, 2004 6:37 am    Post subject: Reply with quote

What does your /etc/hosts file look like?
_________________
Nothing can stop me now, cuz I just don't care.
Back to top
View user's profile Send private message
pk_volt
n00b
n00b


Joined: 21 Dec 2004
Posts: 51

PostPosted: Wed Dec 22, 2004 7:08 am    Post subject: Reply with quote

bash-2.05b$ cat /etc/hosts
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
#

127.0.0.1 gerald_0.linuxgroup localhost
# 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

bash-2.05b$

I have other computers connected to the netgear router, but they're non-linux
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Wed Dec 22, 2004 8:37 am    Post subject: Reply with quote

You should put a line in there with your internal IP and your hostname on it (in all forms that are commonly used, just hostname+fully qualified)
Code:

192.168.0.106            gerald_0 gerald_0.linuxgroup
Back to top
View user's profile Send private message
hardcore
l33t
l33t


Joined: 01 Nov 2003
Posts: 626
Location: MSU, MI

PostPosted: Wed Dec 22, 2004 9:02 pm    Post subject: Reply with quote

Taladar wrote:
You should put a line in there with your internal IP and your hostname on it (in all forms that are commonly used, just hostname+fully qualified)
Code:

192.168.0.106            gerald_0 gerald_0.linuxgroup


Exacta-mundo.
_________________
Nothing can stop me now, cuz I just don't care.
Back to top
View user's profile Send private message
pk_volt
n00b
n00b


Joined: 21 Dec 2004
Posts: 51

PostPosted: Sat Dec 25, 2004 10:34 am    Post subject: Reply with quote

Just wanted to reply and say that solved the problem.

care to explain why?


thanks
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