Go Down

Topic: Static IP for webserver with Arduino Wi-Fi Shield v2 (Read 1 time) previous topic - next topic



Does anyone know, how to set up an static IP address for a webserver created using the Arduino Wi-Fi shield??

Everytime I want to connect, the IP address change, and for my project that is a big problem.

I've been looking some info, and all I can find is the no-ip thing, and also something that I need to pay for an static IP to my service company.



That depends how your network is managed. If it's just a home network with DHCP provided by a router or similar, you can just choose an IP address which no other devices are using, hard-code that address in your sketch, and preferably configure the DHCP server to exclude that address from the set it will offer to other clients.
I only provide help via the forum - please do not contact me for private consultancy.


Does anyone know, how to set up an static IP address for a webserver created using the Arduino Wi-Fi shield??

From reading post here, you can't at this time assign a static IP address to the wi-fi shield.
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0


I have a Linux web server with a non-static IP address. I use dyndns-at-home.com to map a URL to my current public IP and my router takes care of directing port 80 traffic to the right machine. The web server runs an application which tells dyndns what my current IP is from time to time. I assume that the protocol used to do this is simple (UDP?) but I don't know if anyone has done it from an arduino.

I suspect though, that if any machine on your internal network were running the dyndns app, you could use router configuration to pass http traffic to your arduino. It would simply need a fixed address on your internal network. The dns service is free, and I'm sure there are others.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131