Why do this? Sometimes we face the problem that how can I get the Raspberry Pi's IP address without a screen and unable to view the IP through the router? This is really a big problem, especially for the newbies. For people who are very familiar with the Raspberry Pi or other embedded systems, they would use the serial port to see the ip address. However, there's not always a USB-TTL serial tools....
RaspAP is a software solution that can easily deploy the Raspberry Pi as a wireless AP (Access Point). It has a set of responsive WebUI to control WiFi, which is as convenient as a home router. RaspAP can run on Raspbian. You only need to install the Raspbian system for Raspberry Pi first, and then you can easily complete the installation and configuration of RaspAP through a quick installation script.
Here we introduce the installation and configuration of RaspAP.
For a fresh installation of Raspbian, the latest version is recommended.
It is recommended to update Raspbian, including the core and firmware, and then restart the system:
sudo apt-get update sudo apt-get dist-upgrade sudo reboot
Run the sudo raspi-config command to set the WiFi region in the Set Localisation Options menu.
If you are using an old version of Raspberry Pi without integrated wireless network adapter, you need to prepare a USB wireless network card yourself.
After completing the above preparations, you can start the following steps for quick installation.
The following provides an installation script that requires only one command to complete the quick installation of RaspAP:
wget -q https://git.io/voEUQ -O /tmp/raspap && bash /tmp/raspap
The installer will help you through all the steps you need to do manually (see below).
Restart the Raspberry Pi after the installation is complete. By default, the wireless network adapter will be configured as a hotspot:
- IP Address: 10.3.141.1
- User name: admin
- Password: secret
- DHCP: 10.3.141.50 - 10.3.141.255
- SSID: raspi-webgui
- WiFi Password: ChangeMe
RaspAP allows you to connect the Raspberry Pi to the network through a wired network adapter, and use the wireless network adapter to enable the AP mode to achieve network sharing. Enable the AP in the Advanced tab of Configure hotspot, and then save the settings to start the hotspot without restarting the Raspberry Pi.
Ok, that's all for RaspAP.