root@Arduino:/# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 10 0 0 eth1
192.168.0.0 * 255.255.255.0 U 10 0 0 eth1
I confirm that eth1 metric is deliberately set to 10 because otherwise you would lose access to the yun just by plugging in the ethernet cable (yun disappearing from the IDE, stuck ssh connection)
Can you please explain this part? What is the "metric" parameter, how do I set it, and why does it affect IDE connection?
I have no wifi on the old desktop PC I'm using; connecting over ethernet allows me to see SD card contents (so I know connection is working), but Yun IP address does not appear in IDE menu, so I can't upload sketches and web pages.