How to update 'IP address appears to have changed' automatically?

Duplicate of: How to update changed IP Address automatically?