Score:0

netplan network accessibility check

mk flag

Is there any way to check connectivity in netplan to check real connection state (is Internet connection alive or not)? As an example, I have a connection through LAN router (default gateway) and fallback through LTE. Of course, link between Ubuntu server and LAN router always available, but, sometimes, LAN router can lose WAN. So, Ubuntu server have to use LTE while routers WAN down. Something like connectivity check in NM https://ubuntu.com/core/docs/networkmanager/snap-configuration/connectivity-check

David avatar
cn flag
You would need to write a script.
QuAzI avatar
mk flag
I am an absolute newbie in netplan. Can you provide some examples?
David avatar
cn flag
It is not a netplan thing. You would need to write a script maybe in bash to check connection status.
QuAzI avatar
mk flag
Can you provide some scripts examples?
David avatar
cn flag
Sorry no I do not do that stuff.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.