On 25 January 2018 at 00:44, Bruce Dubbs <bruce.du...@gmail.com> wrote:

> 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.
>
> How prescient, I'm just working on a ppp script myself.  If Internet
access over 3G/4G is required then ppp is essential.

I've recently had issues with the broadband connection from my ISP.  In
security terms, an internet connection is essential for me as it enables me
to access my CCTV images whilst I'm away from home.  In response to this
recent failure I'm working on a script that samples the eth0 (broadband)
connection, and if it drops out then the system switches to a Huawei E3531
dongle with a giffgaff SIM installed. This gives me a failover solution
whilst the broadband connection is reinstated.

Richard
-- 
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