Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can script and program if necessary, but just looking for the best way to do this. What I have in mind is everytime I connect to my home network, I use NetworkManager, it would update the ip. That won't ensure 100% garuntee that it'll work, but it should be good enough.

If I did want 100% I was thinking I could have my desktop, an openSuse 11.4 box (somehow) run a script whenever the address gets changed and update it to a remote server which I have control of. Then as a fallback I can always just check that and manually change it.

Is there a better way than this though, seems like a good bit of work.

share|improve this question

migrated from stackoverflow.com Mar 20 '11 at 19:37

This question came from our site for professional and enthusiast programmers.

1  
Can you elaborate more on "update the ip"? A specific example would be helpful. I can't tell if you mean your local ip or the router's ip. –  Toast Mar 20 '11 at 15:48
    
Why don't You configure Your dhcp server? –  Michas Mar 20 '11 at 15:52

2 Answers 2

Easiest way is to get a name on something like dyndns and use the name

Have you checked how often the IP actually changes? On most cable supplies it almost never does - minehas been the same for more than a year

share|improve this answer

Googling dynamic DNS will bring up a bunch of providers that do exactly this, both paid and free. These providers will provide you a hostname that's tracked to your home's dynamic IP. Some routers (e.g. WRT54G) include functionality to directly update the servers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.