bovender / indicator-ip

Ubuntu indicator that displays local and external IP addresses.
34 stars 5 forks source link

Allow for refresh at a certain interval #8

Open cjohnston1158 opened 7 years ago

cjohnston1158 commented 7 years ago

Best I understand, there currently isn't a way to automatically refresh the IP every X seconds/minutes. It would be nice to add this.

bovender commented 7 years ago

The IP addresses are refreshed automatically whenever the network state changes (see #5).

Does your external IP ever change without there being a change in network state? From my understanding, with dynamic IPs from internet providers, there should be at least a short disruption in the network connection, i.e. a change in network state.

wolfen351 commented 5 years ago

Yes, this is an issue for me too - it happens that my vpn link drops (outside of my machine's control) and I'm using this gadget to see my external ip. If I could get it to refresh every x mins, that would be great!

wolfen351 commented 5 years ago

I managed to simulate this by using a cron job to kill and restart the indicator every 10 mins :)