Installing Accel-ppp on Ubuntu 20.04 LTS

For example, I will install Accel-ppp on Ubuntu Server 20.04 LTS.

Update the system and reboot if the kernel was updated:

sudo apt update
sudo apt upgrade
sudo reboot

Switch to the root user and install the necessary components:

sudo -i
apt-get install -y build-essential cmake gcc linux-headers-`uname -r` git libpcre3-dev libssl-dev liblua5.1-0-dev

Download Accel-ppp:

git clone /opt/accel-ppp-code

Let’s install:

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

Load the necessary kernel modules:

lsmod | grep ipoe
modprobe ipoe
cp ./drivers/ipoe/driver/ipoe.ko /lib/modules/`uname -r`/kernel/net
depmod -a
cp ./drivers/vlan_mon/driver/vlan_mon.ko /lib/modules/`uname -r`/kernel/net
depmod -a
modprobe ipoe
modprobe vlan_mon
lsmod | grep ipoe
lsmod | grep vlan_mon

Let’s make them also loaded at the start of the operating system:

nano /etc/modules

Let’s edit the configuration file to suit our needs and make a test run:

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

I will give another example of a manual start:

/usr/sbin/accel-pppd -d -c /etc/accel-ppp.conf -p /var/run/
netstat -tulpn | grep accel
ps ax|grep accel
killall accel-pppd

Check if Accel-ppp is running:

ps ax|grep accel
systemctl status accel-ppp

apt install net-tools
netstat -tulpn | grep :67
netstat -tulpn | grep :2000
netstat -tulpn | grep :2001
netstat -tulpn | grep :3799

Activate Accel-ppp autorun when the operating system starts:

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

Let’s do the optimization:

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


See also my articles:
Accel-ppp installation
Installing Accel-ppp on Ubuntu 18
Install and configure accel-ppp (IPoE) for ABillS

Leave a comment

Leave a Reply