Question

install lan drivers on Ubuntu - urgent

Asked by: routinet

Specs are:

Intel D945GCLF (http://www.newegg.com/Product/Product.aspx?Item=N82E16813121342)
512mb ram, 128 shared to I.V.

A fresh install of the new Ubuntu.  The LAN drivers used were not working.  They managed to contact DHCP once, but every other time comes back with a 169.254.*.*.  

I downloaded the zip package here:  http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=2916&OSFullName=Linux*&lang=eng&strOSs=39&submit=Go!

Got it into the home directory and ran it through unzip.  The readme says look for the existing driver.  I did, and removed it (lsmod/rmmod).  Running 'make clean modules' ends up drawing an error.  I've run the command without sudo, with sudo, and even unlocked the root account, and ran it as root.

Can anyone help me resolve this?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-08-10 at 15:12:22ID23636550
Tags

linux

,

network

,

drivers

,

ubuntu

,

make

Topics

Linux Networking

,

Linux Administration

,

Ubuntu

Participating Experts
1
Points
500
Comments
23

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. How to install key logger on ubuntu 6.10
    How to install key logger on ubuntu 6.10
  2. Ubuntu root password not recognized but sudo will work
    I have installed Ubuntu and it all is ok and until now I have used sudo command. I tried to login as root and to issue su - command but the installation does not recognise my password. I am certain I entered the correct password.... is the sudo password not the same as the ro...
  3. Ubuntu sudo Ifup eth1 problem
    The OS is Ubuntu 2.6.24-19-386. I was wondering why every single time I boot up the machine then I need to do as below in order to get wireless internet connection. $sudo ifdown eth1 $sudo ifup eth1 Here is the thing! The interface of eth1 is already up after I boot up the ...
  4. Internet not working - Ubuntu
    Hi experts - I have installed Ubuntu recently and I installed it on Presario R3000. My home networking is fine. Internet is available on all the computers wired and wireless. But I am not able to connect to Internet on the Ubuntu machine. Please guide. Thi...
  5. CollabNet Subversion Client for Ubuntu / Netbeans
    Where to download CollabNet Subversion Client for Ubuntu system with netbeans installed?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jozef_maresPosted on 2008-08-10 at 15:42:44ID: 22200965

it does not seems like a kernel module problem but network problem.
try to load module
modprobe module_name, dhclient eth0.
if not working run dmesg and post there last 20 lines.

 

by: routinetPosted on 2008-08-10 at 15:44:56ID: 22200970

>>> modprobe module_name, dhclient eth0.

Is module_name the same name used in lsmod/rmmod?  

Will try that and post back shortly.

 

by: jozef_maresPosted on 2008-08-10 at 15:51:08ID: 22200987

yes it is same name

 

by: routinetPosted on 2008-08-10 at 16:08:13ID: 22201038

Now I'd like to know what happened.  

I tried modprobe, but it had no output, and I still had no connectivity.  I went to Realtek's site and downloaded another driver package.  Intel's version was .006 where Realtek's was .009.  The new package compiled without a hitch, but still no connectivity after dhclient.  I examined dmesg, but there was nothing of interest...it says eth0 link comes up, with no IPv6 routers available, and assigns a 169.254.

I reboot, and it comes up with no problem.  ifdown/up and dhclient both acquire an address just fine.  Both mods are still listed for the device.  How can I tell which module is actually being used for the device?

 

by: jozef_maresPosted on 2008-08-10 at 16:12:06ID: 22201047

try lsmod and search for module

 

by: routinetPosted on 2008-08-10 at 16:12:56ID: 22201049

I did.  Both show it is not being used.

mis@mis-desktop:/dev$ lsmod | grep r8
r8101                  39568  0 
r8169                  36612  0 
                                              
1:
2:
3:

Select allOpen in new window

 

by: routinetPosted on 2008-08-10 at 16:14:44ID: 22201053

This next snippet is from dmesg, after the reboot.  I'm guessing this means r8169 is the one:

[   35.838465] r8169: eth0: link up
[   35.838475] r8169: eth0: link up
                                              
1:
2:

Select allOpen in new window

 

by: jozef_maresPosted on 2008-08-10 at 16:16:05ID: 22201056

so you can try rmmod one by one and see what happend (e.g. your connection was lost)

 

by: routinetPosted on 2008-08-10 at 16:17:31ID: 22201062

I'm scared to.  :)  Perhaps I should just leave well enough alone.  Are there any side-effects to have an unused module installed and assigned?

 

by: jozef_maresPosted on 2008-08-10 at 16:17:34ID: 22201061

yes r8169 seems like is working for you. you can even try to add r8101 /etc/modprobe.d/blacklist and reboot. if your connection working you know which one was wrong.

 

by: routinetPosted on 2008-08-10 at 16:19:20ID: 22201066

If I add it to the blacklist, and my connection does not come back up, I should be able to remove it from the blacklist and go back the way it was, yes?

 

by: jozef_maresPosted on 2008-08-10 at 16:20:41ID: 22201070

well side efects depends on situation. i think that will be better to determine which is problematic and than blacklist one.
They can share IRQ or something like that.

 

by: jozef_maresPosted on 2008-08-10 at 16:21:22ID: 22201073

yes if your connection will be lost you will just remove module from blacklist and load it.

 

by: routinetPosted on 2008-08-10 at 16:58:30ID: 22201171

ARGH!!!

I tried blacklisting the 8101, and rebooted.  No connection.  I removed blacklist 8101, put in blacklist 8169, and rebooted.  No connection.  I removed the blacklist entry, and rebooted.  NO CONNECTION!

lsmod still shows neither module being used.  dmesg shows r8169 being used, and reports eth0 link up.  ifdown brings down the link, and ifup brings it up, but dhclient will not find the router.  The router is good...two other systems are using it with no problems (one reservation, one dynamic).  I had a suspicion about the cable, so I just made a brand new one, and still nothing...

Any ideas?

 

by: routinetPosted on 2008-08-10 at 17:08:03ID: 22201193

And now it's back up.  <sigh>  WTF?!?!  I rebooted, and it came up.  I rebooted again, and it came up again.  I have no idea what's going on....

 

by: jozef_maresPosted on 2008-08-10 at 17:56:19ID: 22201287

try to disable wake on lan

 

by: routinetPosted on 2008-08-10 at 18:01:40ID: 22201299

I'm pretty sure now I'm affected by a bug.  Still unclear if it is a kernel bug or driver issue, but quite a bit of evidence is pointing towards the kernel.  Here's the start of the research:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/223656

There were other entries related to different Realtek chipsets, but most have the same common symptom: an inability to discover DHCP and the r8169 package's insistence on being present.  I'm still working towards finding a 100% solution.  If you can point me in the right direction, please do.  I'm afraid I'm a bit out of my league here...

 

by: jozef_maresPosted on 2008-08-10 at 18:16:55ID: 22201331

well i think you can try upgrade kernel.
if you are on debian-like system execute apt-get update && apt-get dist-upgrade

other option is to rmmod and modprobe so many times until connection will be OK, or you can just wait for patch which will solve this.

 

by: routinetPosted on 2008-08-10 at 19:44:08ID: 22201573

I tried apt-get update and dist-upgrade, with no results.

I've found that I can consistently get the network to function properly by using 'modprobe r8169'.  It is the wrong driver, but rmmod and blacklisting will not remove it.  Doing either will simply make the connection not work, despite the fact that the r8169 continues to load (even if blacklisted).

The immediate issue is resolved, but there is still a recurring problem.  I've posted a comment under a related bug in launchpad:

https://bugs.launchpad.net/ubuntu/+bug/215450

It seems there are a number of issues with Realtek NICs in Ubuntu, so I guess I just have to wait and see what happens.

 

by: jozef_maresPosted on 2008-08-11 at 00:48:14ID: 22202422

i think thats best what you can do

 

by: routinetPosted on 2008-08-11 at 10:29:24ID: 22206373

There is a fix out for it, based on bug #223656.  How do I implement it?  The fix is released as source diff...a single line of code in the kernel source needs to be moved.  You can see the diff here:

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=222947b1ea81041269639ddb2033f252a5e0ed25

How do I get this into a system?  This box is just one computer...I have to get this done for at least 4 more.

 

by: jozef_maresPosted on 2008-08-11 at 11:00:27ID: 22206658

well you should download kernel tree (search for kernel with apt), install build-essential, go to kernel directory, change that line of code and compile whole kernel.

 

by: routinetPosted on 2008-08-12 at 13:49:01ID: 22216979

I'm not sure, but it looks like one of the auto-updates took care of the issue.  I'll continue testing it over the next week to see I can cause the issue to reoccur.

Thanks for your time on this.  I'll close this question, and open a new one if necessary.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...