Created
May 20, 2019 22:15
-
-
Save make-github-pseudonymous-again/f69e2e2a95588bc8668fdea60f934c52 to your computer and use it in GitHub Desktop.
Service to create an access point
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/ap.service | |
| [Unit] | |
| Description=Access point daemon | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/create_ap --config /etc/create_ap.conf | |
| KillSignal=SIGINT | |
| Restart=on-failure | |
| RestartSec=5 | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CHANNEL=default | |
| GATEWAY=10.0.0.1 | |
| WPA_VERSION=2 | |
| ETC_HOSTS=0 | |
| DHCP_DNS=gateway | |
| NO_DNS=0 | |
| HIDDEN=0 | |
| MAC_FILTER=0 | |
| MAC_FILTER_ACCEPT=/etc/hostapd/hostapd.accept | |
| ISOLATE_CLIENTS=0 | |
| SHARE_METHOD=nat | |
| IEEE80211N=0 | |
| IEEE80211AC=0 | |
| HT_CAPAB=[HT40+] | |
| VHT_CAPAB= | |
| DRIVER=nl80211 | |
| NO_VIRT=0 | |
| COUNTRY= | |
| FREQ_BAND=2.4 | |
| NEW_MACADDR= | |
| DAEMONIZE=0 | |
| NO_HAVEGED=0 | |
| WIFI_IFACE=wlp... | |
| INTERNET_IFACE=enp... | |
| SSID=... | |
| PASSPHRASE=... | |
| USE_PSK=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment