I have a raspberry Pi with three interfaces
wlan0 (WiFi), and
wwan0 (via a GSM modem)
How can I test if an Internet connection is available via a certain interface? e.g. is my GSM(
wwan0) modem connected to the Internet?
If I attempt to run
ping www.google.com- How do I know what interface is being used?