Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Hi. I am new to the forums and extremely new to Linux. I have recently installed Ubuntu 7.04 Feisty Fawn 64 bits version and I cannot get my network to work. I have an Asus P5LD2 Se motherboard that has a built in Realtek 8168/8111B NIC (that works perfectly in Windows). I have dsl (2,5 megs) with a static Ip configuration for my Zyxel 650R-31 modem/router. Ubuntu appears to recognize the NIC, but the 100 Mbits LAN led will not light up. I do show an eth0 device, but if I run sudo mii-tool it says no link. I have downloaded and compiled the driver from the Realtek website (the one that came included in the motherboardīs Cd appears to be corrupt since the traball will not unpack). I followed the instructions to the letter and nothing. I have searched thru many forums and tried a number of different commands other than the ones specified in the driverīs readme but it still would not work. After having suppossedly installed the driver following the instructions on the readme file and running the command to check if the process was there (lsmod something, I do not recall, I am at work now), it was but it would still not work. Then the next day I booted into Linux accidentally (I wanted Windows but I forgot to change it and by default the system booted into linux) and lo and behold the 100 Mbits LAN led was on. I run pppoeconf and I was able to connect and browse properly. I run some updates for the system, it prompted me to restart, so I did. The kernel had updated so I chose the new one (it was 2.6.20-15-generic and it changed to 15 again since I have since formatted and reinstalled). I still had a network connection so I installed Automatix to be able to install the Nvidia drivers (I was having issues with that too, it said I was missing some libc header files) and also a few other utilities and the like (such as ndiswrapper). It all installed properly and prompted me to restart so I did, but when I booted back up I had no network again. I kept messing with it, re compiling the driver and such and still nothing, so I tried ndiwrapper to try and use the Windows drivers, and after that the 10 Mbits lit up but I still had no connection. Since I couldnīt find a way to remove the network information to start fresh and try the drivers again (but keep all the other updates) I formatted and reinstalled and recompiled the drivers, did everything the same, but it will not work anymore.I have tried everything and I am at my wits end. I will now include the output of several diganostics commands I run while I was online (so the card was working at the time), because even though I saved the output of those same commands to a text file and into a floppy when the NIC did not work, the file was blank when I opened it in Windows.
javier@JHR:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port [8086:2771] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:00.0 Multimedia audio controller [0401]: Creative Labs SB Audigy LS [1102:0007]
01:01.0 Modem [0703]: Smart Link Ltd. Unknown device [2003:8800] (rev 02)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
04:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown device [10de:0295] (rev a1)
1) create an alias for eth0 which points to the kernel module for the Realtek adapter: r8169. this item can be done in the file: /etc/modprobe.conf
edit that file [ or create it if it does not exist ] and add this line:
alias eth0 r8169
save that file. This will be needed during the booting and initializing of the kernel to find the correct driver for your NIC.
2) meanwhile, force the driver loading now. Enter this command:
modprobe r8169
3) check the logfile to see if the driver loaded and detected your NIC.
type:
dmesg | grep eth0
If that forced the Realtek driver to load, continue.
4) Now, configure the network for that eth0 device. On the top panel select:
System -> Administration -> Network. A dialog box will popup. Under the tab "Connections", select "Wired Connection" and then click "Properties". Another
little popup box also appears. In there are the network settings. Make sure
that all them are set correctly: IP address, static IP, subnet mask and gateway IP address.
5) try to ping your gateway: select: System -> Administration -> Network Tools. A dialog box appears. Select the tab for "Ping". Enter the IP address for your gateway here. Then, click the "Ping" button. If that works OK, your all set.
Hi cuervo73. I had posted my issue in a couple other Linux forums and I got a reply on 2 of them, yours here and nother one at Ubuntuforums.org. I followed that one first cause it was easier...
I followed the guyīs instructions and it worked, though I have yet to find out whether it will continue working after a restart (it had after all worked once before)
I run lsmod and 2 network drivers were showing, r8168 (which I had compiled) and r8169
I run rmmod for both of them and the I run modprobe r8168 and the 100 Mbit led lit up. I run pppoeconf and was able to connect. I am in fact online via Ubuntu right now and running updates on the system. Once they complete I will need to restart and then Iīll know whether the changes stuck or not, or if that other r8169 driver loads automatically again, in which case I will try to black list that driver via /etc/modules.blacklist as I was instructed to do.
IF I still have a connection after the udates I will try to install the Nvidia drivers and then Beryl
Thanks for all your help...!!! I will post again to let you know whether this was a permanent fix or not (or if I need to try your method too)
Hi. The solution appears to be permanent. I have restarted several times and it still works. The transfer rates during the updates sucked, but thatīs another story...
I also managed to install the nvidia drivers, Swiftfox and its plugins and Beryl, though it has some graphical glitches, but thatīs a minor inconvenience. Once again, thank you for all your help...
A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)
Getting Started with Ubuntu 10.04 (Lucid Lynx) is a comprehensive beginners guide for the Ubuntu operating system; it features comprehensive guides, How Tos and information on anything you need to know after first installing Ubuntu. subscribe
The Incredible Guide to NEW Ubuntu (Karmic Koala)
There are a lot of people still stuck with Windows because it's the easier alternative'. Linux is both cheaper and more versatile than Microsoft's operating system, but the learning curve has frightened off many people. subscribe
The GNU/Linux Advanced Administration
The GNU/Linux systems have reached an important level of maturity, allowing to integrate them in almost any kind of work environment, from a desktop PC to the sever facilities of a big company. subscribe
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe