Mac ไม่ได้ "จัดการ Wi-Fi Security" โดยตรง — มันเป็น Client
การตั้งค่า Wi-Fi Security (WPA2/WPA3, Password) ทำที่ Router/Access Point ไม่ใช่บน Mac Mac แค่ "เชื่อมต่อ" โดยใช้ Credentials ที่ Router กำหนด
แต่ Mac สามารถทำได้:
1. ดู Security Type ของ Wi-Fi ที่เชื่อมต่ออยู่
- กด Option (⌥) + คลิกไอคอน Wi-Fi ที่ Menu Bar
- ดู Security จะแสดง: WPA2 Personal, WPA3 Personal, WPA2/WPA3 Personal, None, WEP (เก่า)
- หรือ: System Settings → Network → Wi-Fi → Details (i) → Security
2. ลบ (Forget) Wi-Fi Network ที่มีปัญหา
- System Settings → Network → Wi-Fi → Details (i) ถัดจาก SSID
- กด Remove From List / Forget This Network
- Reconnect → กรอก Password ใหม่
3. จัดการ Known Networks (Priority, Auto-Join)
- System Settings → Network → Wi-Fi → Advanced... (หรือ Three Dots ...)
- ลากเรียงลำดับ Priority, ติ๊ก/ยกเลิก Auto-Join
4. สร้าง/จัดการ Wi-Fi Hotspot จาก Mac (Internet Sharing)
- System Settings → General → Sharing → Internet Sharing
- Share your connection from: Ethernet / iPhone USB / Thunderbolt Bridge
- To computers using: ☑ Wi-Fi
- Wi-Fi Options: Security: WPA2/WPA3 Personal → ตั้ง Password → OK
- เปิด Internet Sharing → Start
วิธีเปลี่ยน Wi-Fi Security จริงๆ (ที่ Router)
ทำบน Router ไม่ใช่ Mac — ขั้นตอนทั่วไป:
- หา Router IP: Terminal → `netstat -nr | grep default` → IP หลัง `default` (เช่น 192.168.1.1)
- Browser → Router IP → Login (admin/password บนสติ๊กเกอร์)
- เมนู: Wireless → Wireless Security / Security Settings
- เลือก: WPA2-PSK (AES) หรือ WPA2/WPA3 Mixed (หรือ WPA3 Only ถ้าอุปกรณ์รองรับหมด)
- ตั้ง Passphrase / Password ใหม่
- Save/Apply → Reboot Router หากจำเป็น
Mac-Specific Wi-Fi Security Features
| Feature | คำอธิบาย |
|---|---|
| Wi-Fi Privacy (MAC Randomization) | macOS 14+ สุ่ม MAC Address ต่อ Network (Settings → Wi-Fi → Details → Private Wi-Fi Address) |
| Passkeys / iCloud Keychain | Sync Wi-Fi Passwords ระหว่าง Apple Devices (iPhone, iPad, Mac) อัตโนมัติ |
| Captive Portal Detection | Auto-open Login Page สำหรับ Public Wi-Fi (Hotel, Cafe, Airport) |
| 802.1X (EAP-TLS/PEAP) | Enterprise Wi-Fi: ใช้ Profile (.mobileconfig) จาก MDM/IT Admin |
| Wireless Diagnostics | กด Option + คลิก Wi-Fi → Open Wireless Diagnostics → Monitor, Performance, Scan, Frame Capture |
Troubleshooting: Mac เชื่อมต่อ Wi-Fi ไม่ได้ / Key Mismatch
- Forget Network → Reconnect
- Restart Wi-Fi (Toggle On/Off)
- Restart Mac
- Reset Network Settings: System Settings → Network → Wi-Fi → ... → Reset Network Settings (ลบ Wi-Fi, Bluetooth, VPN ทั้งหมด)
- Delete Keychain Entry: Keychain Access → ค้นหา SSID → Delete → Reconnect
- ตรวจสอบ Router: Security Mode = WPA2-AES / WPA2/WPA3 Mixed, ไม่ใช่ TKIP/WEP
- Update macOS (Software Update)
สรุป
Mac ไม่ได้ตั้งค่า Wi-Fi Security — มันเป็น Client ที่เชื่อมต่อไปที่ Router การ "เปลี่ยน Network Security" ต้องทำที่ Router Web UI/App ส่วน Mac ช่วย ดู Security Type, Forget Network, จัดการ Priority, สร้าง Hotspot, ใช้ Passkeys, และ Troubleshoot ได้