Tox
From the project home page:
- Tox is a distributed, secure messenger with audio and video chat capabilities.
Installation
Install tox-git, available in the AUR.
You may also want to install a client:
- uTox — Lightweight Tox client
- qTox — Powerful Tox client written in QT
- Toxic — ncurses-based CLI
- Venom — A Vala/Gtk+ graphical user interface for Tox
- Qt GUI — GUI written in Qt
- Tox Pidgin Protocol Plugin — a plugin for Pidgin which allows the use of the Tox protocol within Pidgin
Run a node
To be able to connect to others, Tox needs to connect to a DHT node first. All DHT nodes are connected to each other, and since everyone is connected to at least one DHT node, you can connect to others one way or the other.
/etc/conf.d/tox_bootstrap
cmdline="--ipv4" # open node, choosen by you from http://wiki.tox.im/Nodes DHT ip="node_ip" port="node_port" key="client_id"
Take node_ip, node_port and client_id from the chosen node at http://wiki.tox.im/Nodes.
Create the service file.
/etc/systemd/system/tox_bootstrap.service
[Unit] Description=Tox DHT Bootstrap Daemon After=network.target [Service] Type=simple EnvironmentFile=/etc/conf.d/tox_bootstrap WorkingDirectory=/etc/tox ExecStart=/usr/bin/DHT_bootstrap ${cmdline} ${ip} ${port} ${key} User=tox Group=tox [Install] WantedBy=multi-user.target
Create user for running the daemon and configuration folder.
# useradd --no-create-home --shell /bin/false --user-group tox # mkdir --verbose /etc/tox # chown --recursive --verbose tox:tox /etc/tox
Reload systemd, scanning for new units:
# systemctl daemon-reload
Enable and start tox_bootstrap service, and check if it is running fine and port has been binded:
# ss --listening --numeric --processes | grep node_port
udp 0 0 *:node_port *:* 576/DHT_bootstrap