Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iStat Pro Problem!

Hey so I just recently noticed that under the Network column on the iStat widget it says "Ext: Unknown." It's supposed to display my router's IP. So apparently iStat says my external IP is unknown. I think it may have to do with me installing the Tor bundle for Mac. I have uninstalled Tor and tried reinstalling iStat and I'm still having the problem. Anyone know how to fix this? Please help!

Thanks

MacBook Pro, OS X Mountain Lion (10.8.1)

Posted on Oct 9, 2012 6:29 PM

Reply
17 replies

Oct 9, 2012 6:46 PM in response to rrahimi

Oh sorry I forgot to mention that I have already tried restarting my Mac and uninstalling and reinstalling iStat. I haven't tried restarting my router though but I've heard it doesn't work. Any other suggestions? I'm very worried that this could have messed up my network settings. Also, I have sent iStat support an email.

Oct 9, 2012 7:01 PM in response to adam1232

You can make backups of your Network Preferences and then delete them.

Go to Macintosh HD/Library/Preferences/SystemConfiguration/ folder, make a copy of the following files to some other location and then remove them:

  • com.apple.airport.preferences.plist
  • com.apple.network.identification.plist
  • NetworkInterfaces.plist
  • preferences.plist


Restart your machine, add your network(s) using Network Preferences. See if iStat shows the correct data. Do this only if you are comfortable playing around with internals of the system.

Oct 9, 2012 7:19 PM in response to adam1232

It's just that I haven't done this operation myself. That's why I can't gurantee that it works or that it's perfectly safe.


Theoretically though, as long as you have a copy of these files stored somewhere, even in the unlikely case that something goes wrong, you can restore them and you're back where you were before.


It could be that the ident file belongs to a service you've never used before and therefore hasn't been created. I do have it on my machine. Shouldn't be a concern, only one less thing to do in your case.

Dec 9, 2012 9:54 AM in response to adam1232

Here's one way to fix this problem, as it appears the islayer has stopped running the "FindMyIP" service:


Open this file in a code editor:


~/Library/Widgets/iStat\ Pro.wdgt/scripts/core.js


find this function:


function getExtIP(){


Replace this line:


ipURL = 'http://whatsmyip.islayer.com/?random='+new Date().getTime();


with this line:


ipURL = 'http://www.whatsmyip.us/showipsimple.php?random='+new Date().getTime();


Just above this "if" statement:


if(extIP.length < 20 && ipConnection.status == 200 && extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){


Add these 2 lines:


extIP_len = extIP.length;

extIP = extIP.substring(16, (extIP_len - 3));


so that section would now appear:


extIP = ipConnection.responseText;

extIP_len = extIP.length;

extIP = extIP.substring(16, (extIP_len - 3));

if(extIP.length < 20 && ipConnection.status == 200 && extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){



Note that you will have to restart the iStat widget by either using "-" and "+" to re-add it, or just hold down Command-R while clicking on a Widget. They'll spin like a black hole and restart.

iStat Pro Problem!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.