Commit Graph

39 Commits

Author SHA1 Message Date
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
490667c625
added similar projects in README 2021-06-19 12:40:08 +05:30
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
55a54440f7
Merge branch 'wifi-ap' 2021-06-15 14:28:08 +05:30
b8d14e1d65
Updated README
Now the issue #1 is ready to be closed.
2021-06-15 14:24:03 +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
5e8ff6b65e
updated README.md
Added link to Arch Wiki article on systemd-resolved
2021-06-14 11:11:36 +05:30
006cb1095c
checks if device supports ad-hoc before starting ad-hoc
Partly added AP support
2021-06-14 11:02:27 +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
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
a0a1db15e7
Removed TODO from README.md
The AP support is already assigned as an issue #1
2021-06-09 13:17:43 +05:30
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
804f6f0792 Merge pull request 'python-rewrite' (#2) from python-rewrite into master
Reviewed-on: https://git.disroot.org/pranav/naxalnet/pulls/2
2021-06-09 07:35:41 +00:00
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
f5755e370b
added systemd-networkd config for bridging ethernet 2021-06-07 10:03:31 +05:30
6326dd2adb added dependencies to README.md 2021-06-07 09:47:35 +05:30
adc5601589 updated README.md
Updated the inroduction and added a bit more
on how it works.
2021-06-06 17:49:56 +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
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
8aeacb0ecb Merge branch 'master' into python-rewrite 2021-05-31 08:40:24 +05:30
5a349496e3 fixed typo in README.md 2021-05-25 14:13:54 +00:00
45e4326e31 Changed systemd service 2021-05-22 15:14:16 +05:30
803dcfbe91 added WIP python version 2021-05-21 20:26:00 +05:30
a2129e40e5 commented out some parts in README
added info about new branch
2021-05-21 20:18:49 +05:30
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
e5f0f4da94 added section on uninstalling in README.md
made the README more understandable
2021-05-11 12:27:58 +05:30
671e58c7c3 updated README 2021-05-11 12:16:32 +05:30
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
b2727231d0 added files 2021-05-10 15:15:42 +05:30
6c36fbdcca Initial commit 2021-05-10 08:06:30 +00:00