Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davidmaxwaterman

macrumors newbie
Original poster
Oct 8, 2018
8
0
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 wonder if anyone has any thoughts on this. I noticed there were lots of recommendations on how best to ask questions such that people might respond, so perhaps I didn't follow those too well, and/or missed some pertinent information?
 
I'm sure you have your reasons but it seems like you're making the network connection more complex than it needs to be, especially if you have a router that the Mini can connect to. It's definitely a setup that's unusual, which would lead to reduced responses on here.

Can the Mini connect to hotspot on your phone, if you have that capability? That's effectively the same ad-hoc network type.
 
Do the log files on the laptop show any errors?
Ah, I've not looked. I'm not familiar with Macs...would you mind telling where I should look?
[automerge]1585140680[/automerge]
I'm sure you have your reasons but it seems like you're making the network connection more complex than it needs to be, especially if you have a router that the Mini can connect to. It's definitely a setup that's unusual, which would lead to reduced responses on here.

Can the Mini connect to hotspot on your phone, if you have that capability? That's effectively the same ad-hoc network type.

Yeah, my laptop is for testing, and has a web server on it (I'm a web developer), and also routes through a vpn (for various reasons).

Hrm, connect to my phone...interesting...yes, that should be 'the same thing'. I'll have to try that in the morning - thanks for the suggestion.

Still, I wonder why the change after upgrading to caralina. Is there a way to downgrade, I wonder...
 
OK, so I tried this today, and it does connect to my phone's hotspot, so it is something specific to my laptop.

I managed to find log files and it prints this:

Code:
Thu Mar 26 16:49:53.984 <kernel> en1: Terminating supplicant.
Thu Mar 26 16:49:53.984 <kernel> RSNSupplicant: Releasing authenticator for 44:6a:2e:b9:02:bc
Thu Mar 26 16:49:53.988 <kernel> postMessage::1349 APPLE80211_M_BSSID_CHANGED received
Thu Mar 26 16:49:53.988  <kernel> AirPort_Brcm4360::getSSIDData(): Get failure: APPLE80211_IOC_SSID: 6
Thu Mar 26 16:49:54.151 <airportd[239]> _processIPv4Changes: ARP/NDP offloads disabled, not programming the offload
Thu Mar 26 16:49:54.165 <airportd[239]> _processIPv4Changes: ARP/NDP offloads disabled, not programming the offload
Thu Mar 26 16:49:54.473 <kernel> Setting BTCoex Config: enable_2G:1, profile_2g:0, enable_5G:1, profile_5G:0

I can't say any of the means anything to me. Do you see anything?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.