Commit Graph

12 Commits

Author SHA1 Message Date
7e0fe5ef4c
many changes -- see full commit message
The config file is now installed as /etc/naxalnet/naxalnet.conf.example
by default.
make uninstall now does not ask for confirmation. Added rule purge in
Makefile.
Updated the README.
Changed order of stop commands in service file.
Updated setup.cfg and docstrings.
2021-08-18 17:33:46 +05:30
d1ec77dc69
clean up runtime files when stopped
This only applies to the systemd service
2021-08-17 09:49:16 +05:30
e99b3222e1
simplified systemd-networkd reload in naxalnet.service 2021-08-16 21:29:27 +05:30
d18160c46c
disabled buffering in python
Buffering makes the systemd journal not show the logs at the right time.
And changed the systemd service file so that the new batman and bridge
interfaces are deleted when naxalnet.service is stopped. Also simplified
the Stopping section in the README because of this change.
2021-08-16 18:56:17 +05:30
397269823d
almost ready for merge
* Improved CHANGELOG, README, HACKING
* Added naxalnet.conf containing default values. This will be installed
along with the package.
2021-08-15 15:02:28 +05:30
19137faab3
reduced 5s delay in the systemd service to 2s 2021-07-26 15:58:50 +05:30
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
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
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
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
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
45e4326e31 Changed systemd service 2021-05-22 15:14:16 +05:30