Am Donnerstag, den 25.01.2018, 01:36 +0100 schrieb Tim Tassonis: > Hi all > > > I just setup a VDSL router with LFS, adding ppp to it and then > setting > up the interface in rc.firewall. Which of course is not really > optimal... > > > As currenty, blfs seems to have no support of ppp network devices, I > was > wondering wheter blfs could include > > - an instruction to build ppp > - a simple ppp service script > > > I used the standard ppp from samba org: > > > https://download.samba.org/pub/ppp/ppp-2.4.7.tar.gz > > As bringing up a ppp interface usually requires a configfile in > /etc/ppp/peers/ with some details, the service maybe should leave > any > details away and just allow something like that: > > > ifconfig.ppp0: > > ONBOOT="yes" > IFACE="enp1s0" > PPP_IFACE="ppp0" > PEERNAME="dslprovider" > MANAGE_IFACE="yes" > > > The service script would then just call > > /usr/sbin/pppd call dslprovider > > and in case of MANAGE_IFACE="yes" > > bring up IFACE befoe, calling by > > /sbin/ip link set dev enp1s0 up > > > If there is any interest, I would provide a service script and > compile > instructions for ppp. > > > Bye > Tim
Hi Tim, i keep ppp alive in my own version of the book (https://io.ax.lt/LFS/blfs/book/basicnet/ppp.html) but it is nothing else as the file which you can find in the archive at http://wiki.linuxfromscratch.org/blfs/browser/trunk/BOOK/archive/ppp.xm l You need to go back in history to 2012 when looking for bootscripts and service files - in blfs-bootscripts-20120828.tar.bz2 they all are in. Funny enough, i just prepare to reconfigure my network and part of that reconfiguration would be a pppoe+iptables firewall... -- Thomas -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
