Tim Tassonis wrote:
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.

I personally have no interest. What do you use ppp to do? AFAIK it is ancient technology.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to