it shows that it is connected to the internet, but when I try and access the web, it can't access it. The wifi sometimes works but alternates between on and off around every 1-2 hrs. There isn't a problem with the router, as all other devices can connect and use it. I tried everything that I saw on other websites, like resetting network settings to factory default, forgetting the network and rejoining, renewing the lease, turning wifi on and off, shutting it down for a few hours & turning it back on, and even restarting the router. What can I do to fix the problem? If it helps, my iPad is an iPad air 2 running ios 10.2.1.
Read more: The wifi on ipad isn't working