Commit Graph

95 Commits

Author SHA1 Message Date
Pranav Jerry 3c22fa63f4
Fixed typo in HACKING.md 2021-07-18 14:11:36 +05:30
Pranav Jerry 91be0b0189
Added main.py
This file at the moment contains debugging code.
Changed HACKING.md
2021-07-18 14:07:16 +05:30
Pranav Jerry b1d970a0f6
fixed bug in iwd.py
And fixed a typo in README.md
2021-07-17 13:34:06 +05:30
Pranav Jerry 7b7c3f0b2e
added license to iwd.py 2021-07-12 20:20:50 +05:30
Pranav Jerry 8bf05ba334
added new functions 2021-07-12 20:17:33 +05:30
Pranav Jerry 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
Pranav Jerry d4e6b929d2
added HACKING.md 2021-07-02 09:30:28 +05:30
Pranav Jerry 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
Pranav Jerry 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
Pranav Jerry 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
Pranav Jerry 8bdeddf08e
Renamed naxalnet into naxalnet/naxalnet.py 2021-06-27 13:59:42 +05:30
Pranav Jerry d57c92588f
Added AUR package
Now there are two AUR packages - naxalnet and naxalnet-git
2021-06-24 17:04:31 +05:30
Pranav Jerry 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
Pranav Jerry 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
Pranav Jerry 490667c625
added similar projects in README 2021-06-19 12:40:08 +05:30
Pranav Jerry eb51df86e4
Updated MTU in 03-wireless-ad-hoc.network
Added link to open mesh page announcing systemd support
2021-06-15 17:21:13 +05:30
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