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

Network Security Keys (กุญแจความปลอดภัยเครือข่าย) คืออะไร? หา ตั้งค่า และแก้ไขปัญหา

Network Security Key คืออะไร?

Network Security Key (เรียกอีกชื่อว่า Wi-Fi Password, Passphrase, WPA Key, WPA2 Key, WPA3 Key, Wireless Key, Network Key) คือ รหัสลับ (Secret) ที่ใช้ในการ ยืนยันตัวตน (Authentication) และ เข้ารหัส (Encryption) การสื่อสารระหว่าง Access Point (Router/AP) กับ Client (Laptop, Phone, IoT) บนเครือข่ายไร้สาย (Wi-Fi)

หา Network Security Key อยู่ที่ไหน?

1. บน Router/Modem/Gateway (แหล่งที่มา - Source of Truth)

  • สติ๊กเกอร์ด้านล่าง/ด้านหลัง: "Network Key", "Passphrase", "WPA2 Key", "Password", "Wi-Fi Password", "Security Key"
  • Web Interface (Admin Page): 192.168.1.1, 192.168.0.1, routerlogin.net, tplinkwifi.net, linksyssmartwifi.com, asusrouter.com, miwifi.com, 192.168.254.254 (Windstream) → Wireless Settings → Security → Passphrase
  • Vendor Mobile App: Nighthawk, Tether, Deco, Google Home, Linksys, ASUS Router, UniFi, Omada, Keenetic, Huawei AI Life

2. บนอุปกรณ์ที่เคยเชื่อมต่อ (Client Devices)

  • Windows 10/11: Settings → Network & Internet → Advanced network settings → Network and Sharing Center → Wi-Fi Name → Wireless Properties → Security → Show characters
  • Command Line (Windows): netsh wlan show profile name="SSID" key=clear → ดู Key Content
  • Mac: Keychain Access (⌘+Space → Keychain) → ค้นหา SSID → Double-click → Show Password (ต้อง Mac Password)
  • Android 10+: Settings → Network & internet → Wi-Fi → Gear icon → Share (QR Code) → Password แสดงใต้ QR
  • iOS 16+: Settings → Wi-Fi → i icon → Password (FaceID/TouchID)
  • Linux: /etc/NetworkManager/system-connections/ หรือ nmcli -s wifi show-password

3. บน Mobile Hotspot (มือถือทำเป็น AP)

  • Android: Settings → Network & internet → Hotspot & tethering → Wi-Fi hotspot → Hotspot password
  • iOS: Settings → Personal Hotspot → Wi-Fi Password

ตั้งค่า/เปลี่ยน Network Security Key (บน Router/AP)

  1. เข้าหน้าจัดการ Router (Web UI / App)
  2. ไปที่ Wireless / Wi-Fi Settings → Security
  3. Security Mode: เลือก WPA2-PSK (AES) หรือ WPA2/WPA3-Personal หรือ WPA3-SAE (แนะนำ)
  4. Passphrase / Password / Network Key: ใส่รหัสใหม่ ≥ 12 ตัวอักษร Complex (Upper, Lower, Digit, Symbol)
  5. Save / Apply → Router Restart Wi-Fi Radio
  6. Forget Network บน Client ทั้งหมด → Connect ใหม่ด้วย Password ใหม่

แก้ไขปัญหา Network Security Key (Troubleshooting)

เคล็ดลับความปลอดภัย (Best Practices)

  • ใช้ WPA3-Personal (SAE) ถ้าอุปกรณ์รองรับ (Wi-Fi 6/6E/7) มิฉะนั้น WPA2-PSK (AES)
  • Password: ≥ 15 ตัวอักษร (Passphrase แบบประโยคก็ได้: Correct-Horse-Battery-Staple-2024!)
  • Unique Password ต่อ SSID (ไม่ใช้รหัสเดิมกับบัญชีอื่น)
  • เก็บใน Password Manager (Bitwarden, 1Password, KeePass, Apple/Google/Chrome)
  • เปลี่ยน Password เมื่อ: พนักงานลาออก, โดนแชร์ผิดคน, ระยะเวลาตาม Policy (เช่น 1 ปี), หลัง Incident
  • Guest Network แยก SSID/Password สำหรับแขกและ IoT
  • ปิด WPS (PIN Brute-force Vulnerability)
  • อัปเดต Firmware Router/AP เป็นประจำ

คำถามที่พบบ่อย (FAQ)

Q: Network Security Key กับ Router Admin Password ต่างกันไหม?

A: ต่างกันสิ้นเชิง** Admin Password ใช้เข้าจัดการ Router, Network Security Key ใช้เชื่อมต่อ Wi-Fi

Q: ใส่ Password ถูกต้องแล้วแต่ Connect ไม่ได้ (Stuck at Obtaining IP / No Internet)?

A: เป็นปัญหา DHCP/DNS/Router ไม่ใช่ Password → Restart Router/Modem, Renew DHCP Lease (ipconfig /release & /renew), Set Static DNS (1.1.1.1, 8.8.8.8)

Q: ใช้ WPA3 แล้วอุปกรณ์เก่าเชื่อมต่อไม่ได้?

A: ใช้ WPA2/WPA3 Mixed (Transition Mode) หรือแยก SSID (IoT/Legacy ใช้ WPA2, Modern ใช้ WPA3)

ปัญหาสาเหตุที่เป็นไปได้วิธีแก้
"Incorrect Password" / "Authentication Failed"พิมพ์ผิด (Case-sensitive), ใช้ Password เก่า, Keyboard Layout ผิด, Hidden Charactersติ๊ก Show Characters, Copy-Paste จาก Password Manager, Forget Network → Reconnect, ตรวจสอบ Caps Lock
เชื่อมต่อได้แต่อินเทอร์เน็ตไม่ทำงานPassword ถูกต้อง แต่ Router/Modem มีปัญหา WAN, DNS, DHCP, ISP OutageRestart Modem+Router, ตรวจสอบ WAN IP, Ping 8.8.8.8, nslookup google.com
หา Key ไม่เจอ (ลืม, สติ๊กเกอร์หาย, ไม่เข้ารอทออปได้)ไม่มีอุปกรณ์ที่เชื่อมต่ออยู่, Admin Password หายFactory Reset Router (กด Reset 10-15 วิ) → Setup ใหม่ทั้งหมด (ต้องมี ISP Credentials)
Key Mismatch ระหว่าง Band (2.4G/5G/6G)Router ตั้ง SSID แยก Band แต่ Password คนละตัว / Band Steering ไม่ทำงานตั้ง SSID และ Password ให้เหมือนกันทั้ง Band (Single SSID) หรือจดแยกชัดเจน
Enterprise (802.1X) ไม่มี PSKใช้ Username/Password หรือ Certificate ต่อ User/Deviceไม่มี "Network Security Key" แบบร่วมกัน ติดต่อ IT Admin / ใช้ Profile/Config จาก MDM