Tested for:
- Ubuntu 18.04/20.04
- Lenovo X1 Carbon 6th gen ethernet dongle
- Download
check-eth.sh
to a directory on your$PATH
, e.g.~/.local/bin
- Make it executable with
chmod +x ~/.local/bin/check-eth.sh
- Download
check-eth.desktop
to~/.local/share/applications
- The script can be run both from the command line, or from the Gnome application launcher by entering "Check ethernet"