Go Down

Topic: Go Online with my project (Read 2 times) previous topic - next topic

tkbyd

If you are (marginally?) lucky, you can have dyndns without needing to have a "big computer" online all the time to run the dyndns updater.

Some (many?) routers have dyndns updater software in them, but usually they are not turned on in the default configuration. Go to your router's control panel and hunt around.

===
"dyndns updater": Some software running in your router, or a computer in the LAN it is connected to. It periodically checks what your latest IP address is, and if it has changed, sends word to the people at your dyndns service, giving them the news, so that when things are sent towards you, the dyndns people can direct it to the right numeric address.

Much of this is re-stated at pages connected to....

ArduServer.com

... and again in the FarWatch setup material...

But there's not much NEW in any of that... just the same material stated a different way, in case the first things you read didn't make sense!

zoomkat

Quote
Now this program works fine in LAN.
But how can I use this program via internet. I have a nokia siemens router. When I enter my IP address(of internet) my router page opens but I want to open the web server interface.


Generally you port foward (or virtual server) on your router to the lan ip address of your arduino. Many routers have a feature that can be set up to update the dynamic ip services. A $40 netgear 614 router can do this.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

stevenSwift

I am working on a device that might make your connection very simple, see: www.swiftEnterprises.biz.
Creator of RD-11 wireless data sharing, see www.swiftEnterprises.biz

vinhtvu2

MOST newer router will do DDNS update automatically...

check with your router to see if it has this feature. My $10 rosewill router from newegg has this feature... as well as my 80 Asus router running on Tomato... so that's a pretty wide range of routers that support it.

So here goes... my personal IP address from my ISP is [111.111.111.111] for example...
My arduino is [198.236.0.2] since it's on the local network... my router is going to be [192.236.0.1].

Now, my router HTTP server is set to be on port 8080 instead of port 80, or any other port... This leave port 80, the default web server port open for the arduino.

Now, go to port forwarding, and forward port 80 to IP address [192.168.0.2] or whatever the port of your arduino is.

Once all this is done, you should be able to go to your IP address, [111.111.111.111], and see the arduino HTML interface... and then go to 111.111.111.111:8080, and you'll see the router interface.

Next step is DDNS.... since my IP is dynamic... meaning 111.111.111.111 will change at the will of the ISP, so I wouldn't want to memorize this number... instead I sign up for www.dyndns.org, which will mask my IP and monitor it for change automatically and route it to vinhtvu2.whatever.org... or whatever your heart desires...

So go to dyndns, sign up for an account, then create a dns name. Once you have this information, look in your router for the DDNS section, Dyndns.org is pretty big, so it should be supported if your router support DDNS. Then put in your username, and password... then set your refresh rate to be however often they change your IP address... I set mine to refresh every 48 hours... and it hasn't failed yet...

If you look at my other post... you can see it work pretty well. I use this to control all the lightings in my house now... if I'm home, I use 192.168.0.2 instead, since it's faster.

Go Up