Commit Graph

153 Commits

Author SHA1 Message Date
oblique
2491ef2a3a Better parse of nmcli output 2014-08-04 14:03:15 +03:00
oblique
6acf353c9d networkmanager_is_running: Use 'nmcli g' first and if it fails fallback to 'nmcli nm' 2014-08-03 14:45:27 +03:00
oblique
ed7d3f36f9 Use 'nmcli' to determine if NetworkManager switched adapter to unmanaged
Fix #29
2014-07-28 19:24:02 +03:00
oblique
709652041f Add CCMP in wpa_pairwise of hostapd.conf 2014-06-07 16:53:28 +03:00
oblique
cfc9630338 Merge pull request #22 from eduardohenriquearnold/master
Update service file to fix cleaning process when service is requested to stop
2014-06-04 09:49:48 +03:00
Eduardo Henrique Arnold
993bdb9ce6 Update service file to fix cleaning process
Inserted the ExecStop directive to kill the hostapd process in order for the script to be able to receive the SIGINT signal. This enables the cleaning process to work when requesting the service to stop.
2014-06-03 13:45:19 +01:00
oblique
104c55606f We don't need to set an IP to the bridged interface
Fix #18
2014-04-05 22:08:33 +03:00
oblique
ef1a466a13 Merge pull request #17 from oaix/master
add IEEE 802.11n support
2014-04-05 12:47:06 +03:00
Shaw
1cd94e81d0 add IEEE 802.11n support 2014-04-03 20:57:26 +08:00
oblique
d556cd1fd2 Merge pull request #12 from mika/master
Redirect error messages to stderr
2014-02-21 10:11:12 +02:00
Michael Prokop
b77ccb0ecc Redirect error messages to stderr 2014-02-21 08:35:41 +01:00
oblique
a368035082 Add error messages about --no-virt 2013-12-23 00:32:25 +02:00
oblique
29d609cf24 Add --no-virt option
Fixes #10
2013-12-17 21:48:59 +02:00
oblique
5abc21fb7e Check if the directory of NetworkManager.conf exists and not the actual file 2013-12-17 21:39:19 +02:00
oblique
3c3b3b32d6 Makefile: copy create_ap.service only if /lib/systemd/system exists 2013-12-15 16:29:08 +02:00
oblique
452689bdbb Merge branch 'WebReflection-patch-1'
Fixes #8
2013-12-15 12:38:48 +02:00
oblique
46723a9686 Update patch for '--driver' argument 2013-12-15 12:38:06 +02:00
Andrea Giammarchi
ba9ffebcad make hosted able to use rtl871xdrv or other drivers
there are devices that are not supported as nl80211 … this change makes possible to specify `--driver rtl871xdrv` when/if needed
2013-12-14 17:18:54 -08:00
oblique
94bbf1d030 Improve automation for NetworkManager's unmanaged-devices 2013-12-05 21:27:31 +02:00
oblique
2b40f03e45 Minor change 2013-12-04 16:19:36 +02:00
oblique
1d809958d3 Fix a typo 2013-12-04 16:19:25 +02:00
oblique
3c7b4079c5 Rephrase 'Useful informations' in usage 2013-12-04 16:01:02 +02:00
oblique
8bee5d61ba Update README file 2013-12-04 15:59:13 +02:00
oblique
b39f4466de Add Makefile 2013-12-04 15:38:51 +02:00
oblique
bc19cd99dd Add BSD License 2013-12-04 15:14:15 +02:00
oblique
d03951bf29 Set broadcast ip address 2013-12-02 23:53:38 +02:00
oblique
67588aa7a7 Make sure the virtual interface will have a new mac address.
Fixes issues #6 and #7
2013-12-02 22:02:31 +02:00
oblique
40249cfd93 bridge mode now works with UFW 2013-11-29 23:49:47 +02:00
oblique
76fc2998a4 Add trap for SIGINT 2013-11-29 23:28:57 +02:00
oblique
4d7a9c372b Make no Internet sharing mode to work with UFW 2013-11-29 23:17:13 +02:00
oblique
3d5849e6a4 Add iptables to make it work with UFW 2013-11-29 22:25:10 +02:00
oblique
78adcce380 Merge pull request #5 from ichpuchtli/systemd-service
Add systemd service
2013-11-29 12:23:27 -08:00
Sam Macpherson
b5162fe9a4 updated README to include systemd service usage 2013-11-30 00:03:34 +10:00
Sam Macpherson
a746730072 added systemd .service file example 2013-11-29 23:21:10 +10:00
oblique
984f8e7fc9 If WiFi interface is already set to a channel, don't try to change it 2013-11-24 18:42:32 +02:00
oblique
e8fd319aac die on failure 2013-11-24 16:11:55 +02:00
oblique
eebf018b6c Create virtual interface. You can now use the same interface to get and share Internet. 2013-11-24 14:48:14 +02:00
oblique
fb266ab798 Automatically set/unset the unmanaged device in Network Manager 2013-11-24 14:46:46 +02:00
oblique
6c4c1fa4d0 minor change 2013-11-18 07:57:17 +02:00
oblique
a336acd7cc Add -m option, now you can choose NATed (default) or bridged Internet sharing (thanks batnas) 2013-11-18 02:45:56 +02:00
oblique
513f1fce19 Add 'Retype passphrase' 2013-11-17 23:28:10 +02:00
oblique
3c3df2201b README.md: minor change 2013-11-17 14:36:36 +02:00
oblique
ec121dbdbf update README.md file 2013-11-17 13:45:14 +02:00
oblique
b9fd1fd19f Minor change in usage() 2013-11-17 13:43:32 +02:00
oblique
7b39fe65fa Replace tabs with spaces 2013-11-17 03:31:15 +02:00
oblique
d3be5fa7a0 Don't read from pipe if we have more than 2 arguments 2013-11-17 02:28:15 +02:00
Miroslav Koskar
f143ddd584 Set SSID and PASSPHRASE values from standard input
- SSID is the first line
- PASSPHRASE is the second line

example: echo -e 'MyAccessPoint\nMyPassPhrase' | create_ap wlan0 eth0
2013-11-17 01:46:37 +02:00
oblique
dc6fe47389 Add dependencies in README.md file 2013-09-28 10:45:59 +03:00
oblique
26daf4bcdb add README.md 2013-09-28 09:04:52 +03:00
oblique
354bddb0be add an option that disables Internet sharing 2013-09-28 08:58:24 +03:00