Open dilawar opened 1 month ago
wdutil
doesn't list all the wifi connections available in the neighborhood. @radiohertz any ideas?
sudo wdutil info
————————————————————————————————————————————————————————————————————
NETWORK
————————————————————————————————————————————————————————————————————
Primary IPv4 : en1 (Wi-Fi / AFBE795D-7FCC-48E7-9EE6-CCA9BB04D165)
: 192.168.0.151
Primary IPv6 : None
DNS Addresses : 192.168.0.1
Apple : Reachable
————————————————————————————————————————————————————————————————————
WIFI
————————————————————————————————————————————————————————————————————
MAC Address : <redacted> (hw=<redacted>)
Interface Name : en1
Power : On [On]
Op Mode : STA
SSID : <redacted>
BSSID : <redacted>
RSSI : -51 dBm
Noise : -90 dBm
Tx Rate : 866.0 Mbps
Security : WPA2 Personal
PHY Mode : 11ac
MCS Index : 9
Guard Interval : 800
NSS : 2
Channel : 5g44 (80 MHz, Active)
Country Code : IN
Scan Cache Count : 9
NetworkServiceID : AFBE795D-7FCC-48E7-9EE6-CCA9BB04D165
IPv4 Config Method : DHCP
IPv4 Address : 192.168.0.151
IPv4 Router : 192.168.0.1
IPv6 Config Method : Automatic
IPv6 Address : fe80::4be:5137:3bd9:d6ea
IPv6 Router : None
DNS : 192.168.0.1
BTC Mode : Off
Desense :
Chain Ack : []
BTC Profile 2.4GHz : Disabled
BTC Profile 5GHz : Disabled
————————————————————————————————————————————————————————————————————
BLUETOOTH
————————————————————————————————————————————————————————————————————
Power : On
Address : A4:77:F3:01:FB:99
Discoverable : No
Connectable : No
Scanning : No
Devices : 5 (paired=5 cloud=0 connected=0)
modak
Address : e1-fa-d6-d5-d3-3e
Paired : Yes
CloudPaired : No
Connected : No
halwa
Address : a0-99-9b-17-41-1a
Paired : Yes
CloudPaired : No
Connected : No
HiBy R2II
Address : 42-54-30-00-35-1f
Paired : Yes
CloudPaired : No
Connected : No
jdoe’s Mac mini
Address : ee-78-ce-4b-f9-00
Paired : Yes
CloudPaired : No
Connected : No
admin’s Mac mini
Address : ed-07-92-6f-86-78
Paired : Yes
CloudPaired : No
Connected : No
————————————————————————————————————————————————————————————————————
AWDL
————————————————————————————————————————————————————————————————————
AirDrop Disc Mode : Everyone
AWDL Enabled : No
Interface Name : awdl0
Power : On
IPv6 Address : fe80::381b:13ff:fe44:d5fb
Schedule State : n/a
Channel Sequence : n/a
Op Mode : n/a
Real Time Mode : No
Sync State : n/a
Sync Params : n/a
Master Channel : n/a
Election Params : n/a
————————————————————————————————————————————————————————————————————
POWER
————————————————————————————————————————————————————————————————————
Power Source : AC
Battery Warning Level: None
System Caps : FullWake:cpu disk net aud vid
dilawars@haveanicelife ~/W/F/wifiscanner (4-support-wdutil-since-airport-utility-is-deprecated)>
Hi! I was looking for a solution to a different problem, but maybe this will help with a solution. Just execute in the console:
system_profiler SPAirPortDataType
Hi! I was looking for a solution to a different problem, but maybe this will help with a solution. Just execute in the console:
system_profiler SPAirPortDataType
system_profiler SPAirPortDataType -json
works pretty well and easy to parse too.
Hi! I was looking for a solution to a different problem, but maybe this will help with a solution. Just execute in the console:
system_profiler SPAirPortDataType
Thank you @VladislavGatsenko. It almost works. In newer versions of Macos, the BSSID
field is no longer available. Looks like no cli utility returns this value anymore. In old version one could use https://apple.stackexchange.com/a/120174/107023
airport
utility is deprecated. Supportwdutil
.