Commit Graph

179 Commits

Author SHA1 Message Date
Pranav Jerry 55a54440f7
Merge branch 'wifi-ap' 2021-06-15 14:28:08 +05:30
Pranav Jerry b8d14e1d65
Updated README
Now the issue #1 is ready to be closed.
2021-06-15 14:24:03 +05:30
Pranav Jerry 79b9a161f1
Now supports AP!
Fixed error when already connected to ad-hoc or ap.
Removed some print() lines I had forgot to remove after debugging.
But we can't close #1 yet (need to update the README)
2021-06-15 14:00:48 +05:30
Pranav Jerry 5e8ff6b65e
updated README.md
Added link to Arch Wiki article on systemd-resolved
2021-06-14 11:11:36 +05:30
Pranav Jerry 006cb1095c
checks if device supports ad-hoc before starting ad-hoc
Partly added AP support
2021-06-14 11:02:27 +05:30
Pranav Jerry 0fb8b6a8ab
stopped messing with resolv.conf
Completely removed the part that symlinks resolv.conf
to systemd-resolved's conf. Instead, added an optional
dependency of resolved in README.md
2021-06-12 19:28:59 +05:30
Pranav Jerry 1d2d4b2d88
many changes
Looks like issue #3 is fixed. Added an AUR package
to the README. Fixed another bug related to linking
resolv.conf (I didn't know Path.exsts() checks the destination
if Path was a symlink). Changed how it deals with resolv.conf if
it is a symlink or normal files. Also, added a 'RestartSec=5sec'
to the systemd service.
2021-06-11 10:15:35 +05:30
Pranav Jerry 7e513b8475
temporary fix for issue #3
Added a Restart=on-failure on the systemd service.
Now, after an error, the service will restart,
and this time it should not exit with an error.
This will make naxalnet.service work until #3
is fixed.
2021-06-10 09:15:58 +05:30
Pranav Jerry 7e8f9e8417
Changed order of files in systemd-networkd
The README is now in order, with a few readability
fixes. The renaming of files in systemd-networkd/ is
only for readability. I don't know if networkd
considers the order of files important.
2021-06-09 17:22:20 +05:30
Pranav Jerry a0a1db15e7
Removed TODO from README.md
The AP support is already assigned as an issue #1
2021-06-09 13:17:43 +05:30
Pranav Jerry 2ceac77efb
Update README.md
Removed a line used in python-rewrite branch
to indicate this is a WIP. (I knew I'd screw up something)

Also fixed a link to the LICENSE file. It was wrongly
referred to LICENSE.md instead of LICENSE
2021-06-09 13:12:39 +05:30
Pranav Jerry 804f6f0792 Merge pull request 'python-rewrite' (#2) from python-rewrite into master
Reviewed-on: pranav/naxalnet#2
2021-06-09 07:35:41 +00:00
Pranav Jerry a0d9c62ab7
added ad-hoc support
Finally, the python rewrite is over!
Currently, there is no way to change the name of
ad-hoc neetwork other than editing the script.
2021-06-09 12:57:22 +05:30
Pranav Jerry f5755e370b
added systemd-networkd config for bridging ethernet 2021-06-07 10:03:31 +05:30
Pranav Jerry 6326dd2adb added dependencies to README.md 2021-06-07 09:47:35 +05:30
Pranav Jerry adc5601589 updated README.md
Updated the inroduction and added a bit more
on how it works.
2021-06-06 17:49:56 +05:30
Pranav Jerry e28a0f7583 Changed systemd service
Fixed permissions in install lines in Makefile.
The systemd service now stops NetworkManager and
wpa_supplicant before starting naxalnet. It also
starts systemd-{networkd,resolved} and iwd alongside
naxalnet.service.
2021-06-06 11:25:37 +05:30
Pranav Jerry 715f4b7308 Updated rewrite and README.md
The rewrite is partly over, with only the iwd
part remaining. The README was updated and a commented-out
section which had no comment closing tag was fixed.
2021-06-04 22:27:54 +05:30
Pranav Jerry 8aeacb0ecb Merge branch 'master' into python-rewrite 2021-05-31 08:40:24 +05:30
Pranav Jerry 5a349496e3 fixed typo in README.md 2021-05-25 14:13:54 +00:00
Pranav Jerry 45e4326e31 Changed systemd service 2021-05-22 15:14:16 +05:30
Pranav Jerry 803dcfbe91 added WIP python version 2021-05-21 20:26:00 +05:30
Pranav Jerry a2129e40e5 commented out some parts in README
added info about new branch
2021-05-21 20:18:49 +05:30
Pranav Jerry e1fe05b280 added How It Works section in README.md
Added the `-r` flag to `rm` in the uninstalling section.
Changed how the default value of PREFIX is defined in the
Makefile
2021-05-11 13:10:31 +05:30
Pranav Jerry e5f0f4da94 added section on uninstalling in README.md
made the README more understandable
2021-05-11 12:27:58 +05:30
Pranav Jerry 671e58c7c3 updated README 2021-05-11 12:16:32 +05:30
Pranav Jerry 8d318a5b13 fixed ad-hoc device getting ip address
naxalnet no longer creates temporary directories,
since the networkd configs no longer have device
names engraved in them.
2021-05-11 11:29:38 +05:30
Pranav Jerry b2727231d0 added files 2021-05-10 15:15:42 +05:30
Pranav Jerry 6c36fbdcca Initial commit 2021-05-10 08:06:30 +00:00