Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have spent several hours working through the forums to find a solution to my problem. There are a lot of issues and advice around these cards, I have tried everything that seems to apply, but to no avail. Here are the details.
I have run into network problems while installing Ubuntu Gutsy Gibbon on a new server (not a dual boot). I plan to turn this into a media server, but want to get the linux install sorted first. Basically all the lights are on on the NIC and router, but there is no network. The Network app shows an entry for wired network, which is set to DHCP. Network Tools app shows an entry for eth0, but it does not look right. Rummaging around on the command line shows that things are definitely not right. This is the same whether i boot from CD or from the hard drive.
The network card is an on board realtek 8111/8168 NIC. I have a sound card and video card also installed, but no drivers for these yet - i can not get online to download them The server is a intel dual core. It does not seem to be an IRQ issue as the network controller is on 10, and nothing else is.
The router is set up for DHCP and it works jsut fine - it is what i am using to connect right now on my laptop.
I have gone to the realtek website and picked up some drivers. Only one compiled OK, but there was no change after the install (and reboot, and restart of the network service).
Below are some details of the system config. This is untouched after the install (the 3rd install with a freshly downloaded version of GG). Hopefully there is plenty of info here.
Any suggestions to get my new server on the net will be greatly appreciated. All I can think of is to rip out the realtek and put in a new PCI NIC card. Not sure if this will simply create new problems with 2 NICs though! Maybe i will try installing an earlier version.
john@mediacentre:~$ uname -a
Linux mediacentre 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
Some good progress has been made. I have the old realtek motherboard mounted NIC running with an older driver. To do this i had to go back to Ubuntu 7.04, which recognised the new DLink PCI NIC i had installed. Then I could find a driver that compiled, installed, and worked!
Now both cards work, and i can swap between them on the fly.
The steps i took were:
1 - Downloaded r8168-8.004.00 driver from : http://wiki.centos.org/HardwareList/RealTekRTL8111b
2 - $ tar jxvf r8168-8.005.00.tar.bz2 # i unpacked this on the desktop
3 - $ sudo mv r8168-8.004.00 /usr/src # move the driver directory from desktop to /usr/src
4 - $ cd /usr/src/r8168-8.004.00
5 - $ sudo make clean modules
6 - $ sudo make install
7 - $ sudo depmod -a
8 - $ sudo insmod ./src/r8168.ko
9 - $ lsmod -a | grep 8186 #just to check it was there
10 - $ cd /etc/modprobe.d
11 - $ sudo touch blacklist-network
12 - $ vi blacklist-network # add r1869 to black list
13 - $ sudo update-initramfs -u #to make the change permanent
14 - reboot
15 - ethtool -i eth0 #to see new driver assigned
After this i could do everything else with using Network and Network Tools apps.
Next step is to get this working with Ubuntu 7.10.
Last edited by jio23; 03-27-2008 at 03:51 PM.
Reason: Added CLI for all steps
For other victims, at step 12, add the line "blacklist r8169" to the file created (blacklist-network) in order to blacklist the old driver. Merely a clarification.
Thanks for sharing the solution, however I'm a bit curious - it would seem that my computer worked just fine in another location, at the reseller namely, but not at my place. What could be the cause of this? Both of us connect with DHCP, but different ISPs. Only me and another of his customers have had this issue, despite this being the network device used on all the computers he puts together.
oh i didn't realize that the output is german, sorry
a little translation:
"Fehler 2" is "error 2" and "Betrete/Verlasse Verzeichnis" is "enter/leave dir. "Keine Regel, um »/src/Makefile« zu erstellen. Schluss." is "No rule to make /src/Makefile. Exiting"
i'll try tomorrow and post my results here. thank you!