WatskeBart Posted April 25, 2012 Share Posted April 25, 2012 (edited) EDIT: Just contributed the code on GitHub ;) The reveal public IP option from the status page wasn't working on my pineapple with FW v1.1.1 Probably because of changes at http://whatismyip.org I have a new piece of code for you all :) Edit this file in your favorite texteditor: (i used notepad++) /www/pineapple/index.php Look for this line: (line 77 in my case) echo exec("wget -qO- http://whatismyip.org") . "<br />"; And change it into this line: echo exec("wget -qO- http://checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//' ") . "<br />"; If you want to test the code first, login your pineapple via SSH and copy/paste following code: wget -qO- http://whatismyip.org this will fail :P but wget -qO- http://checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//' will work Maybe Seb could take this fix in next firmware release ;) Edited April 28, 2012 by WatskeBart Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.