Skip to content

Instantly share code, notes, and snippets.

@ikester
Last active May 3, 2017 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikester/0c705acd4e90821e6b393a18ea1b4f2d to your computer and use it in GitHub Desktop.
Save ikester/0c705acd4e90821e6b393a18ea1b4f2d to your computer and use it in GitHub Desktop.
RPi Access Point system config
[Unit]
Description=Hostapd IEEE 802.11 Access Point
After=device-init.service
BindsTo=sys-subsystem-net-devices-wlan0.device
[Service]
Type=forking
PIDFile=/var/run/hostapd.pid
ExecStart=/usr/sbin/hostapd -B /etc/hostapd/hostapd.conf -P /var/run/hostapd.pid
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment