LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-03-2007, 07:59 AM   #1
nidracom
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Internet slows down with Fedora and Windows PC


Hey all...

I am new to this forum and new to linux too ;-)

I ve got a problem when I connect my Fedora PC in a Windows Network (through a DSL Router) to the Internet.
I couldnt solve the problem by myself yet, so I hope that someone could help me out with this...

Setup:
DSL Router (D-LINK) with IP 192.168.1.1
Windows PC IP 192.168.1.30
FEDORA IP 192.168.1.200

Normally my DSL band is about 2 Mbps

Following problem:
when I connect the Fedora to the LAN the connection slows down to
about 100 Kbps !
I do not understand why !

the hosts looks like this:
127.0.0.1 localhost.localdomain localhost
192.168.1.200 ncomail.nidracom.local ncomail
192.168.1.1 mygateway

the resolv.conf
nameserver 192.168.1.1
nameserver 165.85.2.50 (which is another DNS in the internet. this ip are indicated on the dsl router setup)

Please, can anyone give me a little hand on this ?
Thanks a million

Best Regard
J. Paulo Marques
NIDRACOM
 
Old 11-03-2007, 08:58 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
How are you measuring this speed change?

Could you tell us more about the type of hardware connections you are using? Are these wired connections on both machines? Wireless? Card make etc.

Your entry for DNS; 192.168.1.1 is yoru gateway, that is not a DNS server address. Most ISPs pass the correct DNS addresses back to you, and store in the router. Depending on router config, they can pass the correct DNS addresses back to the using system.

Have a look in yoru router config for correct DNS addresses, or ask your ISP. Set those only in your /etc/resolv.conf file and see if that helps. When a name has to be resolved, linux looks in the /etc/hosts file first, then in resolv.conf file in the order the DNS addresses are listed, and will time out on things like 192.168.1.1, since it isn't a DNS server.
 
Old 11-03-2007, 09:20 AM   #3
nidracom
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hello camorri...

I am mesuring with a tool provided by a site:
www.abeltronica.com/velocimetro/pt/

this is usualy ok...
bysides...
I notice that the speed is very slow in the browser....
well..
all is wired. no wireless used at the moment.
everything is connectet to a switch.

I have more than one windows machine accessing the net. there are no problem with that.
when I connect the linux machine the hole connection slow down.
When I disconnect it I work on all windows based machines at about 2 Mb.

I corrected the resolv.conf to only the the nameserver which is indicated in the router and took out the gateway adress, like you sugested.
Unfort. it doesnt work... no improvement...

Regards
 
Old 11-03-2007, 09:37 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If you (like many of us) don't, and don't want to, really understand all the details of network management, install the NetworkManager and NetworkManagerDispacher services, and configure them to start during boot. Then just use the system-config-network command (or select Network from the System menu) to set your hardware interface to "automatically" get the DHCP settings from your router(s).

Re your "speed" issue, check to see if you have IPv6 configuration problems. I've seen reports that enabling v6 can significantly degrade performance, although I've had no problem leaving the option selected in the network configuration.
 
Old 11-03-2007, 09:39 AM   #5
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Internet slows down with Fedora and Windows PC

You shouldn't need a resolv.conf file. If you use "route" to set the default route to your router (192.168.1.1), all not-same-subnet requests will be handled by the router.

You can setup the route using
# route add default gw 192.168.1.1
 
Old 11-03-2007, 12:21 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You say you are using a switch. A switch, a hub, and a router are all different things but switches look just like hubs. If you have a hub instead of a switch this could be the source of the problem. Have you tried to hook the linux box directly to the dsl modem (no router or anything). This would eliminate any conflicts in the removed hardware. Many routers are like win modems, in that they follow windows protocol instead of Ethernet protocol.

Just a few thoughts.

Lazlow
 
Old 11-03-2007, 12:31 PM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Are you sure all the ethernet cards you are using are capable of the same maximum speed? You don't have an older 10 Mbps card in the linux machine?

I would like you to post a couple of things, there should be a file with the parameters that configure the ethernet card. The file on Mandriva is called cfg-eth0. Its contents have will tell us how you have things set up in linux.

Here is what it looks like on my machine.

Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.21
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
METRIC=1
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=207.164.234.193
DNS2=206.47.244.56
RESOLV_MODS=yes
IPV6INIT=NO
IPV6TO4INIT=NO
Note you can put the DNS stuff in here, and it will tell us if you have IPv6 enabled. It can cause problems on some systems.

Also if you could post the results of '/sbin/ifconfig eth0' without the quotes, it will show the error counters.
 
  


Reply



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
Using the internet really slows down the whole pc koenw405 SUSE / openSUSE 7 03-18-2007 07:14 AM
internet slows down messiahnet Linux - Networking 1 05-08-2005 09:07 PM
amule slows-down the Internet a lot leg_of_pinguin Linux - Newbie 7 04-30-2005 12:41 AM
Internet Slows jrbr1972 Linux - Networking 2 04-04-2004 05:13 PM
system slows down or hangs when connected to the internet flipboi Linux - General 4 12-02-2003 05:36 PM

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

All times are GMT -5. The time now is 11:15 PM.

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