LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2009, 12:27 PM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
Slow internet connection when I use a switch


This is my situation:

ADSL internet connection with wireless/LAN router. One LAN connection in my bedroom splitted with a USR7905 Ethernet switch, 3 computers attached on the switch. 2 of them are Ubuntu, one of them is a Packard Bell Dot with WINXP.

My ubuntu boxes are surfing really slowly but the packard bell windows laptop is going normally. If I pull out the ethernet switch and plug one of the ubuntu boxes into the wall my connection is perfect ???

So it's the combination with Ubuntu and the switch I guess?
 
Old 03-08-2009, 12:48 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Do you have a lot of traffic on your LAN? If you unplug the win PC and one ubuntu PC, do things speed up on the remaining PC?

Is someone stealing bandwidth from your wireless connection?

Do you have IPV6 enabled? If so, you could try disabling it (you'll need to make these entries in /etc/modprobe.d/aliases
Code:
alias net-pf-10 off
alias ipv6 off
then reboot.)

If you are using firefox, you can turn off firefox trying to use IPV6 by going to
Code:
about:config
in the address bar, and then IPV6 in the search box then set network.dns.disableIPv6 to true

Any better?
 
Old 03-08-2009, 01:11 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I would use ethtool to make sure you are running at 100 and not 10. It could be something as simple as a bad cable.

Quote:
[root@localhost ~]# ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 9
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes
 
Old 03-23-2009, 01:25 PM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Finally I (someone else ) solved the problem. I was wrong when i said the packard bell laptop was surfing fast. It doesn't ...

I told my problem to the IT-guy at my work. He told me to switch the speed/duplex on my windows laptop from auto negotiate, to 100base full duplex. That didn't work, but 10base full duplex works just fine.

My next questions? How do I switch my Ubuntu boxes to 10base full duplex?
 
Old 03-23-2009, 02:52 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
How do I switch my Ubuntu boxes to 10base full duplex?
lazlow has already given you the answer: ethtool
Please read up on it.
 
Old 03-27-2009, 01:10 PM   #6
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
ok, I didn't read that well I guess

to be complete I'll post what solved my problem:

Code:
sudo apt-get install ethtool
sudo ifconfig eth0 down
sudo ethtool -s eth0 eth0 duplex full speed 10 autoneg off
sudo ifconfig eth0 up
I don't know if it is nessecary to bring eth0 down, I just did it

And after a few months of slow internet on my Ubuntu box, I have no reason left to use my windows puter haha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
How to share internet connection with Single LAN card shared over a switch anupamjamatia Linux - Networking 1 05-29-2008 05:49 AM
Making computer act like a switch (sharing internet connection) jginger SUSE / openSUSE 2 01-27-2007 10:40 AM
using switch to share internet connection jrtayloriv Linux - Networking 2 12-23-2006 07:36 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration