Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Thanks,
John
=======
john@mediacentre:~$ uname -a
Linux mediacentre 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
su
cat /proc/interrupts > /interrupts
lsmod > /lsmod
2) why do you say its 8111/8168 but there are references in your post to 8169.
3) post the full output of the irq list but for the lsmod, just the r8168 or r8169 would suffice
4) what kind of firewall are you using? can you confirm its running?
5) I have reservations about your ifconfig.....IMHO there should be one entry for eth0....yes I can spot the irq but we are looking for conflicts in my irq request.
6) does your /etc/resolv.conf have your isp addresses or are you setting up your own dns service?
Finally....me thinks its a combination of gg thinking it can use a 8169 driver when it should be a 8168
Thanks for the reply. I'll try r1.4 this time rather than later version.
In answer to your other qs
2 - The card is 8168 but gg seems to think it is an 8169
3 - What is the command for this? I just looked at the startup screen info to see IRQ settings
4 - No firewall at the moment. I am running them on the servers at the moment. Keeping things simple while i sort this out
5 - Agreed. Those entries are there from install. I think that the extra eth0 is for ipv4, but not sure. This was a clean install, as i want to work out the exact problem.
6 - Yep. DNS setting are in etc/resolve but i cant even get to the router.
I have been messing around and installed a second NIC, but this is generating other problems. Reckon i will take it out and try to go forward with the new driver. Otherwise i will try Ubuntu 7.04.
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.
John
Last edited by jio23; 03-27-2008 at 03:51 PM.
Reason: Added CLI for all steps
Just to confirm that the list of commands above work fine on Gutsy Gibbon as well, witnessed by my entry here using the original hardware configuration and the new (actually, old) driver.
Looking forward to repeating the process with the next release
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!
ahh you are using kernel headers....I use a full vanilla kernel but this may help you modify the makefile so it recognises the kernel headers as "the kernel"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.