Commit Graph

140 Commits

Author SHA1 Message Date
9f8a5b3d0d
updated CHANGELOG and version
Ready for merge
2021-08-19 12:48:02 +05:30
fdbbca686d
removed license from package description
Fixed MANIFEST.in and changed data_files in setup.cfg
2021-08-19 12:36:40 +05:30
be8de69b73
updated README and Makefile
Added uninstall as dependency for purge in Makefile.
Changed pkexec and pkcon to sudo and apt and dnf
2021-08-19 12:03:20 +05:30
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
274f08cded
added install instructions for fedora and ubuntu
May not work, I have not tested it.
2021-08-18 15:34:07 +05:30
d1ec77dc69
clean up runtime files when stopped
This only applies to the systemd service
2021-08-17 09:49:16 +05:30
cf54edf9b9
updated README
Changed order of services to stop in section Stopping the service. This
is because while stopping naxalnet, the ExecStopPost line says to delete
two interfaces. But just before it is run, networkd is stopped. Running
the command will again start networkd, which is not what we need.
2021-08-16 21:32:57 +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
d7a9edc1e8
many changes -- read full commit
* Improved docstrings, README
* Added argument --version and its implementation
* Added "uninstall" rule to Makefile and added it in the README
* Updated CHANGELOG
* Cleaned up code

I've probably forgot something so we can't merge to master yet.
And we still have to add installation instructions for ubuntu and fedora
2021-08-14 22:00:07 +05:30
fe146b7a0d
added implementation of --print-wifi
And added it to the README.
Cleaned up the docstring in naxalnet/__main__.py
2021-08-13 12:30:30 +05:30
b50d0e3656
made README and HACKING.md more readable 2021-08-13 11:32:42 +05:30
550529e3d0
updated CHANGELOG
I forgot to update it in the previous commit
2021-08-13 10:48:58 +05:30
dfd521f9b9
added new args and support for conf files
Tidied up code, added more documentation, and the version now confirms
to some PEP standard. Because of the way configuration and arguments are
implemented, ALL the keys in configuration files should have an argument
that can change its value.

Verbose option was commented out, since it is not implemented. An
argument --print-wifi, which should print out WiFi ssid and password is
not implemented at the moment. Also, the README should be updated to
show the new changes. By the way I just remembered I didn't update the
CHANGELOG; I'll do it in the next commit. 😁
2021-08-13 10:35:13 +05:30
90464f0304
made how it works section more legible in README.md 2021-08-10 13:20:27 +05:30
e24ff03e0c
Updated how it works section in README.md 2021-08-09 21:46:10 +05:30
2f97bab5cf
changed README.md
Changed the section on internet shutdowns.
Let's see if anyone actually reads the README in source form.
2021-08-09 20:06:57 +05:30
a798ac8051
improved README.md
And added a new argument (not implemented) in scripts.py
2021-08-09 12:54:41 +05:30
fb4b11b9fd
added link to internetshutdowns.in in README.md 2021-08-08 22:20:05 +05:30
ebc7e39d76
added CHANGELOG.md
Contributors should update this file everytime they create a commit
2021-08-05 14:45:24 +05:30
2e4149d943
moved device setup into a single function
By the way, --verbose is not implemented yet. We will need to wait until
systemd journal or some other form of logging is implemented.
2021-08-05 12:11:31 +05:30
df73f94018
Added alt text to some links in README.md
And removed a sentence in manual installation section
2021-08-02 18:26:14 +05:30
3d63ddd2d2
Fixed typo in README.md
Forgot a space after comma
2021-08-02 18:13:32 +05:30
5db3d1dc09
added new section in HACKING.md 2021-08-02 16:05:24 +05:30
f55fc74ad4
added PYTHON variable in Makefile
This should be used if the python executable is not python3 in your
distro.

I would like to express my displeasure to the Government of India for
not including me in the list of targets for Pegasus, even though I'm
convinced I am a threat to the sovereignty and integrity of the nation
2021-08-01 16:58:48 +05:30
16dff8bb49
added support for arguments
Try naxalnet --help to see help
2021-07-30 17:56:33 +05:30
946d20a72c
Fixed typo and improved README (again) 2021-07-29 22:44:01 +05:30
7b7ce8044b
improved README
Let's see if anyone reads the comments :)
Changed python to python3 in Makefile
2021-07-29 22:36:53 +05:30
f6a5a8556b
fixed version number in __init__.py 2021-07-26 16:47:36 +05:30
5068250ad6
added link to HACKING.md in README.md 2021-07-26 16:08:36 +05:30
19137faab3
reduced 5s delay in the systemd service to 2s 2021-07-26 15:58:50 +05:30
b3710633cc
Merge branch 'fix-rfkill'
Added rfkill support, among other things.
See pull request #10 for more info.
2021-07-26 15:47:38 +05:30
86042b9852
uncommented IPNS address 2021-07-26 12:48:45 +05:30
1500f486ef
added clean in Makefile 2021-07-26 12:44:24 +05:30
9c6081ea87
added rfkill support
Updated HACKING.md and added license disclaimer to all python files.
And tidied up scripts.py
2021-07-25 14:06:17 +05:30
c8e98b2c4f
Merge branch 'python-module'
The pypackage version is ready for use by non-nerds
2021-07-23 21:43:00 +05:30
adb8c62407
Removed alpha stage disclaimer
naxalnet doesn't seem to fit into the alpha stage anymore, although it
is probably unstable according to debian standards
2021-07-23 21:39:46 +05:30
e0d2602552
Updated README.md
Removed IPFS git link and updated .gitignore
And fixed a tiny mistake in uninstalling section in README.md
2021-07-23 21:35:11 +05:30
c2fba89816
Made python package!
Finally, the python package is ready to use!
2021-07-21 15:36:11 +05:30
b2f30bad62
added AP support in naxalnet.py and iwd.py 2021-07-21 14:36:23 +05:30
af5fc0e285
Added ipns git clone url
Probably wont work properly
2021-07-19 19:02:25 +05:30
f0689016ce
ad-hoc part done
Check out naxalnet/naxalnet.py
2021-07-19 14:11:43 +05:30
b9592696f2
Fixed another typo in HACKING.md 2021-07-18 20:05:39 +05:30
809c09afe0
Added class Adapter in iwd.py
Initial implementation. No useful public methods yet
2021-07-18 14:24:27 +05:30
3c22fa63f4
Fixed typo in HACKING.md 2021-07-18 14:11:36 +05:30
91be0b0189
Added main.py
This file at the moment contains debugging code.
Changed HACKING.md
2021-07-18 14:07:16 +05:30
b1d970a0f6
fixed bug in iwd.py
And fixed a typo in README.md
2021-07-17 13:34:06 +05:30
7b7c3f0b2e
added license to iwd.py 2021-07-12 20:20:50 +05:30
8bf05ba334
added new functions 2021-07-12 20:17:33 +05:30