In the end I have connected the shield to my network (with my router). It seams that the router configuration doesn't have such much efect.
This is what i've done to make it work:
- download library from AsyncLabs - version with user contrib. (https://github.com/asynclabs/WiShield_user_contrib)
- changed it to work with arduino >= 1.0.0 (http://www.sundh.com/blog/2012/02/make-wishield-work-in-latest-arduino-ide/)
- change for CuHead WiShield V2.0 => "using digital pin 8 for interrupt, changed setting in spi.h" (http://www.linksprite.com/forum/index.php?topic=155.msg634#msg634)
Router settings: (model: Linksys WRT54GL with Tomato firmware)
- router ip = 192.168.1.1; subnet mask = 255.255.255.0 (arduino wifi shield ip = 192.168.1.123)
- DHCP Server = enabled ; IP Range = 192.168.1.100 - 192.168.1.149
- B/G Mode = Mixed
- Broadcast SSID = enabled
- Channel = 2 - 2.417 GHz
- Security = WPA / WPA2 Personal ; Encryption = TKIP / AES
- Added wifi mac on Static DHCP table with IP = 192.168.1.123 and a Hostname = Arduino
Advanced router settings:
- DHCP / DNS : "Use Internal Caching DNS Forwarder" and "Intercept DNS Port (UDP 53)" options enabled
Arduino IDE version used: arduino-1.0.4