You are not logged in.
Hello everyone, I have an network card that uses r8168 driver, by default was with r8169 driver but with that my ethernet connection after some minutes shuts down.
So reading in the wiki it says that it would be better to use r8168 driver, so I installed the AUR r8168-dkms driver that apparently installs the driver in the main kernel and the lts kernel, after that I added r8169 to the blacklist and loaded with modprobe the r8168 driver, so i thought that doing that would solve the problem but apparently even with the r8168 driver after some minutes the ethernet interface loses connection.
So anyone has any idea of how to solve that probem and use my ethernet without problems? Thanks in advance.
Offline
Post the outputs of
lspci -k
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
sudo journalctl -bUse code tags or a pastebin service, first link in my signature explains how to do the latter.
Ftr, https://www.archlinux.org/packages/?q=r8168 - the driver is in the repos, no need for dkms here.
Online
Post the outputs of
lspci -k find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f sudo journalctl -bUse code tags or a pastebin service, first link in my signature explains how to do the latter.
Ftr, https://www.archlinux.org/packages/?q=r8168 - the driver is in the repos, no need for dkms here.
Thank you for your response!
Output for "lscpi -k"
https://pastebin.com/qxRURCjd
Output for "find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f"
https://pastebin.com/XEFjSQsR
Output for "sudo journalctl -b"
Is too heavy for pastebin, is like 6.5mb text file, where can i put that?
Ftr, https://www.archlinux.org/packages/?q=r8168 - the driver is in the repos, no need for dkms here.
So, Do I uninstall r8168-dkms and install the main version and lts? Because I use both versions of the kernels day to day.
Offline
You're using r8168 and there's only NM (which is good) but the overly large journal indicates a problem.
where can i put that?
Google drive?
https://wetransfer.com/ ?
So, Do I uninstall r8168-dkms and install the main version and lts?
Yes.
Online
You're using r8168 and there's only NM (which is good) but the overly large journal indicates a problem.
where can i put that?
Google drive?
https://wetransfer.com/ ?So, Do I uninstall r8168-dkms and install the main version and lts?
Yes.
Here is the journalctl in google drive.
https://drive.google.com/file/d/1x9PUmj … p=drivesdk
And all right, I'm going to do that.
Offline
For clarification: there's a r8168 NIC (wired) that contantly fails to obtain a dhcp lease and a rtw_8822be NIC (wireless) that has a fairly weak signal.
Do you mind the wired or the wireless connection?
For the wired connection, try https://wiki.archlinux.org/index.php/Ne … HCP_client (you'll ave to install dhclient, but DO NOT ACTIVATE THE SERVICE - just configure NM to use it)
Online
For clarification: there's a r8168 NIC (wired) that contantly fails to obtain a dhcp lease and a rtw_8822be NIC (wireless) that has a fairly weak signal.
Yes
Do you mind the wired or the wireless connection?
I would like to have the wired connection at fully functioning because my wireless connection as you say has a weak signal.
For the wired connection, try https://wiki.archlinux.org/index.php/Ne … HCP_client (you'll ave to install dhclient, but DO NOT ACTIVATE THE SERVICE - just configure NM to use it)
Ok i will try
Offline
For clarification: there's a r8168 NIC (wired) that contantly fails to obtain a dhcp lease and a rtw_8822be NIC (wireless) that has a fairly weak signal.
Yes
Do you mind the wired or the wireless connection?
I would like to have the wired connection at fully functioning because my wireless connection as you say has a weak signal.
For the wired connection, try https://wiki.archlinux.org/index.php/Ne … HCP_client (you'll ave to install dhclient, but DO NOT ACTIVATE THE SERVICE - just configure NM to use it)
Ok i will try
Well I tried installing dhclient and I'm not seeing any difference because after some minutes the wired connection restarted again losing the IP and being unable to recover it.
I'm posting the commands that you say me again
Output for "lscpi -k"
https://pastebin.com/ExBsbatw
Output for "find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f"
https://pastebin.com/dqnU0uKz
Output for "sudo journalctl -b"
https://drive.google.com/file/d/183NiPX … p=drivesdk
Offline
The journal looks like you intalled the dhclient package but didn't configure NM to use it ("dhcp4" is the internal dhcp client)
Online
The journal looks like you intalled the dhclient package but didn't configure NM to use it ("dhcp4" is the internal dhcp client)
I have added the dhcp-client.conf file to the /etc/NetworkManager/conf.d/ directory, writing the same as the wiki but even with that the wired connection restarted.
I'm sharing with you the new "sudo journalctl -b" output:
https://drive.google.com/file/d/1XIiTwA … p=drivesdk
Offline
You get a lease at ~8:50, then ~9:09 you get a rapid "link down - link up" cycle and then with increasing frequency this repeats every few seconds (rendering the network useless)
Ensure r8169 isn't loaded (somehow)
lsmod | grep 8169and post the output of
ethtool enp8s0Stop & disable TLP to ensure it doesn't power down the NIC and your NTFS partition tells me that there's likely a windows installation - see the 3rd link in my signature.
Online
You get a lease at ~8:50, then ~9:09 you get a rapid "link down - link up" cycle and then with increasing frequency this repeats every few seconds (rendering the network useless)
Ensure r8169 isn't loaded (somehow)
lsmod | grep 8169and post the output of
ethtool enp8s0Stop & disable TLP to ensure it doesn't power down the NIC and your NTFS partition tells me that there's likely a windows installation - see the 3rd link in my signature.
The command
lsmod | grep 8169don't shows anything.
The output for
ethtool enp8s0 shows me this:
https://pastebin.com/TSdwPPDh
I read the link and yes Fast-boot was activated, and I disabled that and I WORKS! I am using more than half day without problems, thank you so much! I didn't notice that.
How can i mark this thread as solved?
Offline
It's in my signature for a reason ;-)
Edit your initial post - you can alter the thread subject there and just prepend "[SOLVED]"
Online