Mailinglist Archive: opensuse (1256 mails)

< Previous Next >
Re: [opensuse] How can I get the external IP on a script?
On 31.05.2017 22:19, Carlos E. R. wrote:
No, it is working for me now, and fast, on my desktop computer. On my laptop
it did not, for two days at least.

desktop:
cer@Telcontar:~> wget -qO - checkip.dyndns.org
<html><head><title>Current IP Check</title></head><body>Current IP Address:
X.X.X.X</body></html>

laptop:
<html><head><title>Current IP Check</title></head><body>Current IP Address:
Y.Y.Y.Y</body></html>


The responses are the same, the only difference is the IP number.

I don't understand it. Maybe different versions of the apps. I'll log the
versions here for comparing later:

GNU Wget 1.14 built on linux-gnu. wget-1.14-8.3.1.x86_64
cut (GNU coreutils) 8.25 coreutils-8.25-1.4.x86_64


Perhaps a locale difference?

Just a thought: could it be that the laptop connects through a different
router to the internet? Maybe using the WLAN of a neighbor or similar?

--
Cahn's Axiom:
When all else fails, read the instructions.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >