First thing, you need to get an ethernet device working.
- Code: Select all
e1000e : Intel Corporation|82579V Gigabit Network Connection [NETWORK_ETHERNET] (vendor:8086 device:1503 subv:8086 subd:200d) (rev: 05)
This is your ethernet controller. Since ifconfig does not show any ethernet device, most probably the driver is not being loaded at boot. You need either the e1000 or the e1000e driver (and based on the output, looks like it should be the e1000e.
Start by confirming the driver is not loaded. As root:
- Code: Select all
lsmod | grep e1000
If the result of the command does not show one of those drives being present, then load it.
Now, I don't do this often enough, so I never remember the correct syntax and I usually have to try multiple variants to get it right.
As root, try these until you don't get an error message:
- Code: Select all
insmod e1000e
or
insmod e1000e.ko
or
insmod e1000e.ko.xz
or
modprobe e1000e
One or more of these will work. Should you have any path problems, this driver is located in /lib/modules/(your kernel version ID)/kernel/drivers/net/ethernet/intel/e1000e.
if you look in /lib/modules you will see one or more directories that have the same name as the kernel you are running (you can find this with the command uname -r). That is the one you want.
In fact, you can directly reach that directory with this command:
- Code: Select all
cd /lib/modules/`uname -r`/kernel/drivers/net/ethernet/intel/e1000e
Note that those are backticks surrounding the uname -r. On the US keyboard, the backtick is found to the left of the character 1 key.
Anyway, once you have the driver loaded, do an ifconfig and you should see your network adapter.
Now, you need to have this driver loaded on startup, and when it is then almost certainly your network will start automatically. Properly, this driver should go into the initrd and you would configure this using the dracut command. You are welcome to do a "man dracut" to learn about this command, but I will tell you that I don't know why that driver is not already in the initrd and I am not sure, off the top, how to configure dracut to add that driver. I would have to research it a bit. Wouldn't have to research it a lot, but I can't just tell you how to do it. I think there is a command line switch to tell it to "load this driver too".
But there is a quicker way, if you are willing to do it. Once again, this is very old-fashioned. I believe it is now deprecated but it still works.
There is a file called /etc/modules. In it, you place the name of any driver you want loaded that is not already being loaded. So all you do is edit that file (as root) using your favorite editor and add a line that says "e1000e" and nothing else (without the quotes...just the string e1000e).
You also can do it this way. As root:
- Code: Select all
echo e1000e >>/etc/modules
Once you have told the system to load this driver at startup (using either method above), reboot the box and I will bet your network starts.