การตั้งค่าการเชื่อมต่อ WiFi สำหรับ Raspberry Pi 3
การตั้งค่าการเชื่อมต่อ WiFi สำหรับ Raspberry Pi 3
สำหรับ Raspberry Pi 3 นั้นต่างจาก Raspberry Pi version ก่อนๆ ตรงที่ Raspberry Pi 3 มี Module WiFi ในตัว จึงไม่จำเป็นจะต้องใช้อุปกรณ์ที่เรียกว่า WiFi dongle ต่อเข้าทางพอร์ต USB เเล้วขั้นตอนการตั้งค่า
1. เข้าไปตั้งค่าในไฟล์ wpa_supplicant.conf ด้วยคำสั่ง
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network={ | |
ssid="name" //ชื่อ WiFi | |
psk="securityKey" //รหัสผ่าน | |
key_mgmt=WPA-PSK //ระบบป้องกัน ถ้าเป็นอย่างอื่นนอกเหนือจาก WPA/WPA2 ให้ใส่ NONE | |
} |
4. เมื่อเสร็จเเล้วให้ reboot เครื่อง โดยคำสั่ง
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifconfig wlan0 |
ความคิดเห็น
แสดงความคิดเห็น