Go Down

Topic: WiFi Shield - Can't set IP Address (Read 2 times) previous topic - next topic

DerekErb

I was going to start a new topic asking this precise question. But I assume it would be better to add it to this existing thread.

I need my WiFi shield to use a fixed IP address on my network. I need to be able to set the shield's IP address, subnet and gateway prior to setting the SSID and password. The Ethernet shield allows for this directly in its .begin() function. I went through the WiFi library and can't find any way to do this.

I am sure I'm missing something as I can't imagine any reason why the Ethernet shield would be able to create a network client connection and the WiFi shield would not...

Any ideas anyone?

Thanks.

DerekErb

I might be answering my own question... according to this thread, going back to October, it is not possible to set a static IP address on the WiFi shield even though it is possible on the Ethernet shield:

http://arduino.cc/forum/index.php/topic,126817.0.html

:(

PatMz

Best wishes for 2013!

Same situation here, I wanted to access a simple web server runnning on my newly acquired Uno / WiFi shield sitting on my home network from the internet, and this won't work. Until a new version of the WiFi library comes out?
XD

DerekErb

Bonne année Pat !

Quote

Same situation here, I wanted to access a simple web server runnning on my newly acquired Uno / WiFi shield sitting on my home network from the internet, and this won't work. Until a new version of the WiFi library comes out?


You might want to take a look at the DHCP setup on your router. Many routers allow you to attribute a static IP address, coming from the DHCP system, by the unique MAC address of the client. In this way you could be able to tell your router to always give a given IP address to your Uno/WiFi based on its MAC address which will always be the same.

It might be worth a try?

Go Up