oblique
d0221c90f3
Hide nmcli errors
2015-12-10 19:02:52 +02:00
oblique
caf5bf87dc
Merge pull request #118 from MRebhan/patch-2
...
Added some functions
2015-10-31 17:05:41 +02:00
MRebhan
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
oblique
c022c88551
Release version 0.2
...
Close #115
2015-10-25 21:29:13 +02:00
oblique
ecb3088c7e
Turn off power saving
...
Fixes #113
2015-10-17 17:12:28 +03:00
oblique
84b7ae8d26
Merge pull request #111 from ninjasphere/isolate-clients
...
Add --isolate-clients option
2015-10-01 19:12:24 +03:00
☃ Elliot Shepherd
f0e46e8d3c
Add --isolate-clients option
2015-09-28 14:36:17 +10:00
oblique
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
Marco Bartoli
7aa5398548
DHCP DNS option forced for no-dns or custom dns servers
2015-09-21 11:22:14 +02:00
oblique
dd7f801f73
dnsmasq: Use dhcp-option-force
instead of dhcp-option
2015-09-20 15:50:41 +03:00
oblique
348b6e728a
Send MTU via DHCP
...
Fix #108
2015-09-20 12:17:48 +03:00
oblique
38ebab2122
openSUSE's apparmor does not allow dnsmasq to read files, remove restriction.
...
Fix #103
2015-09-02 00:13:59 +03:00
oblique
77ef5e992b
Revert "Make dnsmasq.conf readable from everyone"
...
This reverts commit d19aaa2f56
.
2015-09-02 00:13:59 +03:00
oblique
b359b899e8
Merge pull request #100 from wsxarcher/master
...
Option to disable DNS server
2015-08-31 14:52:59 +03:00
Marco Bartoli
853d9f7306
Option to disable DNS server
2015-08-31 10:40:47 +02:00
oblique
d19aaa2f56
Make dnsmasq.conf readable from everyone
...
Fix #103
2015-08-17 20:16:26 +03:00
oblique
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
oblique
9c4a95b0b1
Use [[:blank:]] instead of space in iwlist regex
2015-07-18 09:19:04 +03:00
oblique
3bae9f44f1
Add vim options
2015-07-05 19:44:13 +03:00
oblique
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
graysky
2bb20536f7
quote vars to allow for spaces in SSID or password
2015-06-21 09:21:38 -04:00
oblique
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
oblique
b4db372bef
Redirect warning to stderr
2015-06-09 22:51:02 +03:00
oblique
33ed352b5c
Show virtual interface in `--list-running'
2015-06-09 22:51:02 +03:00
oblique
c04cce072c
Merge pull request #82 from hashken/list_connected
...
Add switch to list connected clients
2015-06-09 22:50:14 +03:00
Karthik K
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
Karthik K
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
oblique
0f5a503c79
Merge pull request #77
...
Add `--config' and `--mkconfig' option
2015-05-24 13:27:23 +03:00
oblique
681946dd6c
Merge pull request #79
...
Add `--psk' option
2015-05-24 12:58:50 +03:00
oblique
ad377c9d9f
Add `--psk' in bash_completion
2015-05-23 20:59:03 +03:00
oblique
8c7c5dba27
When we read PSK from stdin, don't hide it from the user.
2015-05-23 20:57:15 +03:00
oblique
f62b410aaa
Allow empty PSK (i.e. open network)
2015-05-23 20:55:53 +03:00
oblique
b47b321763
Use boolean flag for the `--psk'
2015-05-23 20:52:32 +03:00
oblique
df727ff5fd
Use option names for positional arguments instead of ARG[1-4]
2015-05-17 19:10:55 +03:00
oblique
ce8d4c9ee5
All positional arguments are overridden if user pass at least one of them
2015-05-17 19:08:18 +03:00
oblique
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
oblique
ee69810dc5
Fix typo in CONFIG_OPTS array
2015-05-17 18:42:25 +03:00
solsTiCe d'Hiver
bae72de6dc
Allow the use of 64 hex digits pre-shared-key
...
hostapd allow the use of a 64 hex digits pre-shared-key:
it is the combination of SSID and ASCII passphrase.
The user can use wpa_passphrase command to calculate it.
Add a --psk command switch to allow that
2015-05-13 15:15:51 +02:00
Karthik K
583ef73fa1
Support --config option
...
--config <conf_file> loads configs from conf_file
2015-05-09 13:57:23 +05:30
Karthik K
13569a5a42
Support --mkconfig option
...
When invoked with --mkconfig <conf_file>, the options are stored in
conf_file and create_ap exits.
2015-05-09 13:57:18 +05:30
Karthik K
3ca3663894
Print descriptive messages for several switches
...
* Print messages for terminating switches like --list, --stop,
--fix-unmanaged and --daemon
* Minor change in help string
2015-05-06 22:51:04 +05:30
oblique
3f08801967
Enable /proc/sys/net/ipv4/conf/INTERFACE/forwarding on NAT
...
Fix #76
2015-05-02 02:25:30 +03:00
oblique
f45e224996
Use cp -n' instead of
[[ ! -f $dest ]] && cp $src $dest'
2015-05-02 02:13:33 +03:00
oblique
8f112390b2
Kill haveged only if we are the last create_ap instance
2015-05-02 01:01:33 +03:00
oblique
661a8aa1b7
Fix race-condition on interface creation
2015-05-01 21:39:08 +03:00
oblique
66e8ccc814
Have a common directory for common values/settings
...
This fix the following bug:
1) Run create_ap instance A
2) Run create_ap instance B
3) Stop instance A
After step 3, /proc/sys/net/ipv4/ip_forward is set back to 0,
so clients of instance B they don't have Internet anymore.
2015-05-01 21:25:49 +03:00
oblique
fee914c359
Remove mutex locking between subprocesses
...
Bash is not flexible and the recersive mutex lock that was implemented
in the previous commit is full of undefined behaviors if piping is
used. We don't actually need to lock between subprocesses so with
this commit we lock only between other create_ap process.
2015-05-01 21:14:54 +03:00
oblique
4ea5d02193
Implement recursive mutex that works across processes/threads
2015-04-26 16:32:42 +03:00
oblique
cafef2e185
Make all function variables local
2015-04-17 22:35:58 +03:00
oblique
bddf2dd0e8
Merge pull request #66 from hashken/bash_completion
...
Add bash completion
2015-04-16 22:12:23 +03:00