Commit Graph

181 Commits

Author SHA1 Message Date
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
0e7a69be53
Updated HACKING.md and naxalnet/iwd.py
Added Device.reload() to reload the proxy every time the device mode is
changed. Added Device.set_mode() and partial implementation of
Device.start_adhoc_open().

Added link to meaning of hack in HACKING.md
2021-07-07 14:08:05 +05:30
d4e6b929d2
added HACKING.md 2021-07-02 09:30:28 +05:30
e4fd0ff04d
basic implementaion of class Device and IWD
When work is finished, we can use them to start adhoc or ap
2021-07-01 12:18:44 +05:30
f4a490210d added prototype functions in naxalnet/iwd.py
They won't work yet but when they do we can use the classes in iwd.py
instead of using dasbus directly. Also added a Name to Match in
systemd-networkd/06-eth.network
2021-06-30 21:50:39 +05:30
ba2425f008
initial implementation of iwd api
iwd.py is used to communicate with iwd via d-bus
2021-06-27 14:25:36 +05:30
8bdeddf08e
Renamed naxalnet into naxalnet/naxalnet.py 2021-06-27 13:59:42 +05:30
d57c92588f
Added AUR package
Now there are two AUR packages - naxalnet and naxalnet-git
2021-06-24 17:04:31 +05:30
47f2324604
Improved README.md
Added how to stop the systemd service and improved the similar projects section.
2021-06-23 13:48:05 +05:30
af98a57b0e
Updated README.md
Added shell code to clone git repo. Not everyone knows how to clone a
repo and cd into it 😁
2021-06-19 15:53:16 +05:30