Commit Graph

250 Commits

Author SHA1 Message Date
0b87fde89c Try to detect hostapd early to prevent passing zero arguments to strings
In case hostapd is not installed, strings got stuck trying to read stdin.
2016-04-12 18:13:43 +03:00
08dd2a9792 Merge pull request #152 from pldubouilh/master
802.11ac support
2016-04-05 21:30:54 +03:00
6def36360a 802.11ac support
Adds support to 802.11ac
2016-04-04 19:02:18 +01:00
73bdb2f7c7 Set country code before we call can_transmit_to_channel
Fix #148
2016-03-25 14:48:01 +02:00
f9a9201578 Do not die on cleanup 2016-03-20 17:48:37 +02:00
0a16ea512d dnsmasq now uses 5353 port and we redirect requests from 53 to 5353.
Fixes #96
2016-03-20 14:53:57 +02:00
238c12e672 iptables: Wait for xtables lock 2016-03-20 14:53:57 +02:00
0b1344370a Merge pull request #145 from Obruut/master
fixed small typo
2016-03-11 20:49:38 +02:00
490beafe5c fixed small typo 2016-03-11 19:24:14 +01:00
69541cb2bc Send SIGHUP to NetworkManager to reload its config 2016-02-13 22:04:56 +02:00
059b447aca Set interface as unmanaged even if NetworkManager is not running
Fix #137
2016-01-21 21:09:22 +02:00
000f6a28e6 Merge pull request #129 from zhanghaha/master
add uninstall in makefile
2015-12-13 22:16:03 +02:00
d0221c90f3 Hide nmcli errors 2015-12-10 19:02:52 +02:00
73963e2a85 add uninstall in makefile 2015-12-10 14:31:07 +08:00
caf5bf87dc Merge pull request #118 from MRebhan/patch-2
Added some functions
2015-10-31 17:05:41 +02:00
a9253ae0fe Added some functions
create_ap can now redirect all web requests to the access point (useful when running a web server) and pass debug argument -d or -dd to hostapd. It also doesn't act funny with applications running it that redirect stdout (delayed output).

enjoy :)
2015-10-28 17:56:39 +01:00
c022c88551 Release version 0.2
Close #115
2015-10-25 21:29:13 +02:00
ecb3088c7e Turn off power saving
Fixes #113
2015-10-17 17:12:28 +03:00
84b7ae8d26 Merge pull request #111 from ninjasphere/isolate-clients
Add --isolate-clients option
2015-10-01 19:12:24 +03:00
f0e46e8d3c Add --isolate-clients option 2015-09-28 14:36:17 +10:00
7349b0649c Merge pull request #109 from wsxarcher/master
DHCP DNS option forced for no-dns or custom dns servers
2015-09-21 17:07:03 +03:00
7aa5398548 DHCP DNS option forced for no-dns or custom dns servers 2015-09-21 11:22:14 +02:00
dd7f801f73 dnsmasq: Use dhcp-option-force instead of dhcp-option 2015-09-20 15:50:41 +03:00
348b6e728a Send MTU via DHCP
Fix #108
2015-09-20 12:17:48 +03:00
38ebab2122 openSUSE's apparmor does not allow dnsmasq to read files, remove restriction.
Fix #103
2015-09-02 00:13:59 +03:00
77ef5e992b Revert "Make dnsmasq.conf readable from everyone"
This reverts commit d19aaa2f56.
2015-09-02 00:13:59 +03:00
b359b899e8 Merge pull request #100 from wsxarcher/master
Option to disable DNS server
2015-08-31 14:52:59 +03:00
853d9f7306 Option to disable DNS server 2015-08-31 10:40:47 +02:00
d19aaa2f56 Make dnsmasq.conf readable from everyone
Fix #103
2015-08-17 20:16:26 +03:00
7420e9bf38 Fix bridged interface allocation.
Bridge interface was allocated before COMMON_CONFDIR was set.
This has as result the allocation to be done under `/ifaces` directory
instead of `/tmp/create_ap.common.conf/ifaces`, so a new bridged interface
name is allocated each name.

Fix #94
2015-07-19 11:58:03 +03:00
9c4a95b0b1 Use [[:blank:]] instead of space in iwlist regex 2015-07-18 09:19:04 +03:00
3bae9f44f1 Add vim options 2015-07-05 19:44:13 +03:00
37bdf4a07e Merge pull request #86 from graysky2/master
quote vars to allow for spaces in SSID or password
2015-06-21 16:48:49 +03:00
2bb20536f7 quote vars to allow for spaces in SSID or password 2015-06-21 09:21:38 -04:00
fff2242c96 Improvements in --list-clients
* Every create_ap has its own dnsmasq.leases
* Handle the cases of virtual interfaces
* Pass <id> as an argument in list_clients function
* Use `die' instead of echo;exit
2015-06-09 22:51:02 +03:00
b4db372bef Redirect warning to stderr 2015-06-09 22:51:02 +03:00
33ed352b5c Show virtual interface in `--list-running' 2015-06-09 22:51:02 +03:00
c04cce072c Merge pull request #82 from hashken/list_connected
Add switch to list connected clients
2015-06-09 22:50:14 +03:00
3fd94ce9c3 Add switch --list-clients
--list-clients <id> prints the list of connected clients associated with
<id>. <id> can either be a wifi iface name or pid of a create_ap
instance.
2015-06-03 13:07:29 +05:30
38db906a24 Change switch --list to --list-running
* --list is still supported for backward compatability, but will
  neither have an entry in help output nor will have bash completion
  support
2015-06-01 15:13:30 +05:30
0f5a503c79 Merge pull request #77
Add `--config' and `--mkconfig' option
2015-05-24 13:27:23 +03:00
681946dd6c Merge pull request #79
Add `--psk' option
2015-05-24 12:58:50 +03:00
ad377c9d9f Add `--psk' in bash_completion 2015-05-23 20:59:03 +03:00
8c7c5dba27 When we read PSK from stdin, don't hide it from the user. 2015-05-23 20:57:15 +03:00
f62b410aaa Allow empty PSK (i.e. open network) 2015-05-23 20:55:53 +03:00
b47b321763 Use boolean flag for the `--psk' 2015-05-23 20:52:32 +03:00
df727ff5fd Use option names for positional arguments instead of ARG[1-4] 2015-05-17 19:10:55 +03:00
ce8d4c9ee5 All positional arguments are overridden if user pass at least one of them 2015-05-17 19:08:18 +03:00
92d35c0da3 Fix daemonize infinite loop
If `DAEMONIZE=1' is set in the config file then create_ap tries
to create daemon process all the time. This is done because we were
removing `--daemon' option from the parameters of the daemon process.
We fix this by using an environment variable instead.
2015-05-17 18:44:04 +03:00
ee69810dc5 Fix typo in CONFIG_OPTS array 2015-05-17 18:42:25 +03:00