Network Security Key คืออะไร?
= รหัสผ่าน Wi-Fi (Wi-Fi Password) เรียกอีกชื่อ: WPA Key, WPA2 Passphrase, WEP Key, Wireless Password, Pre-shared Key (PSK)
ตรวจสอบ Network Security Key บนอุปกรณ์ที่ "เชื่อมต่ออยู่"
Windows 10/11 (GUI)
- Settings (Win+I) → Network & Internet → Advanced network settings → More network adapter options
- คลิกขวา Wi-Fi Adapter → Status → Wireless Properties → Security Tab
- ติ๊ก Show characters → เห็น Network security key
Windows (Command Line - เร็ว/Export ได้)
# แสดงทุกโปรไฟล์
netsh wlan show profiles
# แสดงรหัสของ SSID เฉพาะ
netsh wlan show profile name="SSID_Name" key=clear
# Export ทั้งหมดเป็น XML (มีรหัสใน )
netsh wlan export profile key=clear folder="C:\WiFiBackup"
macOS
- Keychain Access (Cmd+Space → Keychain)
- ค้นหา SSID → Double-click → Show password → ใส่ Mac Admin Password
Linux (NetworkManager)
# ดูไฟล์ Connection Profile
sudo cat /etc/NetworkManager/system-connections/Your_SSID.nmconnection
# หา psk= ใน section [wifi-security]
Android 10+
- Settings → Network & Internet → Wi-Fi
- คลิกเครือข่ายที่เชื่อมต่อ/บันทึก → Share / QR Code
- ยืนยันตัวตน (Fingerprint/PIN/Pattern) → รหัสผ่านอยู่ใต้ QR Code
iOS 16+ / iPadOS 16+
- Settings → Wi-Fi → คลิก (i) ข้างเครือข่ายที่เชื่อมต่อ
- คลิก Password → FaceID/TouchID/Passcode → แสดงรหัสผ่าน
ตรวจสอบ Network Security Key "บนเราเตอร์" (แหล่งที่มา)
1. สติ๊กเกอร์เราเตอร์ (Default Key)
- ด้านล่าง/ข้าง/หลัง: Password, Passphrase, Wireless Key, Network Key, WPA Key, PIN
- ใช้ได้เฉพาะหาก ไม่เคยเปลี่ยนรหัส หรือ เพิ่ง Reset เราเตอร์
2. Web Interface เราเตอร์ (Current Key)
- Browser → IP เราเตอร์:
192.168.1.1,192.168.0.1,192.168.1.254,routerlogin.net,tplinkwifi.net,asusrouter.com,miwifi.com - Login Admin (Default: admin/password, admin/admin, admin/1234 — ดู Manual/Sticker)
- ไป Wireless / Wi-Fi Settings / Wireless Security
- ดูฟิลด์ Passphrase / Password / Network Key / WPA Key
ตรวจสอบว่า Network Security Key "ถูกต้อง" หรือไม่
- ลองเชื่อมต่ออุปกรณ์ใหม่ (โทรศัพท์/แล็ปท็อป) ด้วย Key นั้น → สำเร็จ = ถูกต้อง
- เปรียบเทียบ Key จากหลายแหล่ง (Windows vs Router vs Mobile) → ตรงกัน = ถูกต้อง
- ใช้
netsh wlan connect name="SSID" ssid="SSID" interface="Wi-Fi"ทดสอบบน Windows
เปลี่ยน Network Security Key (Best Practice)
- Login Router Web UI
- Security Mode: WPA2-PSK (AES) หรือ WPA3-Personal
- Password: 12-16+ ตัวอักษร, ผสมประเภท, ไม่ใช่คำในพจนานุกรม
- Save → Reboot Router → Reconnect All Devices
- บันทึกใน Password Manager (Bitwarden, 1Password, KeePass, Apple/Google Password Manager)
สรุป Quick Reference
| Platform | Quick Command/Path |
|---|---|
| Windows GUI | Settings → Adapter → Status → Wireless Properties → Security → Show characters |
| Windows CLI | netsh wlan show profile name="SSID" key=clear |
| macOS | Keychain Access → SSID → Show password |
| Linux (NM) | /etc/NetworkManager/system-connections/SSID.nmconnection (psk=) |
| Android 10+ | Wi-Fi Settings → Share/QR → Auth → Password under QR |
| iOS 16+ | Settings → Wi-Fi → (i) → Password → FaceID |
| Router | Web UI → Wireless Settings → Passphrase/Password |
| Router Sticker | Default Key only (Password/Passphrase/Wireless Key) |