Raspberry pi Hotspot
-
Clone the code and install。
git clone https://github.com/oblique/create_ap cd create_ap make install
-
Install the dependency library
apt install util-linux procps hostapd iproute2 iw haveged dnsmasq
-
create WIFI hotspot
sudo create_ap wlan0 eth1 piwifi hj123456
-
Power boot
sudo nano /etc/create_ap.conf
Modify SSID=piwifi, PASSPHRASE=hj123456.
Make sure wlan0 and eth1.
sudo nano /usr/lib/systemd/system/create_ap.service
Make sure there is the below line in the file.
ExecStart=/usr/bim/create_ap --config /etc/create_ap.conf
5. Then
sudo systemctl enable create_ap
6. Done!