I just bought a Lenovo T420, I booted the live CD and couldn't connect to my wireless router so I figured I needed the drivers for it. I have the last version of Ubuntu(12.04).
It's a
IntelĀ® 82579 Gigabit Ethernet Controller
So I went on intel's website and downloaded the Drivers for Linux and compiled them with make install. Here's the tutorial I followed:
Linux Driver Install
I have a few question though,
What are these doing :
modprobe e1000e
ifconfig eth0 up
dhclient eth0
ping intel.com
As far as what I've read, modprobe seems to add the driver to the list of drivers for the kernel, but is that operation only good for one session?
The two other lines, I don't understand either what they are doing.
What does he mean at the end when he mentions :
Note: Whenever the kernel version is upgraded you will need rebuild this driver.
And are these steps permanent? Or do I have to add them to some boot.conf file for everytime I boot.
Anyways, the steps worked for me and I have established a connection with my router, I just need to know if I need to do additional steps to keep the driver permanently etc.
Best Answer
modprobe
program to add and remove modules from the Linux Kernel. You can find more details using commandman modprobe
.ifconfig eth0 up
- It is same as enable a Ethernet device in windows.dhclient eth0
is to get dynamic ip from your router.ping intel.com
to confirm that you can connect to intel.com i.e. Internet.Now to do a
modprobe
automatically, editrc.local
file. rc.local file is special file that runs when you logon.So run this command,
gksu gedit /etc/rc.local
at the end of this file before the line
exit 0
enter a line like thisWhat the thing is kernel update and blah blah..
Kernel is the core of any operating system. So if the core changes all drivers must be compatible with it. Ubuntu provides update of kernels for stability and security. The kernel version is mentioned in grub menu like this text
3.2.0-25-generic
. As you are building the driver yourself so any with any change in kernel you have to recompile the driver to make it compatible and include in this new kernel.basically you have to do the steps you did beforemodprobe
. :)Let me know if you need more clarification.
Anyway, did you check
Additional drivers
(press Win and type it), Ubuntu community might provide the drivers. In that case you don't need to do anything. It will be updated and maintained automatically.