Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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...
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.
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 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.