linux kernel not support ethernet
I used Ubuntu 12.04. It's original support ethernet.
But after I downgrad kernel version to 2.6.32.45 . The ethernet just doesn't work. What should I do to make ethernet to work?Thanks |
To make an ethernet card work, there needs to be a kernel module ( driver ) loaded that supports the particular ethernet card you have. This is true for any kernel. Drivers are compiled at the same time the kernel itself gets compiled.
You are running Ubuntu. Odds are you have the driver, you need to find out which one, for your card and use the modprobe command to load it. First thing is to open a command prompt, and run the command /sbin/lspci. That command will list the devices connected to your pci bus. In the list you should see the ehternet card. It will look something like this : Quote:
You can then google for 'linux driver for your ethernet card' Usually common cards are not hard to find. If you can not find the driver, post the output from the command, and someone here can help. You can look at the output of the command 'lsmod' to look at the list of loaded drivers. If the correct module is there, you can try to activate the device; with the command 'ifconfig eth0 up'. That command will not work if you do not have the driver loaded. Once you know the name of the driver, as root, or sudo, try to load the driver. The command will be 'modprobe nameofdriver'. All commands without the quotes, just what is between the quotes. If you get no response, that is success. You should be able to see the module listed with the command /sbin/lsmod. Once the driver is loaded, and you use the command 'ifconfig eth0 up', you can look at Network Manager to see your configuration, and modify it if necessary. |
my /sbin/lspci command not found
How should I change the command to find my ethernet driver,
While I was in kernel 3.0.29. Is is supposed have ethernet drive exixt. What command should I take? |
I found ethernet But I don't know how to find driver
As following is command by /sbin/lspci -k , I found :
2:00.1 Ethernet controller: Intel Corporation Platform Controller Hub EG20T Gigabit Ethernet Controller (rev 02) Kernel driver in use: pch_gbe Kernel modules: pch_gbe 02:00.2 Unassigned class Then where is the ethernet driver could I find? |
Why did you downgrade the kernel? It is possible your ethernet was supported in a later kernel and not in the older one. Is there a reason you downgraded?
|
pch_gbe is my ethernet driver
Right now my kernel is 3.2.0.29 and it got pch_gbe ethernet driver.
But When I downgrade kernel to 2.6.32.45 , the ethernet driver won't support. Can I save the pch_gbe and how can I load this etherne driver into my kernel version 2.6.32.45? Very Appreciated! |
I need port older program in this kernel
Quote:
the PowerPc computer. |
I found ethernet driver located in everywhere
angela@angela-desktop:/$ sudo find -name pch_gbe*
./sys/bus/pci/drivers/pch_gbe ./sys/module/pch_gbe ./lib/modules/3.2.0-29-generic-pae/kernel/drivers/net/ethernet/oki-semi/pch_gbe ./lib/modules/3.2.0-29-generic-pae/kernel/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.ko ./usr/src/linux-headers-3.2.0-29/drivers/net/ethernet/oki-semi/pch_gbe angela@angela-desktop:/$ In my kernel 3.0.29 the ethernet driver locate in the above path. When I down grade my kernel version to 2.6.32.45, What should I do to ismod pch_gbe to all these path?? |
|
pch_gbe seems to be part of the kernel source tree only from 2.6.37
http://lxr.free-electrons.com/source...ain.c?v=2.6.37 so you will have to download the source code and compile it yourself. |
Quote:
|
Just curious: Have you tried using one of the other intel 1000Mbit drivers available in the 2.6.32 kernel?
This one for example: Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support (Intel support). |
Hi! Upstep follow, Thanks
I believe that I will try it next week!
It help a lot~~~ |
I'd done compile & everthing but can't capture the mac address
I had compile the ethernet e1000 & make install, insmod as following message:
sudo find -name e1000 ./sys/bus/pci/drivers/e1000 ./sys/module/e1000 ./lib/modules/2.6.32-02063245-generic/kernel/drivers/net/e1000 ./lib/modules/3.2.0-29-generic-pae/kernel/drivers/net/ethernet/intel/e1000 ./usr/src/linux-headers-2.6.32-02063245/drivers/net/e1000 ./usr/src/linux-headers-3.2.0-29/drivers/net/ethernet/intel/e1000 e1000 was in every correct location but still can't work is my ethernet. I found my computer can't auto capture the mac address. What should I do to auto capture my mac address or fine my mac address? Thanks |
Can you post the output of the following commands:
Code:
dmesg | grep -i eth |
All times are GMT -5. The time now is 07:40 AM. |