You are not logged in.

#1 2010-04-03 06:43:35

acithium
Member
Registered: 2010-03-26
Posts: 2

crazy sluggish internet

my internet seems like it's crawling.  I just did the install by the book and have searched around.  I noticed that my computer rewrite the resolv.conf file after every boot.

Here are what my files look like
here's resolv.conf

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain search.b.superkabel.de
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line

here is my rc.conf.

# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Berlin"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(lib80211_crypt_tkip wl !b43 !ssb b44)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0 eth1)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 88.134.106.254"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal network netfs crond kdm )

And here is my hosts file

# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1               localhost.localdomain   localhost arch

# End of file

pinging google takes around 40ms.  Which is super slow compared to how everything else runs on this system.  I'm beating my head against the wall trying to figure out what the deal is.  I'm thinking it's a hosts issue, but i've tried looking around to no avail.  I have a feeling it something really simple. 
Also, wicd gives a dbus error when kde starts up and I have to run it again. Could this be causing it??
Thanks -Acithium

Offline

#2 2010-04-03 07:50:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: crazy sluggish internet

Forum tip: please post conf files, log extracts, etc using code tags, not quote tags. I have fixed it for you this time.

Offline

#3 2010-04-03 09:23:55

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: crazy sluggish internet

acithium,

I noticed that my computer rewrite the resolv.conf file after every boot.

that's the normal behavior while using DHCP. If you want to preserve /etc/resolv.conf or part of it, look here:

http://wiki.archlinux.org/index.php/Resolv.conf

Your rc.conf looks good to me, however:

INTERFACES=(eth0 eth1)
gateway="default gw 88.134.106.254"

Do you really have two ETH interfaces ? And if so are you using eth1 ?
What is the output of 'netstat -rn' ?

You seem to have a router at 192.168.1.1, so it should be the gateway.

pinging google takes around 40ms. Which is super slow compared to how everything else runs on this system.

Really ? To what are you comparing these values ? Do you have another OS installed ?

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#4 2010-04-03 12:58:32

acithium
Member
Registered: 2010-03-26
Posts: 2

Re: crazy sluggish internet

netstat -rn

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0      0.0.0.0         255.255.255.0     U         0 0          0 eth0
0.0.0.0             192.168.1.1     0.0.0.0           UG        0 0          0 eth0

eth0 is my wireless card and eth1 is my wired one.

Offline

#5 2010-04-03 13:27:33

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: crazy sluggish internet

acithium,

it looks all OK for me.

Since you are using the wireless connection, I would suspect that it isn't working as it should (weak signal, channel interference, ...).

When I use wireless I rely on wicd, which also gives me the strength of the signal, there must be other methods
to measure that, but I am not aware of them.

Can you use the wired connection ?

If so I would test only with wired to see if there is any difference.

In that case you will need:

eth1="dhcp"
INTERFACES=(eth1)

in your rc.conf.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

Board footer

Powered by FluxBB