User:maffblaster/Drafts/cjdns
From Gentoo Wiki
< User:Maffblaster | Drafts
Jump to:navigation
Jump to:search
cjdns is a encrypted IPv6 mesh network software.
Installation
Kernel
(TUN device must be enabled in the kernel. Might be more things that need to be enabled, not sure.)
KERNEL Enable support for TUN device
Device Drivers --->
[*] Network device support --->
<*> Universal TUN/TAP device driver support
USE flags
Cannot load package information. Is the atom net-dns/cjdns correct?
Emerge
root #
emerge --ask net-dns/cjdns
Configuration
Environment variables
Files
- /etc/global_file_example - Global (system wide) configuration file.
- ~/.local_file_example - Local (per user) configuration file.
Usage
Invocation
OpenRC
Add cjdns to the default runlevel to have it start on boot and run in the background.
root #
rc-service cjdns start
root #
rc-update add cjdns default
To monitor status:
root #
rc-service cjdns status
systemd
To run the cjdns sync service:
root #
systemctl start cjdns.service
To have the cjdns sync service start at boot:
root #
systemctl enable cjdns.service
To monitor status of the cjdns service:
root #
systemctl status cjdns.service
Troubleshooting
Issue 1
Removal
Unmerge
root #
emerge --ask --depclean --verbose net-dns/cjdns
See also
External resources
- https://hyperboria.net/ - An experimental mesh network built with cjdns nodes.
- https://docs.meshwith.me/ - Hyperboria documentation.
- http://cjdns.ca/peers.txt - A list of publicly available Hyperboria logins