Update wiki for current FreeDMR1 behavior authored by Simon's avatar Simon
...@@ -10,7 +10,7 @@ For a one-shot install on a Debian or Debian-based system, paste this into the t ...@@ -10,7 +10,7 @@ For a one-shot install on a Debian or Debian-based system, paste this into the t
(sorry Ubuntists, we don't sudo on every line! - su (or sudo) to root like a real sysadmin ;-) ) (sorry Ubuntists, we don't sudo on every line! - su (or sudo) to root like a real sysadmin ;-) )
`curl https://gitlab.hacknix.net/hacknix/FreeDMR/-/raw/master/docker-configs/docker-compose_install.sh | bash` `curl -fsSL https://gitlab.hacknix.net/hacknix/FreeDMR/-/raw/master/docker-configs/docker-compose_install.sh | bash`
This works on Debian 10, 11, PiOs (Raspbian) and recent Ubuntu systems, on other flavours, you may need to follow the process below. This works on Debian 10, 11, PiOs (Raspbian) and recent Ubuntu systems, on other flavours, you may need to follow the process below.
...@@ -28,13 +28,23 @@ A change needs to be made to the docker config for openbridge to work correctly: ...@@ -28,13 +28,23 @@ A change needs to be made to the docker config for openbridge to work correctly:
`systemctl restart docker` `systemctl restart docker`
## Grab and edit the config file ## Get and edit the maintained config file
Get the file: [freedmr.cfg](https://gitlab.hacknix.net/hacknix/FreeDMR/-/blob/93a3fc244338ebc5c5a79ecd55e167fa519afd68/docker-configs/freedmr.cfg) Get the current minimal configuration: [FreeDMR.cfg](https://gitlab.hacknix.net/hacknix/FreeDMR/-/blob/master/FreeDMR.cfg)
`mkdir /etc/freedmr` `mkdir -p /etc/freedmr`
place the freedmr.cfg file in this directory. Install it as `/etc/freedmr/freedmr.cfg`, then edit the server ID, FBP/OBP peer and local HBP settings for your deployment. The one-shot installer performs this download automatically. It uses the maintained repository file rather than carrying a separate embedded configuration.
The current sample includes independent slot defaults and network direct dial:
```ini
DEFAULT_DIAL_TS1: 0
DEFAULT_DIAL_TS2: 0
NETWORK_DIRECT_DIAL_SLOT: 1
```
See [Homebrew Protocol OPTIONS](Homebrew-Protocol-OPTIONS) for per-client session settings and [Current FreeDMR 1.x release notes](Current-FreeDMR-1.x-release-notes) for compatibility notes.
## Make rules file ## Make rules file
...@@ -48,13 +58,13 @@ place the freedmr.cfg file in this directory. ...@@ -48,13 +58,13 @@ place the freedmr.cfg file in this directory.
`chmod 755 /etc/freedmr -R` `chmod 755 /etc/freedmr -R`
## create /etc/freedmr/docker-compose.yml ## Create /etc/freedmr/docker-compose.yml
Download the file here: [docker-compose.yml](https://gitlab.hacknix.net/hacknix/FreeDMR/-/raw/master/docker-configs/docker-compose.yml) Download the file here: [docker-compose.yml](https://gitlab.hacknix.net/hacknix/FreeDMR/-/raw/master/docker-configs/docker-compose.yml)
## Add network tuning ## Add network tuning
Add the following to the end if /etc/sysctl.conf: Add the following to the end of `/etc/sysctl.conf`:
``` ```
net.core.rmem_default=134217728 net.core.rmem_default=134217728
...@@ -70,7 +80,7 @@ Run command: ...@@ -70,7 +80,7 @@ Run command:
`sysctl -p` `sysctl -p`
\#Run Freedmr ## Run FreeDMR
`cd /etc/freedmr` `cd /etc/freedmr`
... ...
......