If you have a Raspberry Pi with Sixfab shield/HAT connected to a Cellular Network, you can easily convert it to a Wi-Fi Hotspot. By the end of this tutorial, you will have a WiFi Raspberry Pi Hotspot with you.
First, make a backup of the Wi-Fi connection configuration. To do this, go to the terminal of the raspberry pi and run the following commands:
sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.sav
sudo cp /dev/null /etc/wpa_supplicant/wpa_supplicant.conf
Add following lines in the file /etc/wpa_supplicant/wpa_supplicant.conf.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
After that, all we need to do is install RaspAP.
RasAP is a software that allows us to manage the access point and hotspot on the web interface.
Install RaspAP from your RaspberryPi’s shell prompt:
curl -sL https://install.raspap.com | bash
After the reboot at the end of the installation the wireless network will be configured as an access point as follows:
- IP address : 10.3.141.1
- Username: admin
- Password: secret
- DHCP range: 10.3.141.50 to 10.3.141.255
- SSID: raspi-webgui
- Password: ChangeMe
From the Configure hotspot tab, set and save as follows.
See the webpage for more information about the RaspAP.
Thank you RaspAP