LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-15-2004, 12:47 PM   #1
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Not connecting to network suddenly.


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?

Thanks,
Paul
 
Old 07-16-2004, 12:27 AM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
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.
 
Old 07-16-2004, 03:47 AM   #3
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Original Poster
Rep: Reputation: 30

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!

Thanks
 
  


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
Network suddenly stops working, route freezes nfreeman Linux - Networking 2 10-12-2005 07:39 PM
Connecting to a network vital_101 Linux - Networking 4 09-21-2005 09:29 AM
External serial modem suddenly not connecting anymore kaens Linux - Hardware 2 07-26-2005 11:07 PM
Suddenly no network henningolsen36 Linux - Newbie 2 05-27-2005 02:48 AM
Network connection suddenly died KingofBLASH Linux - Networking 1 01-02-2004 11:41 AM

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

All times are GMT -5. The time now is 04:11 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