21.5" Imac 2010, OS X.13.6. Could not connect to wifi although Network said i was connected. Turn wifi off then on it connected Ok but would not connect Safari, Mail, or Chrome. Wifi Ok on phone & other computers. This went on for a long time so decided to Restore from a Backup. Same OS and the wifi works fine. The question is "What now?". How do I find where the problem is?