Friday, November 22, 2024

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

I’m making an attempt 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 can 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.

Despite the fact that I’m related 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 problem.

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

Specs: macOS Sequoia 15.0 Apple Silicon M3 Professional

UPDATE: At this time I reset my mac to the manufacturing facility settings and the system put in Sonoma because the default OS. I’ve tried the terminal command networksetup and it really works effective. After updating once more to Sequoia the issue seems once more so I believe the issue is straight associated to this new replace. Sadly, I am unable to discover any information about deprecation or warnings on the person.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles