Shadow_7 wrote: ↑
Mon Aug 13, 2018 2:56 am
Seems like avahi-daemon is stomping on your toes. (steps on mine too). It sets up a default ip/route when it thinks it didn't find one. Which overrides the route you "want" to take.
$ sudo ip addr del 169.254.156.66/16 dev eth0
$ sudo ip route add default via 192.168.1.1 dev eth0
Is a regular part of my first steps after bootup. Along with manually setting up my network.
$ sudo ip link set eth0 up mtu 1500
$ sudo ip addr add 192.168.1.99/24 dev eth0
Replace with the specs for your system.
$ ip link show
$ ip addr show
$ ip route show
Having the 7" touchscreen helps since I can "see" what I'm doing.
@Shadow_7, Interesting, I didn't know that I can add a route lika that. Anyway, the "sudo ip addr del...." removed the one route I had and the "sudo ip route add default..." was followed by.
RNETLINKANSWERS: Network is unreachable
and I have no routes at all.
It starts to look like a hardware problem, but first I have to take a trip with my bike (electrical, but not connected) to consider everything. It may help - with a little help from my friends... Thanks for now.
@Shadow_7, Adding the 192-route keeping the 169-route is possible, but how do I test it? Reconnecting the cable after some pause?
@Shadow_7, Unplugging cable, then adding 192 with 169 still there adds 192 in the route -n result. Then removing the 169 route also removes the 192 route and I have zero routes left. /MatsPojken after bike trip