network device down
I am on mandriva2006 powerpack.
My network is totally down. I don't
Somebody has messed up some file.
When I use the command ' service network restart'
I get the following error :
" bringing back loopback interface: arping:
socket: address family not supported by protocol
Error, some other host already uses address 127.0.0.1 "
My etc/host file is as follows :
Can anybody help out ?
Thanks in advance.
Would you post the results of the command '/sbin/ifconfig' ( Without the quotes ). Please also describe the network connection, how many network interfaces you have on the system, and any other information you think may be relevant. Is this a wored or wireless connection?
Basically cards were working. All of
sudden the network stopped.
I think somebody blew something.
ifcfg-eth0 & ifcfg-eth1 were missing and I
created them manually.
The MB is a intel 945 with onboard lan which
I am not using.
I have 2 Compex giga ethernet cards.
/sbin/ifconfig gives only loopback device details
lspci show the cards.
lsmod does not list the cards.
cat /proc/interrupts - no cards listed.
cat /proc/net/dev - no cards listed.
Cards are working using Knoppix liveCD.
No wireless connection.
I hope that was useful
Since the cards are working with Knoppix, this would indicate this is not hardware related, things like IRQ conflict, defective cards, or a cabling issue. So, with that in mind, a few questions.
Can you see the cards if you open MCC and look at the hardware? Since lspci shows the card, I suspect it will show up through MCC. If it does, try running the configuration tool through MCC.
If it does not show up, in MCC, do you know the name of the driver that worked with the card? If yes, try using modprobe to load the driver. If it loads, you can try and configure the card with ifconfig command.
Let me know how far you can get, and if you need some help with the commands.
In mcc/hardware card are shown and
' e100 ' is the module for the onboard lan
and ' sk98lin ' for the giga ethernet cards.
Loading manually thru' mcc does not work .
And modprobe e100 or modprobe sk98lin
gives the following error :
FATAL : module e100 not found
And /sbin/insmode e100 gives :
can't read e100 : no such file or directory
I wonder what happened to the mudules.
Anything else that I can try ?
Here is the location drivers are installed.
First, have a look to see if you can find the drivers in the above location. If not, try the command 'locate e100' to see if the locate database knows where they are. If you get a message the data base is more than 8 days old, then run as root 'updatedb' ( without the quotes ), after the update, try to locate the files again.
If you do not have the drivers, you will need to install them. Since your internet connection is not working, use package management and install them from your install CD's.
It may take a bit of looking to find out which package has the drivers.
As an addendum to 'camorri's' post:
The graphical Software Installer (I think it is Install Software in MDV 2006) has a search function which can be useful when searching for a package containing a specific file.
Enter your search term in the text entry field near the top of the window. In the Find in drop down list select from Name, Description, or File Name, then press the "Search" button to the right.
In this situation, you should start with the File Name choice, then try Description. The Name option will probably be fruitless, but you can try if you want to in the name of thoroughness :).
I ran updatedb.
I ran locate and it located both e100
and sk98lin drivers.
But still modprobe or /sbin/insmode give
the same error.
I checked manually the drivers are there.
So where does it leave us now ?
Would you have a look as the output of lsmod and see if the drivers are listed?
We know the drivers are still on your system, and you have re-created the /etc/sysconfig/network-scripts/ifcfg-eth0 file and /etc/sysconfig/network-scripts/ifcfg-eth1 files.
If the drivers are not listed with lsmod, would you try again to modprobe each driver, and cut and paste the error information to this file. Please use cut and paste, do not just re-type it. There has to be an error that is being overlooked.
No lsmod does not list any modules.
It should show something like :
8139too 22880 0
mii 5664 1 8139too
If the mudules are loaded.
But lspci clearly show the card details.
I removed one card and it gave an error
that card not found. So basically cards
are detected but for some funny reason
the modules are not being loaded.
# modprobe sk98lin
FATAL: Module sk98lin not found
I can't copy but I exactly written.
A very strange mess up.
As root run the command 'uname -r' this will give you the name of the linux kernel, and part of the path the kernel is looking in for the modules.
If this system has had a kernel installed, it may be the kernel is not looking in the correct path for the modules. What we need to see is, the path where the driver is, and the path the kernel looks are the same. My system shows :
Yes it is same for me also.
[root@slashome varun]# uname -r
At this point I'm at a loss to explain why you are unable to load the ethernet drivers. They are there, and modprobe can't find them. It appears that a kernel update was not done.
May I suggest you start a new thread, reference this one. I can only hope that someone else see it, and can help out more.
One last thought, I checked directory and file permissions out to the e100 driver. Here is how my system is set up.
Thanks a lot Camorri,
I did learn from it.
I did a check on my Mandriva system,and I do not have a e100
but do have a e1000
I don't know enough about it if thats important or not..
Sorry to jump in..
|All times are GMT -5. The time now is 06:25 AM.|