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.
One of the computers on my network doesn't connect to the it for some reason...
It was working fine yesterday.
ifconfig shows that it's not connected. It doesn't have its usual ip of 10.0.0.11, or any IP. Just 127.0.0.1.
I'm not sure what's causing it, but the changes I made yesterday were:
Set up nfs file sharing between the computers on my network.
I modified /etc/hosts.allow, /etc/hosts.deny, /etc/hosts, and /etc/exports. I disallowed anyone except root from being able to read /etc/hosts.allow/deny. I thought maybe something was happening in /etc/hosts.deny or allow, not allowing it to connect to the network, so I commented out everything I disallowed. Restarted, got the same problem.
The other computers on the network seem do not be having this problem, and i'm pretty sure I made the same changes to all of them.
Does anyone have any ideas, or is there any pieces of information you need that may be useful?
Hi BluePyre,
It appears your problem is not related with your changes. However, the correct permissions for these files is "0644" or "-rw-r--r--", read/write to root and readable for all. If you don't see eth0 with ifconfig, it means that the network could not load. Try "lsmod" to see if the nic module is loaded. You may have a problem of "electrical contact lost" between your nic board and the motherboard. Look for strange messages in /var/log/messages and, if you try to observe carefully the messages during the boot you will see "FAILED" when setting up the eth0.
If this machine obtains its address via dhcp, maybe it couldn't obtain its address because of cable problems. In this case, if you enter "ifconfig eth0" it will show you the card configured, but without IP addresses.
I changed the permissions of the files, then restarted. No luck.
I did an ifconfig and fount they weren't getting an IP address, so I took a wild stab and assigned the address manually, and what do you know!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.