ambed-debian-installer/README.md

66 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

2022-01-10 10:07:19 -05:00
# AMBEd Installer for XLXd (Debian 11 Support!)
2022-01-10 09:19:30 -05:00
## 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
2022-01-10 09:19:30 -05:00
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:
2018-11-25 21:26:04 -05:00
https://github.com/LX3JL/xlxd/blob/master/ambed/readme
2022-01-04 17:37:05 -05:00
### 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)!!!
2022-01-10 09:57:54 -05:00
2. Plug the AMBE vocoder chips into the server.
2022-01-10 09:19:30 -05:00
2022-01-10 09:57:54 -05:00
3.
2018-11-27 00:02:52 -05:00
```sh
2022-01-04 17:37:05 -05:00
git clone https://github.com/shaymez/ambed-debian-installer
2018-11-27 00:02:52 -05:00
cd ambed-debian-installer
2022-01-10 09:19:30 -05:00
./ambe-debian-installer
2018-11-27 00:02:52 -05:00
```
2022-01-10 09:57:54 -05:00
4. Reboot after installation is complete.
2018-11-25 21:26:04 -05:00
2022-01-10 09:12:11 -05:00
### Edit AMBEd system unit for LocalHost
2022-01-10 09:57:54 -05:00
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
2022-10-06 20:37:17 -04:00
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!
2022-01-10 09:12:11 -05:00
```sh
nano /etc/systemd/system/ambed.service
```
2022-01-10 09:57:54 -05:00
6. If you have changed the system unit file you will need to restart the daemon and restart the AMBEd service.
2022-01-10 09:16:41 -05:00
```sh
systemctl daemon-reload
systemctl restart ambed
```
2022-01-04 10:38:57 -05:00
### To interact with AMBEd after installation:
2018-11-27 00:02:52 -05:00
```sh
systemctl start|stop|status|restart ambed
```
- Installs to /ambed
- Logs are via systemctl status
2022-01-04 10:38:57 -05:00
### Watchdog for AMBEd
2022-01-10 09:57:54 -05:00
7. Install additional tools. Assuming you are still in the ambed-debian-installer dir..
2022-01-04 10:38:57 -05:00
```sh
cd templates
cp watchdog /ambed/watchdog
chmod 0755 /ambed/watchdog
2022-01-04 10:38:57 -05:00
```
2022-01-10 09:57:54 -05:00
8. You can run the watchdog every 5 mins with a cron job
2022-01-04 10:38:57 -05:00
```sh
*/5 * * * * /ambed/./watchdog >> /ambed/watchdog.log
2022-01-04 10:38:57 -05:00
```
2018-11-27 00:02:52 -05:00
2018-11-25 21:26:04 -05:00
**The other parts to this install, if you need it can be found at:**
2018-11-25 21:26:49 -05:00
2018-11-25 21:26:04 -05:00
https://github.com/n5amd/Multi-Reflector-Installer
**For more information, please visit N5AMD:**
2018-11-25 21:26:49 -05:00
2019-05-04 16:06:58 -04:00
https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/