📱 Android 10+ (มีฟีชอร์ Share Wi-Fi ในตัว)
- Settings → Network & Internet → Wi-Fi
- คลิกเครือข่ายที่ เชื่อมต่ออยู่ (หรือ Saved Networks → เลือกเครือข่าย)
- กด Share (ไอคอน QR Code / แชร์)
- ยืนยันตัวตน (Fingerprint / Face / PIN / Pattern)
- 🎉 QR Code ปรากฏ — รหัส Wi-Fi อยู่ใต้ QR Code (Plain Text)
📱 Android 9 และก่อน (ไม่มี Share Built-in)
วิธี 1: ไฟล์ระบบ (ต้อง Root)
- ติดตั้ง File Manager ที่รองรับ Root (MiXplorer, Solid Explorer, Root Explorer)
- ไปที่:
/data/misc/wifi/wpa_supplicant.conf - เปิดไฟล์ → หา network block ของ SSID นั้น → ดู
psk="รหัสผ่าน"
วิธี 2: ใช้แอปช่วย (ไม่ต้อง Root — บางรุ่นได้บางรุ่นไม่ได้)
- WiFi Key Recovery (ต้อง Root)
- WiFi Password Viewer (บางรุ่น Samsung/LG/Xiaomi อ่านได้จาก KeyStore)
💻 วิธีครอบคลุมทุก Android: ดูจากคอมพิวเตอร์/เราเตอร์
Windows (เชื่อมต่อ Wi-Fi เดียวกัน)
- Start → Network Connections → Sharing Center → Wi-Fi → Wireless Properties → Security → Show characters
macOS
- Keychain Access → ค้นหา SSID → Show password
เราเตอร์ (Web Interface)
- Browser → 192.168.1.1 หรือ 192.168.0.1
- Login → Wireless → Wireless Security → Passphrase / Password
📶 หารหัส Hotspot / Tethering ของตัว Android เอง
- Settings → Network & Internet → Hotspot & Tethering
- 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
- Settings → Network & Internet → Wi-Fi → Saved Networks → เลือกเครือข่าย → Forget
- เชื่อมต่อใหม่ → ใส่รหัสใหม่
- 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 เดียวกัน