8 ms·
To avoid relying on external sources, I use expect, to telnet into my router and get the ip address of its public interface. Here's an example expect script. h
by hammadfauz 13y ago
To avoid relying on external sources, I use expect, to telnet into my router and get the ip address of its public interface. Here's an example expect script.
http://serverfault.com/questions/89114/finding-the-public-ip-address-in-a-shell-script/501282#501282 http://serverfault.com/questions/89114/finding-the-public-ip...