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.

  • 4
    It looks like you're trying to install the ethernet drivers, not the wireless drivers, can you confirm which set you are trying to install? Jun 15 '12 at 16:44
  • I'm not exactly sure what you mean, I've downloaded this:downloadcenter.intel.com/…
    – Patrick.SE
    Jun 18 '12 at 22:19
  • Right, those are for the ethernet wired adapter, not the wireless. Jun 19 '12 at 1:25
  • What exactly does this clarify to us in this context?
    – Patrick.SE
    Jun 19 '12 at 2:53
  • You say you can't connect to your wireless router, it's unclear if you're trying to connect wired or wirelessly, especially since ubuntu comes with an e1000 driver already so downloading and compiling the driver is unnecessary. Jun 19 '12 at 3:57

modprobe program to add and remove modules from the Linux Kernel. You can find more details using command man 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, edit rc.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 this

modprobe e1000e
exit 0

What 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 before modprobe. :)

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.

  • 1
    The Intel cards drivers for their gigabit ethernet are OOTB. I have a similar ethernet card in my Dell, and the drivers existed in 12.04 out of the box. As for Intel wireless, those cards (if they really are intel) also already exist OOTB.
    – Thomas Ward
    Jun 15 '12 at 16:56
  • I do not have access to my laptop right now, when I get it back I will look into it on a live cd.
    – Patrick.SE
    Jun 19 '12 at 2:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.