No Internet wired, wireless works

A while back my rPi3 lost its internet connection via wired connection. It will pull an address from the router, but no internet. Wireless will pull an address and get on the internet just fine.
Did a clean OSMC install just to be sure, but still the issue persists.
I can connect to it via wired from my lan, it just wont get past my router.
I think it must be something on the router settings…any ideas?

Let me get mi Chi Chi Sticks … sorry a blank stick fall out so means no ideas

But I guess if you provide more technical details we could put away the fortune sticks and use our technical knowledge to help you.

  1. I suggest you collect some information while connected via wired and then post them when connected via wireless.
  2. That information should include output of:
    ifconfig
    route
    traceroute www.google.com
  3. When connected via wired run grab-logs -C -A then connect wireless and upload via cat /boot/uploadlog.txt | paste-log and provide the URL
  4. tell a bit about you Router, Make/Model, Default OS/Config, Firewall,…
2 Likes

osmc@osmc:~$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:c5:50:59
inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:179236 errors:0 dropped:3 overruns:0 frame:0
TX packets:190904 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32262983 (30.7 MiB) TX bytes:30190241 (28.7 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:672 errors:0 dropped:0 overruns:0 frame:0
TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:58362 (56.9 KiB) TX bytes:58362 (56.9 KiB)

osmc@osmc:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

default router.asus.com 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
router.asus.com * 255.255.255.255 UH 0 0 0 eth0
resolver1.opend router.asus.com 255.255.255.255 UGH 0 0 0 eth0
osmc@osmc:~$
osmc@osmc:~$ traceroute www.google.com
traceroute to www.google.com (172.217.4.36), 30 hops max, 38 byte packets
1 router.asus.com (192.168.1.1) 0.834 ms 0.772 ms 0.618 ms
2 * * *
3 * * *
4 * * *
Then it never gets out to google… ill work on getting the logs

At first glance, it looks fine. Could you run the following

route -n
ping -c2 127.0.0.1
ping -c2 192.168.1.1
ping -c2 172.217.4.36

If it fails on the third ping, it would suggest an issue on your router.

Thanks for your reply, looks like Ill have to dig deeper into my router.

osmc@osmc:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
208.67.222.222 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
osmc@osmc:~$ ping -c2 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.211 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.215 ms

— 127.0.0.1 ping statistics —
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.211/0.213/0.215 ms
osmc@osmc:~$ ping -c2 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=4.077 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.907 ms

— 192.168.1.1 ping statistics —
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.907/2.492/4.077 ms
osmc@osmc:~$ ping -c2 172.217.4.36
PING 172.217.4.36 (172.217.4.36): 56 data bytes

— 172.217.4.36 ping statistics —
2 packets transmitted, 0 packets received, 100% packet loss
osmc@osmc:~$

The router does seem most likely to be where the problem is.

First thing to do in a situation like this reboot the router and ensure that QoS is switched off.

If that doesn’t do the trick, replace the cable and move the Pi onto a different router port.

Edit: I missed one anomaly. It looks like you’re using OpenDNS for your name resolution but I can only see one server in the routing table. What does cat /etc/resolv.conf show? And I see that running ping google.com successfully got the IP address for google.com (172.217.4.36), so DNS requests are getting through the router, even if ping doesn’t. So what’s the output of:

host facebook.com
host -T microsoft.com
wget -qO- http://portquiz.net:80