Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

Network Security Key คืออะไร? คือรหัสผ่าน Wi-Fi จริงๆ

Network Security Key = Wi-Fi Password (สิ่งเดียวกัน)

Network Security Key เป็นคำทางเทคนิคทางการของ รหัสผ่าน Wi-Fi (Wi-Fi Password) เรียกอีกชื่อว่า:

  • WPA Key / WPA2 Passphrase / WPA3 SAE Password
  • Wireless Key / Wireless Password
  • Wi-Fi Security Key
  • Pre-Shared Key (PSK)

ทุกชื่อหมายถึง: สตริงตัวอักษรที่ใช้เข้ารหัสการสื่อสารระหว่างอุปกรณ์กับ Access Point/Router เพื่อให้เฉพาะผู้ที่รู้รหัสเท่านั้นจึงเชื่อมต่อและอ่านข้อมูลได้

ทำไมจึงเรียกว่า "Key" (กุญแจ) ไม่ใช่ "Password"?

  • ในทฤษฎีเข้ารหัส (Cryptography) มันคือ Symmetric Encryption Key ที่derive มาจาก Passphrase ผ่าน PBKDF2 (WPA2) หรือ SAE (WPA3)
  • Key นี้ใช้เข้ารหัส/ถอดรหัส Frame ทุกตัวที่ส่งผ่านอากาศ (AES-CCMP / GCMP)
  • Password/Passphrase คือสิ่งที่มนุษย์พิมพ์/จดจำ Key คือสิ่งที่เครื่องใช้ทำงานจริง

หา Network Security Key อยู่ที่ไหน? (ทุกสถานการณ์)

1. Router ใหม่ (Default Key) - ดูสติ๊กเกอร์

  • พลิก Router ดูด้านล่าง/หลัง/ข้าง
  • หา: WiFi Password, Network Key, Passphrase, Security Key, WPA Key, WPA2 Key, PIN
  • รหัสนี้ใช้ได้ทันทีหากยังไม่เคยตั้งค่า

2. Router ที่ตั้งค่าแล้ว - เข้า Web Interface

  1. ต่อ LAN → Browser → IP Router (192.168.1.1, 192.168.0.1, 192.168.1.254, routerlogin.net, tplinkwifi.net, router.asus.com, miwifi.com)
  2. Login (Admin Password - ไม่ใช่ Wi-Fi Password)
  3. เมนู: Wireless / WiFi / Wireless Settings / Security
  4. ดูช่อง: Passphrase / Network Key / Password / Security Key

3. Windows 10/11 (เคยเชื่อมต่อมาก่อน)

  1. Settings → Network & Internet → Wi-Fi → Hardware properties
  2. หรือ: Control Panel → Network and Sharing Center → Change adapter settings → คลิกขวา Wi-Fi → Status → Wireless Properties
  3. แท็บ Security → ✅ Show characters → Network security key

4. macOS

  1. Keychain Access (Cmd+Space → Keychain)
  2. ค้นหา SSID → ดับเบิลคลิก → ✅ Show password → ใส่รหัส Mac

5. Android 10+

  1. Settings → Network & Internet → Wi-Fi → ⚙️ ด้านข้าง SSID ที่เชื่อมต่ออยู่ → Share / QR Code
  2. ยืนยันตัวตน (Fingerprint/Face/PIN) → รหัสผ่านแสดงใต้ QR Code

6. iOS 16+

  1. Settings → Wi-Fi → ⓘ ด้านข้าง SSID → Password → FaceID/TouchID → แสดง

ตั้งค่า/เปลี่ยน Network Security Key (Best Practice)

  1. เข้า Router Web Interface
  2. Wireless Settings → Security
  3. Security Mode: WPA3-SAE (Best) / WPA2/WPA3 Mixed / WPA2-PSK (AES Only)
  4. Encryption: AES (CCMP) / GCMP (WPA3) — ห้าม TKIP, Auto
  5. Passphrase: 12-63 ตัวอักษร, Complex (Upper, Lower, Digit, Symbol) หรือ Passphrase แบบ Diceware (4-6 คำ)
  6. Apply/Save → Reconnect ทุกอุปกรณ์

ประเภท Security Protocol (สำคัญมาก)

ความยาวของ Network Security Key

  • WPA2-PSK: 8-63 ASCII characters (แนะนำ 12-63)
  • WPA3-SAE: 8-63 ASCII characters (แนะนำ 12-63)
  • Hex (Raw Key): 64 Hex characters (32 bytes) - ใช้ได้แต่ยากจดจำ
  • Enterprise (802.1X/EAP): ไม่ใช้ PSK ใช้ Username/Password/Certificate ต่อ RADIUS Server

แก้ปัญหา "Network Security Key Mismatch" / "Incorrect Password"

  1. ✅ Forget Network ก่อนทุกครั้ง (Windows: Manage known networks → Forget | macOS: Remove from Keychain | Phone: Forget Network)
  2. ✅ พิมพ์ช้าๆ ดู Caps Lock, Num Lock, Keyboard Layout (TH/EN)
  3. ✅ Copy-Paste จาก Password Manager (หลีกเลี่ยงพิมพ์ผิด)
  4. ✅ ตรวจสอบ Router: Security Mode ตรงกับ Client? (WPA3 Only vs Old Device)
  5. ✅ Restart Router + Client Wi-Fi Adapter
  6. ✅ Update Wi-Fi Driver (Client) และ Firmware (Router)
  7. ✅ ลองเชื่อมต่ออุปกรณ์อื่น → แยกปัญหา Client vs Router

Best Practices สรุป

  • 🔐 ใช้ WPA3-SAE หรือ WPA2/WPA3 Mixed + AES/GCMP
  • 🔐 รหัสผ่าน 12-63 ตัวอักษร Complex หรือ Diceware Passphrase (4-6 คำ)
  • 🔐 เก็บใน Password Manager (Bitwarden, 1Password, KeePass, Apple/Google Password Manager)
  • 🔐 เปลี่ยน Admin Password ของ Router ให้ต่างจาก Wi-Fi Password
  • 🔐 ปิด WPS (ช่องโหว่ PIN Brute-force)
  • 🔐 Guest Network แยก สำหรับแขก/IoT
  • 🔐 อัปเดต Firmware Router เป็นประจำ
ProtocolKey LengthEncryptionสถานะหมายเหตุ
WEP10/26 Hex / 5/13 ASCIIRC4❌ แตกง่ายมาก (นาที) ห้ามใช้
WPA (TKIP)8-63 ASCII / 64 HexTKIP/RC4❌ ล้าสมัย แตกได้ ห้ามใช้
WPA2-PSK (AES/CCMP)8-63 ASCII / 64 HexAES-CCMP✅ มาตรฐานปัจจุบัน ยังปลอดภัย (ถ้ารหัสแรง)
WPA3-SAE (Simultaneous Authentication of Equals)8-63 ASCII / 64 HexAES-GCMP-256⭐ มาตรฐานใหม่ที่ดีที่สุด กัน Offline Dictionary Attack, Forward Secrecy
WPA2/WPA3 Mixed (Transition)-AES-CCMP / GCMP✅ รองรับอุปกรณ์เก่าและใหม่พร้อมกัน