Networking Problems

i have ethernet connected (the network card is realtek rtl8110SC) and the icon on xfce taskbar says it’s connected to the internet even though pinging google.com (or trying to acces any website trough firefox) doesn’t work
any help is welcomed

1 Like

Output of

ping -c3 google.com
ping -c3 8.8.8.8
ip a
cat /etc/resolv.conf

(as text, please).

Thank you for replying
it says:

" # Generated by NetworkManager
search home
nameserver 213.46.172.38
nameserver 213.46.172.39 "

If you don’t provide all the detail I asked for then I can’t help you.

If you change your mind and do want help, then also add ping -c3 213.46.172.38 to the list above.

sorry i interpreted your request wrong:
here are the outputs:
ping -c3 google.com:
Name or service not known

ping -c3 8.8.8.8:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
— 8.8.8.8 ping statistics ----
3 packets transmitted, 0 received, 100% packet loss, time 2054ms

ping -c3 a:
Name or service not known

ping -c3 213.46.172.38:
PING 213.46.172.38 (213.46.172.38) 56(84) bytes of data.
— 213.46.172.38 ping statistics ----
3 packets transmitted, 0 received, 100% packet loss, time 2054ms

1 Like

So apparently you don’t have an active connection or don’t have an IP address (which the output of ip a would have confirmed).

Check your cable and your router.

Otherwise, you’re doing something else, like using a VPN, that you’re not telling us about.

The internet works with windows (i have it on the same machine) and i don’t have any VPN installed, so i don’t think it’s because of that

oh sorry i typed ping -c3 a istead of ip a

ip a output is (for the eth port i use right now):
ling/ether 00:50:8d:b2:39:df brd ff:ff:ff:ff:ff:ff
inet 192.169.1.160/24 brd 192.168.1.255 scope global dynamic noprefixroute enp4s1
valid_lft 2048sec preffered_lft 2048sec

That looks wrong, should very likely be 192.168.1.160. Check your router.

oh i’m sorry. it is 192.168 i mistyped it

and also i’ve read on the internet that there are problems with my internet card on kernel 5+

Just a tip:
You can select the output from terminal using your mouse and then press Ctrl+Shift+C to copy text from terminal. That text can be pasted here using Ctrl+V.
Similarly, if you need to paste commands into the terminal, then copy from web browser using Ctrl+C as usual, and then in the terminal, press Ctrl+Shift+V to paste.
This will help avoid errors.

What kernel are you using? You can type uname -r if you don’t know exactly.
Is r8168 (or r8169) installed?

yea i know… but i cannot post it here when the internet on my pc isn’t working

1 Like

kernel 5.4.92-1-lts

Please run command

lsmod | grep r816

and show the result.

1 Like

Last time I used the lts kernel, the r8168-lts wasn’t installed and I had to do it myself.

the output is:
r8169 102400 0
libphy 102400 2 r8169,realtek

and how do i do that? (i mean i know how, but without internet)

Edit file /usr/lib/modprobe.d/r8168.conf to blacklist r8169 instead of r8168. Then reboot and see if your ethernet works.

in modprobe.d there is no r8169.config