You are not logged in.

#1 2006-08-19 22:10:37

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Finding the problem (internet connections)

Okay, for a while now my internet has been behaving weird, I can't login to the router (I get the login screen but when logging in it freezes), connections stop transfer and time out. I guess the later one is the reason for my pacman trouble too (http://bbs.archlinux.org/viewtopic.php?t=24206).

So now i am thinking how to find out what causes this, I'm quite sure it's not the router since we have changed router and the trouble stays.
So how can i find the problem? I thought about having ethereal running untill I start lagging out of stuff and then check what's happening, but what should i look for?

And can i change the connection timeout to a shorter time on my computer - so i don't have to wait so long before noticing i'v been dissconnected.
--
I have solved the router problem by adding

net.ipv4.tcp_window_scaling = 0

to /etc/sysctl.conf so now i can login, but i still time out.
--edit--
btw, how does a normal sysctl.conf look?

Offline

#2 2006-08-20 16:42:11

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Finding the problem (internet connections)

Hi firedance,
this is my /etc/sysctl.conf:

#
 # Kernel sysctl configuration
 #
 # Disable packet forwarding
 net.ipv4.ip_forward=0
 # Disable the magic-sysrq key
 kernel.sysrq = 0
 # Enable TCP SYN Cookie Protection
 net.ipv4.tcp_syncookies = 1

Offline

#3 2006-08-20 21:41:10

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: Finding the problem (internet connections)

Thanks luca, replacing the current sysctl.conf will reset the values to orginal at reboot, right?
Is there any other way to reload the sysctl.conf?

Offline

#4 2006-08-21 06:02:40

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Finding the problem (internet connections)

Hi,
try with:

sysctl -p

(as root)

Offline

#5 2006-08-22 12:17:01

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: Finding the problem (internet connections)

Thanks luca, the config does seem to help. (I hade a weird very modified version)

Offline

Board footer

Powered by FluxBB