LoginSignup
1
0

MacOSでワイヤレス(Wi-Fi/BT)の接続情報を表示するコマンド

Posted at

前提

・macOS Sonoma 14.5
・MacBook Air M2

ターミナルコマンド

%sudo wdutil info

結果(サンプル)

————————————————————————————————————————————————————————————————————
NETWORK
————————————————————————————————————————————————————————————————————
    Primary IPv4         : en0 (Wi-Fi / *******-****-****-****-************)
                         : 192.168.1.43
    Primary IPv6         : en0 (Wi-Fi / *******-****-****-****-************)
                         : 240f:****:****:****:****:****:****:****
                         : 240f:****:****:****:****:****:****:****
    DNS Addresses        : 2001:268:fd07:4::1
                         : 2001:268:fd08:4::1
                         : 192.168.1.1
    Apple                : Reachable
————————————————————————————————————————————————————————————————————
WIFI
————————————————————————————————————————————————————————————————————
    MAC Address          : <redacted> (hw=<redacted>)
    Interface Name       : en0
    Power                : On [On]
    Op Mode              : STA
    SSID                 : <redacted>
    BSSID                : <redacted>
    RSSI                 : -37 dBm
    Noise                : -88 dBm
    Tx Rate              : 1200.0 Mbps
    Security             : WPA2 Personal
    PHY Mode             : 11ax
    MCS Index            : 11
    Guard Interval       : 800
    NSS                  : 2
    Channel              : 5g44 (80 MHz, Active)
    Country Code         : JP
    Scan Cache Count     : 12
    NetworkServiceID     : *******-****-****-****-************
    IPv4 Config Method   : DHCP
    IPv4 Address         : 192.168.1.43
    IPv4 Router          : 192.168.1.1
    IPv6 Config Method   : Automatic
    IPv6 Address         : 240f:****:****:****:****:****:****:****
                         : 240f:****:****:****:****:****:****:****
    IPv6 Router          : fe80::****:****:****:****
    DNS                  : 192.168.1.1
                         : 2001:268:fd07:4::1
                         : 2001:268:fd08:4::1
    BTC Mode             : Off
    Desense              : 
    Chain Ack            : []
    BTC Profile 2.4GHz   : Disabled
    BTC Profile 5GHz     : Disabled
————————————————————————————————————————————————————————————————————
BLUETOOTH
————————————————————————————————————————————————————————————————————
    Power                : On
    Address              : AC:C9:06:**:**:**
    Discoverable         : No
    Connectable          : No
    Scanning             : No
    Devices              : 6 (paired=6 cloud=0 connected=0)

    MacBook Air
    Address          : 3c-22-fb-**-**-**
    Paired           : Yes
    CloudPaired      : No
    Connected        : No

————————————————————————————————————————————————————————————————————
AWDL
————————————————————————————————————————————————————————————————————
    AirDrop Disc Mode      : Off
    AWDL Enabled           : No
    Interface Name         : awdl0
    Power                  : On
    IPv6 Address           : fe80::****:****:****:****
    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         : Battery
    Battery Warning Level: None
    System Caps          : FullWake:cpu disk net aud vid 
    

まとめ

簡単にターミナルからワイヤレスの状況がわかります。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0