My MacBook Air (11 inch, early 2015) cannot connect to a wi-fi network. When I first tried, it said that it could not connect to the network since another device with the same ip address was present on it (say the address is 192.168.1.24).
Scanning the network with another computer with
arp -a (+
ifconfig | grep broadcast for the scanning computer) shows no device with the address 192.168.1.24. Pinging it gives no result either.
The default configuration for IP was "using DHCP",so I tried giving the MacBook Air a manual ip address (192.168.1.124, either with "DHCP with manual address" or "Manually") which makes it stop complaining about the ip address being in use, but it still cannot connect to the wifi. (the wifi icon is "searching", no exclamation point).
I restarted the router, and also deleted the network config files in /Library/Preferences/SystemConfiguration/:
But it is still doing the same thing.