I had been using my Mac Mini connected via wifi to an ad-hoc wifi network created by my Ubuntu laptop. I can still connect to that same network using both Android and iPhone phones, so I know it is still working.
I can see the ssid in the network panel, and it prompts me to enter the password, but when I do it says:
"The wi-fi network "blabla" could not be joined.
and invites me to run diagnostics, but I've done that and they don't seem to help.
I also attempted to join the network via the command line using 'networksetup' to switch the wifi off then on again and then to 'setairportnetwork' to supply the interface (en1), the ssid and password; but it responds similarly:
'
Failed to join network blabla.
Error: 22 The operation couldn't be completed. (com.apple.wifi.apple80211API.error error 22.)
'
The mac mini can join the wifi network on my router just fine, so it's not the mac mini's hardware.
Does anyone have any ideas how to get this working again?
I can see the ssid in the network panel, and it prompts me to enter the password, but when I do it says:
"The wi-fi network "blabla" could not be joined.
and invites me to run diagnostics, but I've done that and they don't seem to help.
I also attempted to join the network via the command line using 'networksetup' to switch the wifi off then on again and then to 'setairportnetwork' to supply the interface (en1), the ssid and password; but it responds similarly:
'
Failed to join network blabla.
Error: 22 The operation couldn't be completed. (com.apple.wifi.apple80211API.error error 22.)
'
The mac mini can join the wifi network on my router just fine, so it's not the mac mini's hardware.
Does anyone have any ideas how to get this working again?