Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Clarify options, and make backups when installing create_ap.conf file #434

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
aa47c28
create_ap: add support for config comments
jyhi Oct 27, 2018
b9f6805
create_ap.conf: add comments to explain options
jyhi Oct 27, 2018
f44ad15
clarify action of --dhcp-dns, --no-dns, --no-dns-masq options, and ex…
dlenski Dec 28, 2019
7eac6b6
create backups when overwriting existing create_ap.conf
dlenski Mar 25, 2020
ae1d795
add option to set beacon interval
dlenski Apr 2, 2020
8080710
add option for DTIM period too
dlenski Apr 3, 2020
c5b680b
Merge branch 'clarify' into master
dlenski Apr 5, 2020
441fa67
Merge remote-tracking branch 'lmy441900/add-comment-support'
dlenski Apr 5, 2020
380e4f4
restart create_ap after suspend-and-resume
dlenski Apr 16, 2020
790c3fa
Merge branch 'dlenski/restart_after_suspend_and_resume'
dlenski Apr 16, 2020
7811c5c
initial IPv6
dlenski Apr 19, 2020
0f3b4c2
fix IPv6 address assignment and restoration
dlenski Apr 21, 2020
ec98791
no need for explicit IPv6 routes, just address? no dhcp-authoritative
dlenski Apr 22, 2020
3f7f4dd
Merge remote-tracking branch 'origin/master'
dlenski Dec 23, 2020
8e707fa
Merge branch 'ipv6'
dlenski Dec 23, 2020
fe98b1e
Update README.md
dlenski Dec 23, 2020
04d4c7c
clarify --country option / COUNTRY config
dlenski Jan 24, 2021
1210770
Allow 'gateway' to be listed as one DNS server, among several
dlenski May 21, 2021
69ae387
Clarify MAC, ETC_HOSTS, and ADDN_HOSTS in --help, and add example cre…
dlenski May 21, 2021
86a3d60
Enable WPS push button (PBC) and PIN modes
dlenski Jan 20, 2022
624eb20
Fix incorrect DTIM_PERIOD name in example config
exuvo Apr 11, 2022
91e095a
Fix (?) WPS support
dlenski Dec 8, 2023
365d9e3
Add --metered option to indicate that network is metered and/or shoul…
dlenski Dec 8, 2023
4664f05
Remove the 'haveged' options and entropy watchdog
dlenski Dec 8, 2023
8bb9068
Install create_ap.resume in the proper location, /usr/lib/systemd/sys…
dlenski Dec 13, 2023
5f7257d
Show QR code
dlenski Apr 29, 2024
946c414
Enabled local timezone advertisement
dlenski Jan 9, 2025
a4e1cee
Enable GPS location advertisement ("French drone format")
dlenski Jan 9, 2025
17c8e6d
Show QR code only if qrencode available
dlenski Apr 29, 2024
8b7008c
Add WPA3 support and make WPA2/3 the default
dlenski Feb 23, 2025
6484586
Check for adapters which don't support 802.11w and thus can't do WPA3
dlenski Feb 23, 2025
c26da0d
Allow virtual AP device on separate channel if adapter supports it
dlenski Feb 25, 2025
eca2b09
Brevity
dlenski Feb 25, 2025
21d5aa3
Precision
dlenski Feb 25, 2025
e65f24a
Move confdir to /run and make name deterministic
dlenski Mar 2, 2025
97faad1
Handle systemd's resume-from-suspend automatically
dlenski Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ all:

install:
install -Dm755 create_ap $(DESTDIR)$(BINDIR)/create_ap
install -Dm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf
install -Dm644 --backup=existing --suffix=.orig create_ap.conf $(DESTDIR)/etc/create_ap.conf
[ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service
[ ! -e /sbin/openrc-run ] || install -Dm755 create_ap.openrc $(DESTDIR)/etc/init.d/create_ap
install -Dm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
## NOT MAINTAINED

This project is no longer maintained.

If you are still interested in this project, checkout the following fork that
also provides GUI: [lakinduakash/linux-wifi-hotspot]
This project is a fork of the no-longer-maintained [oblique/create_ap](//github.com/oblique/create_ap).


## Features
* Create an AP (Access Point) at any channel.
* Choose one of the following encryptions: WPA, WPA2, WPA/WPA2, Open (no encryption).
* Choose one of the following encryptions: WPA, WPA2, WPA3, WPA/WPA2, WPA2/WPA3, Open (no encryption).
* Hide your SSID.
* Enable [Wi-Fi Protected Setup](https://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup) (WPS) with push-button or PIN methods.
* Disable communication between clients (client isolation).
* IEEE 802.11n & 802.11ac support
* Internet sharing methods: NATed or Bridged or None (no Internet sharing).
Expand All @@ -24,10 +20,11 @@ also provides GUI: [lakinduakash/linux-wifi-hotspot]
* util-linux (for getopt)
* procps or procps-ng
* hostapd
* Version 2.6 or newer is required; earlier versions may
fail unpredictably due to [a RNG bug](https://packetstormsecurity.com/files/156573/Hostapd-Insufficient-Entropy.html).
* iproute2
* iw
* iwconfig (you only need this if 'iw' can not recognize your adapter)
* haveged (optional)

### For 'NATed' or 'None' Internet sharing method
* dnsmasq
Expand All @@ -52,9 +49,14 @@ also provides GUI: [lakinduakash/linux-wifi-hotspot]
### No passphrase (open network):
create_ap wlan0 eth0 MyAccessPoint

### WPA + WPA2 passphrase:
### WPA2 + WPA3 passphrase:
create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

### WPS Push Button or PIN entry:
create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
create_ap --wps-pbc wlan0 # Device will have 2 minutes to connect
create_ap --wps-pin wlan0,12345678 # Enroll PIN 12345678 for device requesting it

### AP without Internet sharing:
create_ap -n wlan0 MyAccessPoint MyPassPhrase

Expand All @@ -73,7 +75,7 @@ also provides GUI: [lakinduakash/linux-wifi-hotspot]
### No passphrase (open network) using pipe:
echo -e "MyAccessPoint" | create_ap wlan0 eth0

### WPA + WPA2 passphrase using pipe:
### WPA2 + WPA3 passphrase using pipe:
echo -e "MyAccessPoint\nMyPassPhrase" | create_ap wlan0 eth0

### Enable IEEE 802.11n
Expand All @@ -94,5 +96,3 @@ Using the persistent [systemd](https://wiki.archlinux.org/index.php/systemd#Basi
## License
FreeBSD


[lakinduakash/linux-wifi-hotspot]: https://github.com/lakinduakash/linux-wifi-hotspot
3 changes: 0 additions & 3 deletions bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ _create_ap() {
--no-virt)
# No Options
;;
--no-haveged)
# No Options
;;
--fix-unmanaged)
# No Options
;;
Expand Down
Loading