# AMBEd Installer for XLXd (Debian 11 Support!) ## ambed-debian-installer v2 This installer was orginally created by N5AMD. The script has been slightly changed with updated dependencies & updated links from FTDI. Thanks to all the contributors on this script! The original script can be found here https://github.com/n5amd/ambed-debian-installer To continue to use this fork/version please follow the instructions below: This is a simple install script to install AMBEd, a piece of software that when combined with hardware AMBE vocoder chips and another piece of software, XLXD, can transcode digital voice modes. This script simply runs through the official install instructions found at: https://github.com/LX3JL/xlxd/blob/master/ambed/readme ### How To Install: 1. Have a Debian 9, 10 or 11 x86/ARM computer ready and up to date with preferably a 64bit CPU. Script works with aarch64 and Ubuntu 21.10, tried and tested on ARM. (Pi-4)!!! 2. Plug the AMBE vocoder chips into the server. 3. ```sh git clone https://github.com/shaymez/ambed-debian-installer cd ambed-debian-installer ./ambe-debian-installer ``` 4. Reboot after installation is complete. ### Edit AMBEd system unit for LocalHost 5. If you are running this transcoder on the same LocalHost as XLXd then there is no need to edit. If running AMBED on a remote site then you will need to include your local IP address in the system unit file. If running on local machine with XLXd then use 127.0.0.1 or the trascoding will not work! ```sh nano /etc/systemd/system/ambed.service ``` 6. If you have changed the system unit file you will need to restart the daemon and restart the AMBEd service. ```sh systemctl daemon-reload systemctl restart ambed ``` ### To interact with AMBEd after installation: ```sh systemctl start|stop|status|restart ambed ``` - Installs to /ambed - Logs are via systemctl status ### Watchdog for AMBEd 7. Install additional tools. Assuming you are still in the ambed-debian-installer dir.. ```sh cd templates cp watchdog /ambed/watchdog chmod 0755 /ambed/watchdog ``` 8. You can run the watchdog every 5 mins with a cron job ```sh */5 * * * * /ambed/./watchdog >> /ambed/watchdog.log ``` **The other parts to this install, if you need it can be found at:** https://github.com/n5amd/Multi-Reflector-Installer **For more information, please visit N5AMD:** https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/