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

หา Network Security Key (รหัส Wi-Fi) บน Android — ทุกวิธีที่ทำได้

📱 Android 10+ (มีฟีชอร์ Share Wi-Fi ในตัว)

  1. Settings → Network & Internet → Wi-Fi
  2. คลิกเครือข่ายที่ เชื่อมต่ออยู่ (หรือ Saved Networks → เลือกเครือข่าย)
  3. กด Share (ไอคอน QR Code / แชร์)
  4. ยืนยันตัวตน (Fingerprint / Face / PIN / Pattern)
  5. 🎉 QR Code ปรากฏ — รหัส Wi-Fi อยู่ใต้ QR Code (Plain Text)

📱 Android 9 และก่อน (ไม่มี Share Built-in)

วิธี 1: ไฟล์ระบบ (ต้อง Root)

  1. ติดตั้ง File Manager ที่รองรับ Root (MiXplorer, Solid Explorer, Root Explorer)
  2. ไปที่: /data/misc/wifi/wpa_supplicant.conf
  3. เปิดไฟล์ → หา network block ของ SSID นั้น → ดู psk="รหัสผ่าน"

วิธี 2: ใช้แอปช่วย (ไม่ต้อง Root — บางรุ่นได้บางรุ่นไม่ได้)

  • WiFi Key Recovery (ต้อง Root)
  • WiFi Password Viewer (บางรุ่น Samsung/LG/Xiaomi อ่านได้จาก KeyStore)

💻 วิธีครอบคลุมทุก Android: ดูจากคอมพิวเตอร์/เราเตอร์

Windows (เชื่อมต่อ Wi-Fi เดียวกัน)

  1. Start → Network Connections → Sharing Center → Wi-Fi → Wireless Properties → Security → Show characters

macOS

  1. Keychain Access → ค้นหา SSID → Show password

เราเตอร์ (Web Interface)

  1. Browser → 192.168.1.1 หรือ 192.168.0.1
  2. Login → Wireless → Wireless Security → Passphrase / Password

📶 หารหัส Hotspot / Tethering ของตัว Android เอง

  1. Settings → Network & Internet → Hotspot & Tethering
  2. Wi-Fi Hotspot → Hotspot Password → แสดง/แก้ไขได้

🔐 Network Security Key = อะไรบน Android?

Network Security Key = Wi-Fi Password = WPA/WPA2 Passphrase
ใน Android เรียกว่า Password หรือ Hotspot Password — สิ่งเดียวกัน

🔧 เปลี่ยนรหัส Wi-Fi / Hotspot บน Android

  1. Settings → Network & Internet → Wi-Fi → Saved Networks → เลือกเครือข่าย → Forget
  2. เชื่อมต่อใหม่ → ใส่รหัสใหม่
  3. Hotspot: Settings → Hotspot & Tethering → Wi-Fi Hotspot → Hotspot Password → เปลี่ยน → Save

⚠️ ข้อควรระวัง

  • Root มีความเสี่ยง: Void Warranty, Security Risk, Bootloop
  • Android 10+ ไม่ให้อ่าน wpa_supplicant.conf ได้แล้ว (แม้ Root) — ใช้ Share Feature แทน
  • QR Code Wi-Fi: รูปแบบ WIFI:T:WPA;S:SSID;P:PASSWORD;; — สแกนได้ทุกอุปกรณ์

💡 สรุป

Android 10+: Settings → Wi-Fi → Share → QR → รหัสใต้ QR
Android 9-: Root → /data/misc/wifi/wpa_supplicant.conf → psk=
ทุกเวอร์ชัน: ดูจากเราเตอร์ / คอมพิวเตอร์ / Mac ที่เชื่อมต่อ Wi-Fi เดียวกัน