From 09496b6ff99a67b874af21c1d5a937240912639b Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 20 Jul 2013 01:21:25 +0200 Subject: [PATCH] use ifconfig.me to get external IP --- bin/whatsmyip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/whatsmyip b/bin/whatsmyip index a441b43..4b6d080 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,3 +1,4 @@ #!/bin/bash # only works behind DD-WRT router -ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +#ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +curl ifconfig.me/ip -- 2.48.1