This script aims to automate all the steps for creating a hotspot on RPi using an RTL8188 CUS / EU based wifi adapter.
Steps :
git clone https://github.com/dhruvvyas90/rpi-rtl8188cus-hotspot.git
cd rpi-rtl8188cus
- Edit ssid and wpa_passphrase by editing
nano hostapd.conf
and edit corresponding lines. sudo ./install_dep.sh
- Now that everything is in place, run
sudo ./start_hotspot.sh
- To make it permanent, add it to
/etc/rc.local
Make sure you comment out entries containing wireless interface you intend to use in /etc/network/interfaces
References :