Compare commits
5 Commits
ce25822668
...
28619b5365
Author | SHA1 | Date |
---|---|---|
M0VUB | 28619b5365 | |
M0VUB | 7c90eaf482 | |
M0VUB | b811b79ccc | |
M0VUB | 11d667b6eb | |
M0VUB | ea977503b0 |
16
README.md
16
README.md
|
@ -1,4 +1,4 @@
|
||||||
# AMBEd Installer for XLXd (Debain 11 Support!)
|
# AMBEd Installer for XLXd (Debian 11 Support!)
|
||||||
|
|
||||||
## ambed-debian-installer v2
|
## ambed-debian-installer v2
|
||||||
|
|
||||||
|
@ -14,24 +14,24 @@ https://github.com/LX3JL/xlxd/blob/master/ambed/readme
|
||||||
### How To Install:
|
### How To Install:
|
||||||
1. Have a Debian 9, 10 or 11 x86/ARM computer ready and up to date with preferably a 64bit CPU.
|
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)!!!
|
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
|
```sh
|
||||||
git clone https://github.com/shaymez/ambed-debian-installer
|
git clone https://github.com/shaymez/ambed-debian-installer
|
||||||
cd ambed-debian-installer
|
cd ambed-debian-installer
|
||||||
./ambe-debian-installer
|
./ambe-debian-installer
|
||||||
```
|
```
|
||||||
5. Reboot after installation is complete.
|
4. Reboot after installation is complete.
|
||||||
|
|
||||||
### Edit AMBEd system unit for LocalHost
|
### 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.
|
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
|
```sh
|
||||||
nano /etc/systemd/system/ambed.service
|
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
|
```sh
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart ambed
|
systemctl restart ambed
|
||||||
|
@ -45,13 +45,13 @@ systemctl start|stop|status|restart ambed
|
||||||
- Logs are via systemctl status
|
- Logs are via systemctl status
|
||||||
|
|
||||||
### Watchdog for AMBEd
|
### 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
|
```sh
|
||||||
cd templates
|
cd templates
|
||||||
cp watchdog /ambed/watchdog
|
cp watchdog /ambed/watchdog
|
||||||
chmod 0755 /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
|
```sh
|
||||||
*/5 * * * * /ambed/./watchdog >> /ambed/watchdog.log
|
*/5 * * * * /ambed/./watchdog >> /ambed/watchdog.log
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#A tool to install AMBE server with Debian / Ubuntu support.
|
# Version 2.1.1 Edited by M0VUB
|
||||||
#This is essentially a scripted version of:
|
# A tool to install AMBE server with Debian / Ubuntu support.
|
||||||
#https://github.com/LX3JL/xlxd/blob/master/ambed/readme
|
# This is essentially a scripted version of:
|
||||||
#Step 1: Install Debian 9 10 or 11 or Ubuntu 20.04 onwards.. and make sure it has internet and is up to date.
|
# https://github.com/LX3JL/xlxd/blob/master/ambed/readme
|
||||||
#Step 2: Plug AMBE Chip(s) into computer or Raspi-pi.
|
# 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 3: Run this script on the computer with the ambe chips pluged in.
|
# Step 2: Plug AMBE Chip(s) into computer or Raspi-pi.
|
||||||
#Step 4: Reboot after installation.
|
# 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 status ambed #to show the status
|
||||||
# systemctl stop ambed #to stop ambed
|
# systemctl stop ambed #to stop ambed
|
||||||
# systemctl start ambed #to start ambed
|
# systemctl start ambed #to start ambed
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=root
|
||||||
Group=root
|
Group=root
|
||||||
ExecStartPre=-/sbin/rmmod ftdi_sio
|
ExecStartPre=-/sbin/rmmod ftdi_sio
|
||||||
ExecStartPre=-/sbin/rmmod usb_serial
|
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
|
ExecStart=/ambed/ambed 127.0.0.1
|
||||||
Restart=on-abnormal
|
Restart=on-abnormal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue