AP container with hostapd for btt exchanger
2.0K
BTT Exchanger is a platform for backup, checking, collating, and exporting oral bible translation
#Folders
install
web
ap
translationExchangeAndroid
ott
ott user needs sudoers priveledge. On install of Debian you can leave the root password blank and have the ott user automatically added to sudoers, or you can give the root user a password and add ott to sudoers yourself.install.zip file from releases in this repo~/btt-exchanger so that the files and directories such as install.sh script are located in /home/ott/btt-exchangersudo ./install.shsudo chmod +x install.sh to enable execution on the scriptThe script adds the docker repo, installs dependencies, adds a cron job to start BTT-Exchanger, pulls the needed docker images, and eventually reboots the machine to start BTT-Exchanger via the cron job.
There are two prompts to respond to in the install script. The first asks whether you want to install a Wifi Access Point on the server (NUC) itself or if you want to use an external Access Point like the TP-Link mentioned above. The second prompt is to unlpug the network cable for reboot. The install sets up a DHCP server, so unplugging the network cable before rebooting and starting the DHCP server is highly recommended.
After a reboot, either connect to the TP-Link Wireless Netowrk if using the TP-Link router or connect to the BTT_#### Wireless network if you are running the Wireless Access Point on the server. The setup script for using an external access point configures the DHCP and DNS servers in a way that requires the TP-Link nano router to be configured in Access Point mode. See the TP-Link documentation for how to change this config. Feel free to adjust its config such as admin password, SSID, and wireless password as well.
Go to http://opentranslationtools.org to download the clients for BTT Exchanger and use the software.
docker-compose up and you could have BTT Exchanger running on an existing server and network. You would need to configure the containers to boot on start up and point DNS for opentranslationtools.org at the server as well.There are convenience scripts in the run folder.
enable_network.sh - run this while in server AP mode to stop the BTT-Exchanger services and bring Network Manager back up so the user can connect the wifi card or ethernet to an internet connection.clients_update.sh - run this to pull the latest versions of the BTT-Exchanger clients from this repo's releases. Must have the server connected to the internet to do this. If running in server AP mode, you'll need to run the enable_network.sh script to enable the wifi card and connect to wifi before running this script.switch_access_point_modes.sh - run this to change the running config from running the AP on the server to running and external AP and vice-versa. This script will also fix a bad config, if something isn't coming up correctly, you can try this script to fix it.Content type
Image
Digest
Size
27.6 MB
Last updated
over 6 years ago
docker pull bibletranslationtools/btte-ap