]> git.rmz.io Git - dotfiles.git/blobdiff - bin/whatsmyip
it's already run it /etc/profile
[dotfiles.git] / bin / whatsmyip
index ed417b23f8c4af5e4fe907b5703a40b80de40e62..4b6d0800bb0df96c898751002118816e9b2abe7a 100755 (executable)
@@ -1,2 +1,4 @@
 #!/bin/bash
-wget http://automation.whatismyip.com/n09230945.asp -qO - 
+# only works behind DD-WRT router
+#ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr"
+curl ifconfig.me/ip