If you have the latest net gear modem router or router use the following when setting up the wifi security other wise you may not connect to the router and or it will be intermittent using not only the iPad, iPhones , iPod touch but also other mobile devices including samsung phones with wifi , playstation, wiki etc
The setting in security options should be wpa-ask+wpa2-psk
Access to the modem from a pc or mac with Ethernet and using any browser is
192.168.0.1. Default User name is admin and password is password. Once in the modem you can access the wifi set up and change the security settings make sure you save changes and all will be updated. This is how i have set up some 40 computer sites using the net gear modems and routers. Hope this is helpful to any net gear users