Installing Accel-ppp on Ubuntu 18

On the test I will install Accel-ppp in Ubuntu Server 18.04.
I downloaded from the official site “ubuntu-18.04.2-live-server-amd64”.

After installing the system, update it and reboot if the kernel is updated:

sudo apt update
sudo apt upgrade
sudo reboot

Install the necessary components:

sudo apt install linux-headers-`uname -r` build-essential cmake libnl-3-dev libnl-utils libssl-dev libpcre3-dev libnet-snmp-perl libtritonus-bin lua5.1 liblua5.1-0-dev snmp git libelf-dev

I noticed on some versions of Ubuntu 18 that lua5.1 is not installed, in this case we will add a repository:

sudo add-apt-repository universe

Or you can install, for example, lua5.3 liblua5.3-dev and specify during the build:


If on this system Accel-ppp was previously collected from sources not in the /usr directory, then we will find the files and delete:

which accel-pppd
which accel-cmd
rm /dir/file

Download the new Accel-ppp source code:

cd /opt/
sudo git clone git:// accel-ppp-code

And install it from the package in /usr:

sudo mkdir /opt/accel-ppp-code/build
cd /opt/accel-ppp-code/build
sudo make
sudo cpack -G DEB
sudo dpkg -i accel-ppp.deb

In the /etc/modules file, specify the necessary modules:


Let’s do the optimization:

cp /lib/systemd/network/ /root/
rm /lib/systemd/network/
cp /lib/udev/rules.d/99-systemd.rules /root/
nano /lib/udev/rules.d/99-systemd.rules

Installation is complete, copy the sample configuration file, edit it for your own needs and run:

sudo cp /etc/accel-ppp.conf.dist /etc/accel-ppp.conf
sudo nano /etc/accel-ppp.conf
sudo systemctl start accel-ppp

Check if Accel-ppp is running:

sudo ps ax|grep accel
sudo systemctl status accel-ppp
sudo netstat -tulpn | grep :67
sudo netstat -tulpn | grep :2000
sudo netstat -tulpn | grep :2001
sudo netstat -tulpn | grep :3799

Check whether Accel-ppp launch is enabled when the operating system starts and will be turned on if necessary:

sudo systemctl is-enabled accel-ppp.service
sudo systemctl enable accel-ppp.service

See also my articles:
Installing Accel-ppp on Ubuntu 20.04 LTS
How to disable auto-update on Ubuntu 18
Time sync on Ubuntu 18.04
Accel-ppp installation
How to update accel-ppp

Leave a comment

Leave a Reply