Raspberry pi Hotspot

Raspberry pi Hotspot

  1. Clone the code and install。

git clone https://github.com/oblique/create_ap 
cd create_ap 
make install
  1. Install the dependency library

apt install util-linux procps hostapd iproute2 iw haveged dnsmasq 
  1. create WIFI hotspot

sudo create_ap wlan0 eth1 piwifi hj123456
  1. 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!

 
posted @ 2023-08-22 05:08  陈夏松  阅读(11)  评论(0编辑  收藏  举报