You are not logged in.

#1 2008-04-10 13:18:38

whaevr
Member
Registered: 2008-03-17
Posts: 182

Argh...Internet at a crawl...but download speeds are fine?

I recently just switched back over to Arch...I went back to Ubuntu after I couldn't get my wireless card working. Although I missed living on the bleeding edge tongue so I'm back and I would like to stay here.

The title pretty much describes it. I can download packages with pacman at 75kb+ which is pretty average for my internet, usually it goes higher.

Although the moment I try and open Firefox, or Opera, or Epiphany it takes way longer then it should to load any webpage. Like I said I still can't get my wireless card to work with Arch, but I'm using a cable and have connected my computer directly to the router. At the moment I have it setup for a DHCP straight off the beginners guide.

HOSTNAME="arch"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" 
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

I read somewhere that this might be caused from using DHCP? I'm not at my computer at the moment, but when I get to it later tonight I'll try and set it up for a static ip and see if that changes anything..so if someone could please post a simple static ip setup so I don't mess it up big_smile I'd appreciate it.

I hate to mention Ubuntu again but is it possible that I could use the NetworkManager that Ubuntu uses? I did

sudo pacman -S networkmanager

Although I'm not exactly sure on how to start it, let alone get Arch setup to use it..

Thanks!

Offline

#2 2008-04-10 13:24:41

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Argh...Internet at a crawl...but download speeds are fine?

Your DNS server is probably slow. Look in /etc/resolv.conf

Set up bind instead, then you don't have to use a slow DNS server - you use the *proper* method wink

pacman -S bind

Offline

#3 2008-04-10 15:47:09

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Argh...Internet at a crawl...but download speeds are fine?

Add host name to hosts file and disable ipv6. that usually does the trick.
instructions to networkmanager or netcfg are in wiki afaik. networkmanager usually more or less sucks though.

Offline

#4 2008-04-10 15:48:01

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Argh...Internet at a crawl...but download speeds are fine?

brebs wrote:

Set up bind instead, then you don't have to use a slow DNS server

explain please.

vlad

Offline

#5 2008-04-10 16:00:51

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Argh...Internet at a crawl...but download speeds are fine?

It's already documented in a zillion places on the Internet wink

Here's my sample config files for bind.

Offline

#6 2008-04-10 20:00:01

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Argh...Internet at a crawl...but download speeds are fine?

brebs wrote:

It's already documented in a zillion places on the Internet wink

Here's my sample config files for bind.

hi brebs,

i meant: does it make sense for only one pc, not for a home network setup?
however, thanks for your link.

vlad

Offline

#7 2008-04-10 20:12:10

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Argh...Internet at a crawl...but download speeds are fine?

Yeah. Any PC with an Internet connection will benefit from running bind, rather than relying on the (often slow) ISP's DNS servers (unless the PC has an extremely small amount of RAM, I suppose). Plus you get local DNS caching.

Offline

#8 2008-04-11 00:12:48

whaevr
Member
Registered: 2008-03-17
Posts: 182

Re: Argh...Internet at a crawl...but download speeds are fine?

I installed bind and looked your config files, and in the arch wiki....looks way to complicated...

Hopefully disabling ipv6 and adding host name will work...although I don't exactly know where the "hosts file" is...:/

Ok found the hosts file... /etc/hosts

Now what exactly am I supposed to add to it..? I figure 192.168.0.1 for the IP address but what about

<hostname.domain.org> <hostname>

I suppose for the hostname I would put arch? Since I have that in my rc.conf file..

Help...

Hmm...I plugged in the cord in a different slot on the router and I'm using firefox3 now..and everything seems to be normal..I dunno if it'll hold-up though..

Last edited by whaevr (2008-04-11 01:23:12)

Offline

#9 2008-04-11 10:24:35

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Argh...Internet at a crawl...but download speeds are fine?

127.0.0.1               localhost.localdomain   localhost   <your host name here>

and/or

<your static ip in network> <your host name here> <your host name here>

if you're having a router... then forget the second line. the router sets ip-addresses through dhcp automatically.

vlad

Last edited by DonVla (2008-04-11 10:25:21)

Offline

Board footer

Powered by FluxBB