Friday, November 22, 2024

macos – networksetup -getairportnetwork return You aren’t related to an AirPort community

I’m attempting to retrieve the identify of my Wi-Fi community through the terminal, however I’m encountering some points.

I attempted with the command:

/System/Library/PrivateFrameworks/Apple80211.framework/Variations/Present/Sources/airport -s

Nonetheless, it returns the next warning:

WARNING: The airport command line instrument is deprecated and will probably be eliminated in a future launch.
For diagnosing Wi-Fi associated points, use the Wi-fi Diagnostics app or the wdutil command line instrument.

I additionally tried:

networksetup -getairportnetwork en0

However it returns:

You aren't related to an AirPort community.

Regardless that I’m linked to Wi-Fi. I’ve tried disconnecting and reconnecting, in addition to deleting the next .plist recordsdata in /Library/Preferences/SystemConfiguration/:

com.apple.airport.preferences.plist
com.apple.community.identification.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist

Regardless of these efforts, I nonetheless haven’t resolved the difficulty.

I DON’T need to use wdutil because it requires the sudo password. Is there any solution to repair the issue with networksetup, or is there an alternate technique to retrieve the Wi-Fi identify?

Specs: macOS Sequoia 15.0 Apple Silicon M3 Professional

UPDATE: As we speak I reset my mac to the manufacturing unit settings and the system put in Sonoma because the default OS. I’ve tried the terminal command networksetup and it really works superb. After updating once more to Sequoia the issue seems once more so I believe the issue is instantly associated to this new replace. Sadly, I can not discover any data about deprecation or warnings on the person.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles