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 have a very strange problem with getting Linux machines to connect to our network. I am able to get any Windows machine networked just fine, but Linux machines with exactly the same settings won't work. The network has fixed IPs for all the machines in it.
The Linux machines seem to connect just fine but the router shows no connection. If I try to access anything (web-page or such), all I get is Looking up... The nameservers are correct.
I am able to ping the gateway/router, but everything seems to stop there. Needless to say, there is nothing about this in router logs.
Actually I was able to connect to the router once using DHCP, but that was only once. Now trying DHCP does make a connection (it shows up on router), but there is still no data transfer...
This happens with every linux machine I've tried. What on earth could be wrong???
--edit--
Here's some more information about the network and the setup:
The router is at 192.168.0.254 and there are two switches between the machine and the router. The router is Netgear WGR614 v7.
We have machines 192.168.0.2, 192.168.0.3, 192.168.0.50, 162.168.0.51, 192.168.0.52 there also used to be 192.168.0.60 that is to be replaced with the new Linux server.
Here are the relevant settings from the new Linux box:
These first issue I see is that your machines are in two different subnets, only machines with 192.16.0.X addresses would be able to talk to the router given the provided parameters.
New PC
inet addr:192.168.0.60
Bcast:192.168.0.255
Mask:255.255.255.0
Gateway: 192.168.0.254
At this point I would ask, do you have any security enabled in the Netgear Router ? this address should be able to get through the router provided all the information you have shown is correct. Services can be blocked in that router by IP range, has someone enabled filtering in the router ? Check the Router manual and settings. ftp://downloads.netgear.com/files/wg...al_20apr06.pdf
Check the Router logs as well to see if it is showing access Deniaed when your Linux machines tries to access a web site.
and view the connected devices list in the router.
These first issue I see is that your machines are in two different subnets, only machines with 192.16.0.X addresses would be able to talk to the router given the provided parameters.
New PC
inet addr:192.168.0.60
Bcast:192.168.0.255
Mask:255.255.255.0
Gateway: 192.168.0.254
At this point I would ask, do you have any security enabled in the Netgear Router ? this address should be able to get through the router provided all the information you have shown is correct. Services can be blocked in that router by IP range, has someone enabled filtering in the router ? Check the Router manual and settings. ftp://downloads.netgear.com/files/wg...al_20apr06.pdf
Check the Router logs as well to see if it is showing access Deniaed when your Linux machines tries to access a web site.
and view the connected devices list in the router.
Well, actually no... That was just a typing mistake... They are really 192.168.0.2, 192.168.0.3 and 192.168.0.60... So they are in the same subnet. I fixed the addresses in original post also, sorry about that...
There are no rules blocking the traffic in the router, and the router's logs don't say anything at all. The connections from the Linux machines don't even show up under the "Attached Devices" in the router's ui (unlike connections from Windows machines with identical settings).
This is what Netgear support has to say about the problem:
Quote:
Nothing in the router which uses netbios to resolve names and add devices to the attached devices section in the router. If a windows machine doesn´t show up you just choose to "activate netbios over tcp/ip".
Try troubleshooting the Linux computers and see what can be done in them. In the router you can only make sure you have the latest firmware.
So "Activate NetBIOS over TCP/IP", how am I supposed do that in Linux???
That would be a function in Samba.. broadcast based peer name resolution
I would think your Machines would still show up in the client list just with IP or MAC addresses instead of with machine names.. but I guess that isn't happening and I'm not familiar enough with their routers to tell you any different.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.