Compare commits

...

5 Commits

Author SHA1 Message Date
M0VUB 28619b5365
Update README.md
Fix typo
2022-01-10 15:07:19 +00:00
M0VUB 7c90eaf482
Update ambe-debian-installer
Installer complete enjoy!
2022-01-10 15:05:27 +00:00
M0VUB b811b79ccc
Update ambe-debian-installer
Installer ver 2.1.1
2022-01-10 15:04:13 +00:00
M0VUB 11d667b6eb
Update ambed.service
System unit - change if not on same machine!
2022-01-10 15:01:51 +00:00
M0VUB ea977503b0
Update README.md
Numbers game!
2022-01-10 14:57:54 +00:00
3 changed files with 17 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# AMBEd Installer for XLXd (Debain 11 Support!)
# AMBEd Installer for XLXd (Debian 11 Support!)
## ambed-debian-installer v2
@ -14,24 +14,24 @@ 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)!!!
3. Plug the AMBE vocoder chips into the server.
2. Plug the AMBE vocoder chips into the server.
4.
3.
```sh
git clone https://github.com/shaymez/ambed-debian-installer
cd ambed-debian-installer
./ambe-debian-installer
```
5. Reboot after installation is complete.
4. Reboot after installation is complete.
### Edit AMBEd system unit for LocalHost
6. 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
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. Change the default 127.0.0.1 to your LOCAL IP etc 192.168.1........ otherwise trancoding will not work.
```sh
nano /etc/systemd/system/ambed.service
```
7. If you have changed the system unit file you will need to restart the daemon and restart the 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
@ -45,13 +45,13 @@ systemctl start|stop|status|restart ambed
- Logs are via systemctl status
### Watchdog for AMBEd
8. Install additional tools. Assuming you are still in the ambed-debian-installer dir..
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
```
9. You can run the watchdog every 5 mins with a cron job
8. You can run the watchdog every 5 mins with a cron job
```sh
*/5 * * * * /ambed/./watchdog >> /ambed/watchdog.log
```

View File

@ -1,12 +1,12 @@
#!/bin/bash
#A tool to install AMBE server with Debian / Ubuntu support.
#This is essentially a scripted version of:
#https://github.com/LX3JL/xlxd/blob/master/ambed/readme
#Step 1: Install Debian 9 10 or 11 or Ubuntu 20.04 onwards.. and make sure it has internet and is up to date.
#Step 2: Plug AMBE Chip(s) into computer or Raspi-pi.
#Step 3: Run this script on the computer with the ambe chips pluged in.
#Step 4: Reboot after installation.
# Version 2.1.1 Edited by M0VUB
# A tool to install AMBE server with Debian / Ubuntu support.
# This is essentially a scripted version of:
# https://github.com/LX3JL/xlxd/blob/master/ambed/readme
# Step 1: Install Debian 9 10 or 11 or Ubuntu 20.04 onwards.. and make sure it has internet and is up to date.
# Step 2: Plug AMBE Chip(s) into computer or Raspi-pi.
# Step 3: Run this script on the computer with the ambe chips pluged in.
# Step 4: Reboot after installation.
# systemctl status ambed #to show the status
# systemctl stop ambed #to stop ambed
# systemctl start ambed #to start ambed

View File

@ -8,6 +8,7 @@ User=root
Group=root
ExecStartPre=-/sbin/rmmod ftdi_sio
ExecStartPre=-/sbin/rmmod usb_serial
# Add local IP for ofsite, keep 127.0.0.1 if running xlxd on same machine as ambed
ExecStart=/ambed/ambed 127.0.0.1
Restart=on-abnormal