RADIUSdesk

logo

This is an old revision of the document!


Installing Accel-ppp on Ubuntu 22.04

Introduction

Install Instructions

  • Install the following packages:
sudo apt-get install -y build-essential cmake gcc linux-headers-`uname -r` git libpcre3-dev libssl-dev liblua5.1-0-dev
  • Checkout the latest git source code:
sudo git clone https://github.com/accel-ppp/accel-ppp.git /opt/accel-ppp-code
  • Create directory for build source code and go to this directory.
sudo mkdir /opt/accel-ppp-code/build
cd /opt/accel-ppp-code/build/
  • Generate the Makefile:
sudo cmake -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DCMAKE_INSTALL_PREFIX=/usr -DKDIR=/usr/src/linux-headers-`uname -r` -DLUA=TRUE -DCPACK_TYPE=Ubuntu22 ..

Remember the .. at the end of the statement. It sets the path to the accel-ppp source code. Do not delete this! Alternatively you can replace it with the full path to the accel-ppp souce code like /opt/accel-ppp-code/

  • Compile
sudo make
  • Create a DEB package
sudo cpack -G DEB
  • Install the package
sudo dpkg -i accel-ppp.deb
  • If the install went OK you can use the reference config file and make it active
sudo mv /etc/accel-ppp.conf.dist /etc/accel-ppp.conf
  • We will cover a basic PPPoE server's config on its own dedicated Wiki page.
  • See if it starts up. It should start up wit the default config file
sudo systemctl start accel-ppp
sudo systemctl status accel-ppp
  • Make sure the service is enabled for start-up
sudo systemctl enable accel-ppp
  • Should you want to start the service up manually
sudo accel-pppd -d -c /etc/accel-ppp.conf -p /var/run/accel-ppp.pid
  • Next we will take a look of some of the important files that were installed with the accel-ppp.deb package

Important files