mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2025-05-01 15:13:53 +05:30
added link to internetshutdowns.in in README.md
This commit is contained in:
parent
ebc7e39d76
commit
fb4b11b9fd
@ -1,8 +1,8 @@
|
|||||||
# naxalnet
|
# naxalnet
|
||||||
|
|
||||||
**naxalnet** is a program to create a wireless mesh network for
|
**naxalnet** is a program to create a wireless mesh network for
|
||||||
communicating with each other. It can be useful during an internet
|
communicating with each other. It can be useful during an
|
||||||
shutdown, or to join online classes with a group of laptops.
|
[internet shutdown][], or to join online classes with a group of laptops.
|
||||||
It uses [B.A.T.M.A.N. Advanced][batman-adv], an implementation
|
It uses [B.A.T.M.A.N. Advanced][batman-adv], an implementation
|
||||||
of the B.A.T.M.A.N. routing protocol to communicate with peers.
|
of the B.A.T.M.A.N. routing protocol to communicate with peers.
|
||||||
|
|
||||||
@ -207,6 +207,7 @@ See [LICENSE](LICENSE) for the complete version of the
|
|||||||
license.
|
license.
|
||||||
|
|
||||||
[batman-adv]: https://www.open-mesh.org/projects/batman-adv/wiki
|
[batman-adv]: https://www.open-mesh.org/projects/batman-adv/wiki
|
||||||
|
[internet shutdown]: https://internetshutdowns.in
|
||||||
[ipfs]: https://ipfs.io "InterPlanetary File System"
|
[ipfs]: https://ipfs.io "InterPlanetary File System"
|
||||||
[jami]: https://jami.net "Peer to peer video calls"
|
[jami]: https://jami.net "Peer to peer video calls"
|
||||||
[ssb]: https://scuttlebutt.nz "Secure Scuttlebutt"
|
[ssb]: https://scuttlebutt.nz "Secure Scuttlebutt"
|
||||||
@ -216,7 +217,7 @@ license.
|
|||||||
[arch-resolved]: https://wiki.archlinux.org/title/Systemd-resolved#DNS "systemd-resolved on ArchWiki"
|
[arch-resolved]: https://wiki.archlinux.org/title/Systemd-resolved#DNS "systemd-resolved on ArchWiki"
|
||||||
[batman-systemd]: https://www.open-mesh.org/news/101 "systemd v248 brings support for batman advanced"
|
[batman-systemd]: https://www.open-mesh.org/news/101 "systemd v248 brings support for batman advanced"
|
||||||
[libremesh]: https://libremesh.org
|
[libremesh]: https://libremesh.org
|
||||||
[disaster.radio]: https://disaster.radio/
|
[disaster.radio]: https://disaster.radio
|
||||||
[startnx]: #start-naxalnet
|
[startnx]: #start-naxalnet
|
||||||
[iwd]: https://iwd.wiki.kernel.org "wifi daemon"
|
[iwd]: https://iwd.wiki.kernel.org "wifi daemon"
|
||||||
[free-sw]: https://gnu.org/philosophy/free-sw.html "What is free software?"
|
[free-sw]: https://gnu.org/philosophy/free-sw.html "What is free software?"
|
||||||
|
@ -112,6 +112,8 @@ def here_be_dragons():
|
|||||||
print(error)
|
print(error)
|
||||||
sys.exit("Make sure you are root")
|
sys.exit("Make sure you are root")
|
||||||
|
|
||||||
|
# TODO: implement the daemon here so that it will call setup_devices
|
||||||
|
# every time a device is connected or removed.
|
||||||
# Now, the iwd part
|
# Now, the iwd part
|
||||||
try:
|
try:
|
||||||
setup_devices(args)
|
setup_devices(args)
|
||||||
@ -124,6 +126,7 @@ def here_be_dragons():
|
|||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
|
"""parse all arguments and return ArgumentParser.parse_args()"""
|
||||||
parser = ArgumentParser(
|
parser = ArgumentParser(
|
||||||
description="setup batman-adv networks with systemd and iwd"
|
description="setup batman-adv networks with systemd and iwd"
|
||||||
)
|
)
|
||||||
@ -145,6 +148,7 @@ def parse_args():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--adhoc-name", "-a", type=str, default=ADHOC_NAME, help="name of adhoc network"
|
"--adhoc-name", "-a", type=str, default=ADHOC_NAME, help="name of adhoc network"
|
||||||
)
|
)
|
||||||
|
# TODO: implement verbose
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-v",
|
"-v",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user