Allstar Ubuntu 16.04 w/MMDVM Bridge

apt-get update
wget http://dvswitch.org/install-allstarlink-repository
chmod +x install-allstarlink-repository
./install-allstarlink-repository
apt-get install linux-headers-uname -r -y
apt-get update
apt-get install allstarlink -y

deb http://apt.allstarlink.org/repos/asl_builds buster main
curl -s http://downloads.allstarlink.org/repos/repo_signing.key | apt-key add -
apt-get update
apt -y install linux-headers-$(uname -r)
apt -y install asl-asterisk
apt -y install allstar-helpers
apt -y install asl-dahdi

wget http://dvswitch.org/buster
chmod +x buster
./buster

apt-get install dvswitch -y

cd /usr/local/bin
wget http://theconnectdesk.com/ham/MMDVM/dmrlink/dmr
chmod +x dmr

cd /tmp
wget http://theconnectdesk.com/ham/MMDVM/dmrlink/ipscbuild
chmod +x ipscbuild
./ipscbuild

git clone https://github.com/HBLink-org/dmr_utils.git
git clone -b IPSC_Bridge http://github.com/HBLink-org/DMRlink.git
git clone -b HB_Bridge https://github.com/HBLink-org/HBlink.git

Direwolf

Before Direwolf is downloaded and compiled, we should first update our package database.
From terminal, run the following command.

sudo apt-get update

Now we need to install a library file for the ALSA sound software.
From terminal run the following command.

sudo apt-get install libasound2-dev

On to downloading, compiling, and installing Direwolf Beta.
Remembering that each line is a new command.
From terminal, run the following commands.

cd ~
git clone https://www.github.com/wb2osz/direwolf
cd direwolf
git checkout dev
make
sudo make install
make install-conf

In the box below is a generic configuration for Direwolf, which contains information on the most common settings.
The file can be found in the main directory of the users folder. Normally this will be found in /home/pi/direwolf.conf
For ease, I would recommend copying and pasting this config to your direwolf.conf file.

#Device Audio Settings
ADEVICE  plughw:0,0
ACHANNELS 1
CHANNEL 0

#Your Station Call
MYCALL N0CALL

#Packet Speed 1200 Baud
MODEM 1200

#PTT Method, GPIO, USB RTS and or DTR
#(LED Can Be Used Simultaneously With GPIO)
#PTT /dev/ttyUSB0 RTS DTR
PTT GPIO 17

#Decoding LED
DCD GPIO 27

#TNC Client Connections
AGWPORT 8000
KISSPORT 8001

#Duplicate Station Filtering In Seconds
DEDUPE 60

#Position & Comment Beacon
PBEACON delay=5 every=30 symbol="digi" lat=46^10.24N long=123^34.25W comment="Fill-in Digi/IGate"

#Status Beacon
CBEACON delay=0 every=30 info=">Portable Digi/IGate"

#Digipeat Standard WIDEn-N & State WAn-N (WA = Washington)
#DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$ ^WIDE[12]-[12]$|^WA[12]-[12]$ TRACE

#Only Direct Stations Digipeated
#FILTER 0 0 ( ! d/* )

#Bidirectional IGate Settings
#Passcode Generator / http://apps.magicbug.co.uk/passcode
IGSERVER noam.aprs2.net
IGLOGIN N0CALL 0000
IGFILTER m/50
FILTER IG 0 t/m
IGTXLIMIT 5 15
IGTXVIA 0 WIDE1-1,WIDE2-1

#Preamble, Tail, & Wait Times
TXDELAY 25
#TXTAIL 10
#DWAIT 20