This post is based on Raspberry Pi 2 Model B.
The Wi-Fi setup procedure for Raspberry Pi 3 could be different.
Since Wi-Fi is already build in for RPi 3,
it is no longer required to purchase a Wi-Fi dongle.
To connect to the internet wirelessly, a USB Wi-Fi dongle is required.
The one I got is EDUP EP-N8508GS.
You may refer to the USB Wi-Fi adapter list for Raspberry Pi.
Type lsusb, the 802.11n WLAN adapter is detected.
Go to Menu -> Preferences -> WiFi Configuration
Select Manage Networks -> Scan within the wpa_gui.
Select the AP (Wi-Fi hotspot) to be connected to.
Double click it.
Double click it.
This window should appear.
Enter the password.
Enter the password.
Select Current Status -> Connect.
If there is no connection as below, check the password.
After re-entering the password correctly, the connection is successful.
Type ifconfig.
The IP address of wlan0 is the same as the value in wpa_gui.
The IP address can also be obtained with this command:
hostname -I
It is working now!
You can open the Epiphany browser to surf the web!
The Raspberry Pi should automatically connect to network after a reboot.
==============
Chinese version of this post:
No comments:
Post a Comment