diff --git a/nicparseMacos.bash b/nicparseMacos.bash index e9918d0..e0d3a25 100644 --- a/nicparseMacos.bash +++ b/nicparseMacos.bash @@ -13,6 +13,7 @@ # v 0.6 Gets your external IP or times out telling you no external IP # v 0.7 Get extenral IP optional with -e switch # v 0.8 Set time out in second argument to n.n seconds (e.g. 2.1) with 2.2, only if -e is present, (e.g. -e 1.2) +# v 0.9 Added more common Linux NICs set_color() { # terminal handling globals @@ -37,7 +38,7 @@ echo -e "${blue}External IP: \t${white}"`timeout $delay curl ifconfig.me 2>/dev/ # main loop here set_color -for nictype in lo en utun bridge docker tap tun ens eth +for nictype in lo wlan enp3s wlp2s en utun bridge docker tap tun ens eth do for counter in 0 1 2 3 4 5 6 100 101 102 103 104 160 161 162 do