Ethernet not really working
- 
					
					
					
					
 Brand new Onion. Did update. I can get wifi to work no problem. Ethernet not so much. I can ping local addresses but not things like google.com. If I never enable wifi, ethernet works. Once wifi is ever enabled, ethernet will not function. What am I missing? 
 
- 
					
					
					
					
 @wflynn This sounds like a routing issue, can you ping 8.8.8.8 when wifi is enabled? Please post the output of the route command 
 
- 
					
					
					
					
 @crispyoz Here are some things I've tried. First, wifi up, route command, then ping. Then wifi down. Ping. Then enable ethernet. Ping local computer and 8.8.8.8. Enable wifi. Ping. root@Omega-B6CE:/mnt/sda# route 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 default 192.168.0.1 0.0.0.0 UG 0 0 0 apcli0
 192.168.0.0 * 255.255.255.0 U 0 0 0 apcli0
 192.168.3.0 * 255.255.255.0 U 0 0 0 br-wlan
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 64 bytes from 8.8.8.8: seq=0 ttl=114 time=24.812 ms
 64 bytes from 8.8.8.8: seq=1 ttl=114 time=28.690 ms
 64 bytes from 8.8.8.8: seq=2 ttl=114 time=32.853 ms
 64 bytes from 8.8.8.8: seq=3 ttl=114 time=42.783 ms
 64 bytes from 8.8.8.8: seq=4 ttl=114 time=34.982 ms
 64 bytes from 8.8.8.8: seq=5 ttl=114 time=108.420 ms
 64 bytes from 8.8.8.8: seq=6 ttl=114 time=25.614 ms
 64 bytes from 8.8.8.8: seq=7 ttl=114 time=45.043 ms
 ^C
 --- 8.8.8.8 ping statistics ---
 8 packets transmitted, 8 packets received, 0% packet loss
 round-trip min/avg/max = 24.812/42.899/108.420 ms
 root@Omega-B6CE:/mnt/sda# wifi down
 root@Omega-B6CE:/mnt/sda# [ 745.521570] br-wlan: port 1(ra0) entered disabled state
 [ 746.227420] device ra0 left promiscuous mode
 [ 746.231888] br-wlan: port 1(ra0) entered disabled stateroot@Omega-B6CE:/mnt/sda# 
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 ping: sendto: Network unreachable
 root@Omega-B6CE:/mnt/sda# ping 192.168.0.112
 PING 192.168.0.112 (192.168.0.112): 56 data bytes
 ping: sendto: Network unreachable
 root@Omega-B6CE:/mnt/sda# route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 root@Omega-B6CE:/mnt/sda# onion ethernet client
 root@Omega-B6CE:/mnt/sda# route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 root@Omega-B6CE:/mnt/sda# [ 800.798364]
 [ 800.798364] _ _____ ___ ___ _________ ___ ____
 [ 800.798364] | | /| / / _ | / _ / _ \ / / __ / _ / / V1.1
 [ 800.798364] | |/ |/ / __ |/ , _/ / / // // / , _/ _/
 [ 800.798364] |/|// |//|// _/_//|//
 [ 800.798364] Onion Enhanced MT7688 WiFi Driver
 [ 800.798364]
 [ 800.944957] DMA Scheduler Mode=0(LMAC)
 [ 800.948788] efuse_probe: efuse = 10000012
 [ 800.952907] 1. Phy Mode = 14
 [ 801.125542] 2. Phy Mode = 14
 [ 801.128517] 3. Phy Mode = 14
 [ 801.131751] WTBL Segment 1 info:
 [ 801.135166] MemBaseAddr/FID:0x28000/0
 [ 801.139054] EntrySize/Cnt:32/128
 [ 801.142500] WTBL Segment 2 info:
 [ 801.145875] MemBaseAddr/FID:0x40000/0
 [ 801.149761] EntrySize/Cnt:64/128
 [ 801.153205] WTBL Segment 3 info:
 [ 801.156578] MemBaseAddr/FID:0x42000/64
 [ 801.160552] EntrySize/Cnt:64/128
 [ 801.163996] WTBL Segment 4 info:
 [ 801.167371] MemBaseAddr/FID:0x44000/128
 [ 801.171431] EntrySize/Cnt:32/128
 [ 803.273515] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
 [ 804.085111] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
 [ 804.320713] IPv6: ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready
 [ 807.568164] br-wlan: port 1(ra0) entered blocking state
 [ 807.573479] br-wlan: port 1(ra0) entered disabled state
 [ 807.579207] device ra0 entered promiscuous mode
 [ 807.584127] br-wlan: port 1(ra0) entered blocking state
 [ 807.589487] br-wlan: port 1(ra0) entered forwarding state
 [ 807.597284] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
 [ 809.784820] Interface apcli0 link up! (WPA2PSK AES)
 root@Omega-B6CE:/mnt/sda# ping 192.168.0.112
 PING 192.168.0.112 (192.168.0.112): 56 data bytes
 64 bytes from 192.168.0.112: seq=0 ttl=128 time=26.188 ms
 64 bytes from 192.168.0.112: seq=1 ttl=128 time=2.287 ms
 64 bytes from 192.168.0.112: seq=2 ttl=128 time=2.669 ms
 64 bytes from 192.168.0.112: seq=3 ttl=128 time=5.187 ms
 64 bytes from 192.168.0.112: seq=4 ttl=128 time=4.743 ms
 64 bytes from 192.168.0.112: seq=5 ttl=128 time=2.206 ms
 ^C
 --- 192.168.0.112 ping statistics ---
 6 packets transmitted, 6 packets received, 0% packet loss
 round-trip min/avg/max = 2.206/7.213/26.188 ms
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 64 bytes from 8.8.8.8: seq=0 ttl=114 time=25.164 ms
 64 bytes from 8.8.8.8: seq=1 ttl=114 time=28.169 ms
 64 bytes from 8.8.8.8: seq=2 ttl=114 time=26.247 ms
 ^C
 --- 8.8.8.8 ping statistics ---
 3 packets transmitted, 3 packets received, 0% packet loss
 round-trip min/avg/max = 25.164/26.526/28.169 ms
 root@Omega-B6CE:/mnt/sda# ^C
 root@Omega-B6CE:/mnt/sda# wifi down
 root@Omega-B6CE:/mnt/sda# [ 833.479370] br-wlan: port 1(ra0) entered disabled state
 [ 834.187453] device ra0 left promiscuous mode
 [ 834.191923] br-wlan: port 1(ra0) entered disabled state
 route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 ping: sendto: Network unreachable
 root@Omega-B6CE:/mnt/sda# wifi up
 [ 847.226716] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
 root@Omega-B6CE:/mnt/sda# [ 847.738909]
 [ 847.738909] _ _____ ___ ___ _________ ___ ____
 [ 847.738909] | | /| / / _ | / _ / _ \ / / __ / _ / / V1.1
 [ 847.738909] | |/ |/ / __ |/ , _/ / / // // / , _/ _/
 [ 847.738909] |/|// |//|// _/_//|/__/
 [ 847.738909] Onion Enhanced MT7688 WiFi Driver
 [ 847.738909]
 [ 847.866471] DMA Scheduler Mode=0(LMAC)
 [ 847.870301] efuse_probe: efuse = 10000012
 [ 847.874422] 1. Phy Mode = 14
 [ 848.041468] 2. Phy Mode = 14
 [ 848.044444] 3. Phy Mode = 14
 [ 848.047979] WTBL Segment 1 info:
 [ 848.051349] MemBaseAddr/FID:0x28000/0
 [ 848.055280] EntrySize/Cnt:32/128
 [ 848.058726] WTBL Segment 2 info:
 [ 848.062085] MemBaseAddr/FID:0x40000/0
 [ 848.065982] EntrySize/Cnt:64/128
 [ 848.069427] WTBL Segment 3 info:
 [ 848.072785] MemBaseAddr/FID:0x42000/64
 [ 848.076771] EntrySize/Cnt:64/128
 [ 848.080223] WTBL Segment 4 info:
 [ 848.083581] MemBaseAddr/FID:0x44000/128
 [ 848.087655] EntrySize/Cnt:32/128
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 ping: sendto: Network unreachable
 [ 858.190074] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
 [ 858.196047] IPv6: ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 ping: sendto: Network unreachable
 [ 860.818242] br-wlan: port 1(ra0) entered blocking state
 [ 860.823557] br-wlan: port 1(ra0) entered disabled state
 [ 860.829286] device ra0 entered promiscuous mode
 [ 860.834051] br-wlan: port 1(ra0) entered blocking state
 [ 860.839408] br-wlan: port 1(ra0) entered forwarding state
 root@Omega-B6CE:[ 860.846322] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 ping: sendto: Network unreachable
 root@Omega-B6CE:/mnt/sda# [ 864.100109] Interface apcli0 link up! (WPA2PSK AES)
 root@Omega-B6CE:/mnt/sda# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 64 bytes from 8.8.8.8: seq=0 ttl=114 time=83.330 ms
 64 bytes from 8.8.8.8: seq=1 ttl=114 time=45.875 ms
 64 bytes from 8.8.8.8: seq=2 ttl=114 time=35.994 ms
 64 bytes from 8.8.8.8: seq=3 ttl=114 time=32.406 ms
 ^C
 --- 8.8.8.8 ping statistics ---
 4 packets transmitted, 4 packets received, 0% packet loss
 round-trip min/avg/max = 32.406/49.401/83.330 ms
 root@Omega-B6CE:/mnt/sda# ping 192.168.0.112
 PING 192.168.0.112 (192.168.0.112): 56 data bytes
 64 bytes from 192.168.0.112: seq=0 ttl=128 time=5.111 ms
 64 bytes from 192.168.0.112: seq=1 ttl=128 time=20.117 ms
 64 bytes from 192.168.0.112: seq=2 ttl=128 time=77.893 ms
 64 bytes from 192.168.0.112: seq=3 ttl=128 time=13.413 ms
 ^C
 --- 192.168.0.112 ping statistics ---
 4 packets transmitted, 4 packets received, 0% packet loss
 round-trip min/avg/max = 5.111/29.133/77.893 ms
 root@Omega-B6CE:/mnt/sda# ^C
 
- 
					
					
					
					
 @wflynn The issue is that your ethernet interface is not configured with a gateway, if your wired connection is assigned an ip using dhcp then th configuration should be provided by the dhcpd. You should be able to correct this by adding the reuired gateway to your network configuration: uci set network.wan.gateway='192.168.0.1' <------- Whatever your wire gateway should be 
 uci commit network
 service network restartThen run the same tests and see how you go