LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   network (https://www.linuxquestions.org/questions/linux-newbie-8/network-873059/)

Blunda 04-05-2011 04:17 AM

network
 
Guy Im having issues getting my NIC to work. I dont think the NIC is faulty because when I plug the network cable in I get the green and orange light and I get the below result when running lspci | grep net

Code:

:~$ lspci | grep net
02:08.0 Ethernet Controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (Rev 42)

There is only the lo entry in /etc/network/interfaces, there is no eth0 at all

I ran "sudo modprobe e100" and then restarted the NIC with sudo /etc/init.d/networking restart and I get the below result:

Code:

Running /etc/init.d/networking restart is deprecated because it may not enable a
gain some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.1.1 -P1

Copyright yada yada yada
all rights reserved etc

SIOCSIFADDER: no such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No Such Device
Bind socket to interface: No such device
Failed ro bring up eth0.
done.

when I run ifconfig -a it only lsts lo and pan0

Its an on-board NIC so I thought it might be disabled in the bios, but there was no option in the bios to disable it so I thought I would update the bios to see if that does. Unfortunately it didn't. I'm at a loss now, any other ideas?

Soadyheid 04-05-2011 05:23 AM

Looks like the kernel's not identifying it. Can you see any notification of it when you run
Code:

dmesg
Has this just happened or is it a new install? Try a couple of live CDs, is it the same? (They may have drivers or a different version of kernel)
Code:

lsmod
may show something networky but I doubt it.
You may be able to find a driver module for this particular chipset, have you tried looking under "Intel Corporation 82801BA"?

Play Bonny! :hattip:

Blunda 04-05-2011 06:20 AM

I have tryed a few different distros, all have the same problem

dmsg shows the network card as Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI

your right, nothing networky in lsmod

im not sure what you mean by finding the driver module, can you elaborate please? How would I go about finding it and how would I install it?

markush 04-05-2011 07:40 AM

Hello Blunda,

the command
Code:

lspci -k | grep -iA5 ethernet
will show you if there is a module for your NIC in use.

Markus

Soadyheid 04-05-2011 07:57 AM

Quote:

im not sure what you mean by finding the driver module, can you elaborate please? How would I go about finding it and how would I install it?
If I remember correctly from my Gentoo adventures, the Linux Kernel has most of the drivers for hardware built in, but there are also external driver modules which can be added - listed by lsmod.

It certainly looks like the hardware's being seen.

Hmmm.... Have you tried the Ubuntu forum searching for "Intel Corporation 82801BA" nic driver? Maybe there's something available.

Can you find a Windows driver for this? You could then install ndiswrapper from the Ubuntu Software Centre and use the Windows driver with it.

Play Bonny! :hattip:

Blunda 04-05-2011 08:01 AM

Amongst other things it lists the ethernet card which is the same as the one which lspci | grep net displayed. Which was 02:08.0 Ethernet Controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (Rev 42)

Blunda 04-05-2011 08:21 AM

@ Soadyheid: The distro i am running is actually crunchbang which a debain distro, but I imagine it similar

Soadyheid 04-05-2011 08:33 AM

Quote:

@ Soadyheid: The distro i am running is actually crunchbang which a debain distro, but I imagine it similar
Sorry, I was looking at the Ubuntu logo at the bottom left of your posts. I probably wouldn't know the Crunchbang one if it bit me on the leg. :)

Play Bonny! :hattip:

Blunda 04-05-2011 08:58 AM

yeah, not many people do know it it seems! :) its a nice lightweight distro

so you think i Should try the windows driver for it?

@ markush, did the results to lspci -k | grep -iA5 ethernet mean anything to you?


All times are GMT -5. The time now is 12:44 AM.