Carlos E. R. wrote:
This is the script I use to find the external IP:
Isengard:~ # cat /usr/local/bin/FindAndLogMyExternalIp #!/bin/bash
LOGGER=/usr/bin/logger FACILIDAD=user.notice
for((i=0;i<3;i++)) do set `wget --timeout=15 -qO - checkip.dyndns.org | cut -d":" -f2 | cut
Used like that, I first got an http503, then --2016-12-02 13:53:00-- http://-/ Resolving - (-)... failed: Name or service not known. wget: unable to resolve host address ‘-’ then four attempts to get the address from dyndns. http://checkip.dns24.ch/ does the same, but it's not used very much. Yamaban's suggestion is pretty neat, if your router had such a home page. -- Per Jessen, Zürich (3.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org