This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
technical:ppp-install-22-04 [2023/09/26 10:36] admin created |
technical:ppp-install-22-04 [2023/10/10 16:03] (current) admin [Introduction] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installing Accel-ppp on Ubuntu 22.04 ====== | ====== Installing Accel-ppp on Ubuntu 22.04 ====== | ||
| + | ===== Introduction ===== | ||
| + | * The Accel-ppp project has quite a lot documentation available along with forums which you can go through to gather information. | ||
| + | * Their install instructions served as a reference for the instructions on this page. | ||
| + | * https:// | ||
| + | |||
| + | ===== Install | ||
| + | * 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:// | ||
| + | </ | ||
| + | * Create directory for build source code and go to this directory. | ||
| + | < | ||
| + | sudo mkdir / | ||
| + | cd / | ||
| + | </ | ||
| + | * Generate the Makefile: | ||
| + | < | ||
| + | sudo cmake -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DCMAKE_INSTALL_PREFIX=/ | ||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 100%> | ||
| + | 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 /// | ||
| + | </ | ||
| + | |||
| + | * 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 / | ||
| + | </ | ||
| + | * We will cover a basic PPPoE server' | ||
| + | * 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 / | ||
| + | </ | ||
| + | * Next we will take a look of some of the important files that were installed with the **accel-ppp.deb** package | ||
| + | ===== Important files ===== | ||
| + | * To discover the files installed with the .deb package we issue the following: | ||
| + | < | ||
| + | sudo dpkg -L accel-ppp | ||
| + | /etc | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /etc/init.d | ||
| + | / | ||
| + | /lib | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /usr | ||
| + | /usr/bin | ||
| + | / | ||
| + | /usr/lib | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /usr/lib64 | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /usr/sbin | ||
| + | / | ||
| + | /usr/share | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /var | ||
| + | /var/log | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ===== Next Up ===== | ||
| + | * Be sure to visit the other Wiki Pages that gives you detail on how to configure Accel-ppp. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||