You are not logged in.

#1 2008-05-06 19:35:43

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Network Throughput(?)

At home, over our dsl connection, my wife, and our housemate and her kid have zero problems, running XP and Vista. on Arch, I have terrible issues with irssi, pidgin, firefox, opera, kazehakase, and even ping sometimes. Those programs 99% of the time timeout. The only reliable apps are Konqueror and I guess pacman(it 'usually' doesn't timeout), which, in a bind, works, but is not that well suited for web browsing for me. It happens if everyone is using it, or only me, wireless or wired. At work, we have 2 dsl lines, wireless and wired, and I have no problems what-so-ever, with a lot more network traffic from workstations running XP, and a few servers with XP/2000/2003. I haven't fired up ethereal/wireshark yet to see if I can spot anything funny. It is horribly frustrating. If anyone has any ideas, I can try, or has similar issues let me know. I saw the post in the Newbie Corner, posted there, then deleted it because my problem seems different, and I didn't want to hijack their thread.

Thanks,
Zack

Last edited by Sjoden (2008-05-06 19:35:57)

Offline

#2 2008-05-06 19:47:30

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Network Throughput(?)

have you tried sysctrl net.ipv4.tcp_window_scaling=0 ?

If it works for you, save that setting on sysctrl.conf.

Greets


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#3 2008-05-06 19:52:27

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Thanks for the reply, I'll try that when I get home tonight. Also, I probably should have mentioned, It has worked before here a couple times, but the last few weeks, I have had nothing but problems.

-Zack

edit;
I don't know why I didn't think about this, but, I recently added new iptables rules. Probably because everything works fine at work, with a nice amount of bandwidth, but at home, i have 512/512 dsl. Just a though.

[root@boxx zack]# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     icmp --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
open       all  --  anywhere             anywhere           
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset
REJECT     udp  --  anywhere             anywhere            reject-with icmp-port-unreachable
ACCEPT     all  --  boxx                 boxx               
DROP       tcp  --  anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN state NEW
DROP       tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG
DROP       tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain open (1 references)
target     prot opt source               destination

Last edited by Sjoden (2008-05-06 20:03:41)

Offline

#4 2008-05-07 05:03:53

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Well, I tried what you said kjon, I put that setting in my sysctrl.conf file, restarted, and no change. I also went back to my old iptables rules and nothing. I'm posting from konqueror at home right now.

-Zack sad

Offline

#5 2008-05-07 10:05:22

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Network Throughput(?)

This article might help

http://gentoo-wiki.com/HOWTO_TCP_Tuning

If you add any of the modifications to /etc/sysctl.conf. Running sysctl -p as root will instantly apply the changes for testing. Reboot not required.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#6 2008-05-07 17:37:01

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Thanks for the tip, and when I get home I'll try those settings.

OT; the gentoo wiki has BSA adds, even in the discussion/bugs part of the pages. sad!

Offline

#7 2008-05-07 19:42:30

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Network Throughput(?)

Forgot to mention that sometimes it is worth going back to basics when odd problems occur. Check out the wiki

http://wiki.archlinux.org/index.php/Network

especially the section on /etc/hosts and /etc/resolv.conf


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#8 2008-05-18 05:27:35

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

I just tried those values from the gentoo wiki, on a fresh install from yesterday. I couldn't run dhcp afterwards, it kept timing out, so I took those values out and rebooted. Konqueror is the only app that doesn't time out. Any other ideas?

-Zack

Offline

#9 2008-05-18 05:43:17

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Network Throughput(?)

Sometimes tcp_window_scaling causes problems. I found that I could not access the web interface on my netgear modem with it enabled. Try
sudo sysctl -w net.ipv4.tcp_window_scaling = 0.

Have you checked that your hostname is in /etc/hosts?


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#10 2008-05-18 06:27:32

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

It is, I'll adjust the window scaling right now.

Thanks,
Zack

/edit

It didn't work, tested with firefox and pidgin with google talk and irc sad.

Last edited by Sjoden (2008-05-18 06:36:10)

Offline

#11 2008-05-19 00:18:05

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Network Throughput(?)

Are you sure you have a good NIC? I've had that problem before. It's rare, but it happens.

Offline

#12 2008-05-19 17:11:25

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Yes, it's good. It works everywhere else just fine, for months, and it acts the same on wired and wireless.

-Zack

Offline

#13 2008-05-22 17:49:35

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Arg, did a fresh install yesterday, no luck. This is killing me. I have a feeling it is the dsl router, but there is nothing I can do with it since it's not mine. We're finally getting our own place, moving in on the 1st, so I will have a different DSL provider, 'Click!', and a new dsl router. Hopefully that will fix things... roll

Last edited by Sjoden (2008-05-22 17:50:10)

Offline

#14 2008-05-29 05:09:53

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

Well, another clean install. It is actually working right now. Maybe its the .25 kernel. I can't scan though. Running 'iwlist wlan0 scan' returns zero results, while it used to return "ACTIONTEC", which is the name of the AP I'm connecting to. It wouldn't detect it before or after I got my IP address. I'll try it in the morning at work with our APs.

I still have to run dhcpcd twice before  I can get an IP address, the first time it 'always' times out. I've had this problem for months though.

But I'm pretty happy for now, since I can actually get online from home. Just in time for moving to our new duplex in 2 days.:rolleyes:

-Zack

Last edited by Sjoden (2008-05-29 05:11:04)

Offline

#15 2008-05-29 17:22:11

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: Network Throughput(?)

At work, the scan doesn't detect any APs, there are about 6 or 7 in range. But now I can't get an address from the AP, even though it worked last night at home.

-Zack

Offline

Board footer

Powered by FluxBB