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

วิธีหา SSID และ Network Security Key (Wi-Fi Password) บน Windows และ Router

SSID (Service Set Identifier) คืออะไร?

SSID คือ ชื่อของเครือข่ายไร้สาย (Wireless Network Name) ที่ใช้ระบุตัวตนเครือข่าย Wi-Fi ให้อุปกรณ์เห็นและเลือกเชื่อมต่อได้ (เช่น "MyHomeWiFi", "Corporate-Guest", "eduroam")

Network Security Key คืออะไร?

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

วิธีหา SSID และ Security Key บน Windows 10/11

วิธีที่ 1: ผ่าน Settings (ดู SSID ที่เชื่อมต่ออยู่)

  1. Win+I → Network & Internet → Wi-Fi
  2. SSID ที่เชื่อมต่ออยู่จะแสดงที่ด้านบน (Connected)
  3. คลิก Manage known networks → จะเห็น SSID ทั้งหมดที่เคยเชื่อมต่อ (จดจำไว้)

วิธีที่ 2: ผ่าน Control Panel / ncpa.cpl (ดู Security Key / Password ได้)

  1. Win+R → พิมพ์ ncpa.cpl → Enter
  2. คลิกขวา Adapter Wi-Fi → Status
  3. คลิก Wireless Properties → แท็บ Security
  4. Network security key: ติ๊ก Show characters → จะเห็น Password
  5. Security type / Encryption type: แสดงโปรโตคอล (WPA2-Personal, WPA3-Personal, WEP, None)

วิธีที่ 3: Command Prompt / PowerShell (ดูทั้ง SSID และ Key)

# แสดงโปรไฟล์ทั้งหมด (SSID)
netsh wlan show profiles

# แสดงรายละเอียดรวม Key ของ SSID เฉพาะ
netsh wlan show profile name="YOUR_SSID" key=clear

# PowerShell One-liner ดู Key ทั้งหมด
netsh wlan show profiles | Select-String "All User Profile" | ForEach-Object { $ssid = $_.Line.Split(":")[1].Trim(); netsh wlan show profile name="$ssid" key=clear } | Select-String "Key Content"

วิธีหา SSID และ Security Key บน Router (แหล่งที่มา)

1. สติ๊กเกอร์บน Router/Modem (Default Values)

  • พลิกอุปกรณ์ ดูด้านล่าง/ด้านหลัง
  • มักมีข้อมูล 2 อย่าง:
    • SSID / Network Name / Wireless Network Name (เช่น TP-Link_A1B2, NETGEAR123)
    • Password / Passphrase / Network Key / WPA2 Key / WPA Key / Security Key (ตัวอักษรสุ่ม 8-16 ตัว)

2. หน้าเว็บจัดการ Router (Web Interface)

  1. หา Gateway IP: CMD → ipconfig → Default Gateway (มัก 192.168.1.1, 192.168.0.1, 192.168.1.254, 10.0.0.1)
  2. เปิดเบราว์เซอร์ พิมพ์ IP → Enter
  3. ล็อกอิน (Username/Password บนสติ๊กเกอร์ หรือ admin/admin, admin/password)
  4. ไปที่เมนู Wireless / Wi-Fi / Wireless Settings / Wireless Security
  5. จะเห็น:
    • SSID (Network Name) - สามารถแก้ไขได้
    • Security Mode / Encryption: WPA2-PSK (AES), WPA2/WPA3, WPA3-SAE
    • Passphrase / Password / Network Key / Pre-shared Key - สามารถแก้ไขและ Show ได้

3. แอปจัดการ Router (Vendor Apps)

  • ASUS Router App, TP-Link Tether, Netgear Nighthawk, Linksys App, Deco, Google Home, Eero, UniFi Network, Omada, Keenetic, Huawei AI Life
  • ล็อกอิน → Wi-Fi Settings → ดู/แก้ไข SSID และ Password

ความสัมพันธ์ระหว่าง SSID และ Security Key

  • ต่างกัน: SSID = ชื่อเครือข่าย (Public, ใครเห็นได้), Security Key = รหัสผ่าน (Secret, ต้องรู้ถึงจะเชื่อมต่อได้)
  • SSID ไม่ได้เป็นความลับ: แม้จะ Hidden SSID (ไม่ Broadcast) ก็ยังสแกนเจอได้ (Probe Request/Response)
  • Security Key ต้องแข็งแกร่ง: ≥ 12 ตัวอักษร, Complex, Unique, ไม่ใช้ข้อมูลส่วนตัว
  • การเปลี่ยน Security Key: ต้อง Reconnect อุปกรณ์ทุกตัว (Forget → Connect ใหม่)

เคล็ดลับเพิ่มเติม

  • QR Code Sharing: Android 10+/iOS 11+ สร้าง QR Code ให้สแกนเชื่อมต่อได้เลย (ไม่ต้องพิมพ์ Password)
  • Guest Network: สร้าง SSID แยก (Guest) พร้อม Password แยก ให้แขก/IoT ใช้ แยกจากเครือข่ายหลัก
  • Password Manager: เก็บ SSID และ Password ไว้ใน Bitwarden, 1Password, KeePass, Apple/Google Password Manager
  • Enterprise (802.1X): ไม่ใช้ PSK (Password) ใช้ Username/Password หรือ Certificate ต่อ User/Device → ไม่มี "Network Security Key" แบบร่วมกัน