[yocto] Set route metric in recipe

Jakob Hasse jakob.hasse at qiio.com
Fri May 25 09:38:34 PDT 2018


Hello,

I would like to know how I can set the route metric for specific 
interfaces in a recipe. I have two interfaces, one eth0 for debugging 
and one ppp0 (modem) for internet connectivity. Since the eth0 interface 
has by default a lower route metric, but is not connected to the 
internet, I always have to set the route metric manually with 
NetworkManager.

Does anyone have an idea about this?

Thank you very much and best regards,
Jakob


More information about the yocto mailing list