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

ทำไม Network Security Key/Passphrase บอกว่าไม่ตรงกับเครือข่าย

แก้ไขปัญหา "Network Security Key Mismatch" / "Passphrase Doesn't Match"

สาเหตุหลัก (Root Causes)

  1. พิมพ์รหัสผิด (Typos): สาเหตุ #1 - พิมพ์ผิดตัวเล็ก/ใหญ่, 0 vs O, 1 vs l, Space นำหน้า/ท้าย, Special Characters
  2. Security Type ไม่ตรง: Router ตั้ง WPA2-AES แต่อุปกรณ์พยายามเชื่อม WPA-TKIP หรือ WEP
  3. Driver/Firmware เก่า: Wi-Fi Driver หรือ Router Firmware ไม่รองรับ Protocol ใหม่
  4. Corrupted Wireless Profile: Windows/macOS เก็บ Profile เก่าที่ขัดข้อง
  5. Router/AP Glitch: เราเตอร์ค้าง ต้องรีสตาร์ท
  6. MAC Filtering / Access Control: Router บล็อก MAC Address ของอุปกรณ์
  7. Channel Width/Band Mismatch: 2.4GHz vs 5GHz, 20/40/80/160 MHz

ขั้นตอนแก้ไข (Troubleshooting Steps)

ขั้นที่ 1: Basic Checks (ทำก่อนเสมอ)

  • ✅ พิมพ์รหัสช้าๆ ดูตัวอักษรแต่ละตัว
  • ✅ Copy-Paste จากที่เก็บรหัส (Password Manager, Note)
  • ✅ ลองเชื่อมต่ออุปกรณ์อื่น (โทรศัพท์, แท็บเล็ต) ดูว่าเข้าได้ไหม

ขั้นที่ 2: ลบ Profile เก่า และเชื่อมต่อใหม่ (Fix #1 สำหรับ Windows/macOS)

Windows 10/11: Settings > Network & Internet > Wi-Fi > Manage Known Networks > คลิกเครือข่าย > Forget > เชื่อมต่อใหม่
macOS: System Settings > Wi-Fi > Details (ⓘ) > Remove from List > เชื่อมต่อใหม่
Android/iOS: Settings > Wi-Fi > (i) / กดค้าง > Forget/Delete > เชื่อมต่อใหม่

ขั้นที่ 3: รีสตาร์ทเราเตอร์ (Power Cycle)

ถอดปลั๊กไฟเราเตอร์ → รอ 30-60 วินาที → เสียบใหม่ → รอ Boot เสร็จ 2-3 นาที → ลองเชื่อมต่อใหม่

ขั้นที่ 4: ตรวจสอบ Security Type ให้ตรงกัน

  • เข้า Router Admin (192.168.1.1) > Wireless Security
  • ตั้ง: WPA2-Personal (AES/CCMP) หรือ WPA2/WPA3 Mixed หรือ WPA3
  • ห้ามเลือก: WEP, WPA-TKIP, WPA/WPA2 Mixed (TKIP+AES), Open

ขั้นที่ 5: อัปเดต Driver และ Firmware

  • Wi-Fi Driver: Device Manager > Network Adapters > Wi-Fi Adapter > Update Driver / ดาวน์โหลดจากเว็บผู้ผลิต (Intel, Realtek, Qualcomm, Broadcom, MediaTek)
  • Router Firmware: Admin Page > Firmware Update / Vendor Website

ขั้นที่ 6: Release/Renew IP และ Flush DNS

Windows (Admin CMD):

ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh winsock reset
netsh int ip reset
# Restart Computer

ขั้นที่ 7: รีเซ็ต Network Settings (Last Resort)

Windows: Settings > Network & Internet > Advanced Network Settings > Network Reset
macOS: ลบไฟล์ /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist (ต้อง sudo) แล้ว Reboot
Android: Settings > System > Reset Options > Reset Wi-Fi, Mobile & Bluetooth
iOS: Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings

Passphrase vs Network Key: คืออย่างไร

Passphrase = Network Security Key = Wi-Fi Password = สิ่งเดียวกัน
WPA/WPA2 ใช้ Passphrase (8-63 ASCII) แปลงเป็น PSK (Pre-Shared Key) 64 Hex ด้วย PBKDF2

ป้องกันไม่ให้เกิดซ้ำ

  • ใช้ Password Manager (Bitwarden, 1Password, KeePass) จัดเก็บรหัส
  • ตั้งรหัสผ่านที่จำง่ายแต่แข็งแกร่ง: Passphrase 4-5 คำ (Correct-Horse-Battery-Staple-2024!)
  • Label เราเตอร์: เขียน SSID + Password บนเทปกาว ติดด้านล่าง
  • QR Code: สร้าง QR Code Wi-Fi ให้แขกสแกน (เว็บไซต์ qifi.org หรือแอป)