How to Guide - Realtek RTL8111/8168B

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Re: How to Guide - Realtek RTL8111/8168B

Postby nounours18200 on Mon Mar 18, 2013 12:39 pm

but it appears r8169 is already working at you. Note that this is your wired ethernet. Your wireless has nothing to do with r8169 vs r8168.


Maybe I am wrong or I have received bad information from other sites. Let me explain what the problem is: my WIFi connection works perfectly, but I have a problem with my WIRED ethernet connection: I got the error message "wired connection disconnected". It looks like my ethernet chip of my motherboard (an Asus P6T) is sont recognized by Mint.

I have been told to follow the procedure at the begining of this topic: is the thing to do for you or do you have another idea ? if you recommend me to continue, then I will perform the "sudo make install" command that you have suggested, if not I will do not nothing unless crying because I cannot use by wired ethernet connection ! (to date I got no answer on the other forums to sove this pb).

Thank for your advice,
nounours18200
Level 1
Level 1
 
Posts: 40
Joined: Wed Nov 30, 2011 4:12 pm

Linux Mint is funded by ads and donations.
 

Re: How to Guide - Realtek RTL8111/8168B

Postby eanfrid on Mon Mar 18, 2013 1:22 pm

If one type of connection is enabled, you should disable the other one. There is no link aggregation between wifi and wire and potential ip address conflicts if both are activated at the same time on the same network. This explains the "disconnected wire" (by the network manager) when your wifi is enabled.
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
True private storage on SpiderOak
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1835
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: How to Guide - Realtek RTL8111/8168B

Postby AlbertP on Mon Mar 18, 2013 2:05 pm

Ok, so r8169 is indeed not working well.

@ eanfrid: IP address conflicts would not lead to a disconnected network connection, but to problems reaching computers connected to one of the networks. If both wired & wireless connect directly to the same router, you should not have problems since then all IPs on the network are reachable both ways.

It is easy to revert installation, so you can go on with sudo make install.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6517
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: How to Guide - Realtek RTL8111/8168B

Postby eanfrid on Mon Mar 18, 2013 2:38 pm

@AlbertP: yes, this is what I meant: there are potential routing/gateway problems since the PC is reachable through 2 ip adresses. This is probably why Network Manager disables the ethernet link when wifi is active.

To make sure that the ethernet connection does not work, nounours18200 should manually disable wifi (for troubleshooting purpose) when trying to use ethernet. If the ethernet suddendly works then it is a Network Manager config issue.
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
True private storage on SpiderOak
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1835
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: How to Guide - Realtek RTL8111/8168B

Postby AlbertP on Mon Mar 18, 2013 2:59 pm

eanfrid wrote:This is probably why Network Manager disables the ethernet link when wifi is active.

NetworkManager does not as far as I know. And the same computer being reachable on two different IPs is not a problem. It is only a problem if the computer is connected to two different networks which use the same subnet.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6517
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: How to Guide - Realtek RTL8111/8168B

Postby Tyox80 on Thu Mar 21, 2013 11:47 am

Moved on the good place ;) (i think)
Last edited by Tyox80 on Thu Mar 21, 2013 12:00 pm, edited 2 times in total.
Tyox80
Level 1
Level 1
 
Posts: 4
Joined: Thu Mar 21, 2013 11:14 am

Re: How to Guide - Realtek RTL8111/8168B

Postby AlbertP on Thu Mar 21, 2013 11:49 am

@ Tyox80: Please open a new topic about this problem. This topic is meant as a how-to for r8168, not a place to come with all your Realtek ethernet problems. A number of people with Realtek ethernet have been helped here already but I think it's better to use new topics for this.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6517
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: How to Guide - Realtek RTL8111/8168B

Postby mr_shr on Sun Apr 28, 2013 12:45 am

nounours18200 wrote:I finally succeeded in running the autorun.sh:

elodie@elodie /media/elodie/SATA_06/SOURCES_L/Driver_Realtek_8111_Ethernet/r8168-8.035.00 $ sudo bash autorun.sh
[sudo] password for elodie:

Check old driver and unload it.
rmmod r8169
Build the module and install
Backup r8169.ko
rename r8169.ko to r8169.bak
DEPMOD 3.5.0-17-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
Warning: No support for locale: fr_FR.utf8
Completed.


But the next command suggested at the very beginning of this post does not run:
elodie@elodie /media/elodie/SATA_06/SOURCES_L/Driver_Realtek_8111_Ethernet/r8168-8.035.00 $ sudo cp src/r8168.ko /lib/modules/3.0.0-1-amd64/kernel/drivers/net/
cp: impossible de créer le fichier standard «/lib/modules/3.0.0-1-amd64/kernel/drivers/net/»: Aucun fichier ou dossier de ce type

the system says that there is no file or folder of this type...

Any advices ?


thanks !
mr_shr
Level 1
Level 1
 
Posts: 1
Joined: Sun Apr 28, 2013 12:42 am

Re: How to Guide - Realtek RTL8111/8168B

Postby edenia_soul on Sun Sep 29, 2013 5:16 am

Everything worked perfectly ! Thanks a lot rarsa for this article! I am using Linux Mint 14 with kernel 3.5. I had fresh install and after I updated it every browser i had opened web pages for ages. I went through downloading the driver and after “sudo ./autorun.sh” everything went back to normal. I suspected the driver but I'm still new to Linux ..so...thanks again!
edenia_soul
Level 1
Level 1
 
Posts: 1
Joined: Sun Sep 29, 2013 4:58 am

Linux Mint is funded by ads and donations.
 
Previous

Return to Tutorials / Howtos

Who is online

Users browsing this forum: YaCy [Bot] and 6 guests