Table of Contents

Compile Accel-ppp on OpenWrt

Getting the code

#Do this under the openwrt directory 
cd openwrt
./scripts/feeds install libpcre 
./scripts/feeds install libopenssl 
./scripts/feeds install libpthread 
./scripts/feeds install librt 
./scripts/feeds install libatomic 
./scripts/feeds install libucontext 
./scripts/feeds install kmod-sched-core 
./scripts/feeds install kmod-pptp 
./scripts/feeds install kmod-pppoe 
./scripts/feeds install kmod-ppp
#Do this in the working directory e.g. cd 23.05.0 (on the same level as the openwrt directory)
git clone https://github.com/RADIUSdesk/openwrt-meshdesk.git openwrt-meshdesk

Adding the package

#cd to the working directory
cp -R ./openwrt-meshdesk/openwrt-accel-ppp ./openwrt/package 

Selecting the package

Ensuring smooth startup

function rdAccel.__prepAccel(self)
   os.execute('/etc/init.d/accel-ppp disable');
   os.execute('mkdir /var/log/accel-ppp');
   os.execute('ln -s /usr/lib/accel-ppp/libconnlimit.so /usr/lib');
   os.execute('ln -s /usr/lib/accel-ppp/libvlan-mon.so  /usr/lib');
   os.execute('ln -s /usr/lib/accel-ppp/libradius.so   /usr/lib');
end