• Problem with rp-pppoe pppoe-stop on a faster system

    From Lew Pitcher@lew.pitcher@digitalfreehold.ca to alt.os.linux.slackware on Sat Jun 28 23:36:10 2025
    From Newsgroup: alt.os.linux.slackware

    For years, I've run my PPPoE over ADSL internet connection using the standard Slackware pppd and rp-pppoe packages. Recently, I noticed that, when shutting down the PPPoE connection, pppd neglects to run the /etc/ppp/ip-down script.
    I know that this used to work, and I've been trying to determine why it no longer works. Today, I discovered why.

    A couple of years ago, I upgraded to a faster machine, and (as I try to keep the PPPoE session up 24/7), I haven't had a lot of opportunity to exercise
    the PPPoE shutdown. There is a timing issue with the supplied pppoe-stop script that causes pppd to terminate before it can successfully complete the ip-down script. Specifically, pppoe-stop
    kills pppd, then
    kills pppoe-connect, then
    kills pppd again (kill -9) "in case it's still hanging around"

    on an older machine, in the time it takes to kill pppoe-connect, pppd properly executes the /etc/ppp/ip-down script and terminates. However, on this new, faster
    system, that "kill pppoe-connect" step completes before pppd can complete it's termination process. The /second/ "kill pppd" kills pppd completely, and it never
    gets to run the ip-down script.

    My immediate workaround for this is to patch the /usr/sbin/pppoe-stop script to include a time delay before the second "kill pppd", to permit pppd to properly shut down. However, I will look for a better solution, and post it here if anyone is interested in it.

    HTH anyone with similar issues
    --
    Lew Pitcher
    "In Skills We Trust"
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lew Pitcher@lew.pitcher@digitalfreehold.ca to alt.os.linux.slackware on Sun Jun 29 01:36:30 2025
    From Newsgroup: alt.os.linux.slackware

    On Sat, 28 Jun 2025 23:36:10 +0000, Lew Pitcher wrote:

    For years, I've run my PPPoE over ADSL internet connection using the standard Slackware pppd and rp-pppoe packages.
    [snip]

    So, I guess that it's finally time to switch to pppd and kernel-mode pppoe
    Only a decade or so late, as usual :-)
    --
    Lew Pitcher
    "In Skills We Trust"
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Doe@john.doe@myemail.invalid to alt.os.linux.slackware on Thu Jul 3 01:55:54 2025
    From Newsgroup: alt.os.linux.slackware

    1. who uses ADSL in 2025?

    2. who uses ADSL without a router?


    Fucking Retard!


    On Jun 28, 2025 at 7:36:10rC>PM EDT, "Lew Pitcher" <lew.pitcher@digitalfreehold.ca> wrote:

    For years, I've run my PPPoE over ADSL internet connection using the standard Slackware pppd and rp-pppoe packages. Recently, I noticed that, when shutting down the PPPoE connection, pppd neglects to run the /etc/ppp/ip-down script. I know that this used to work, and I've been trying to determine why it no longer works. Today, I discovered why.

    A couple of years ago, I upgraded to a faster machine, and (as I try to keep the PPPoE session up 24/7), I haven't had a lot of opportunity to exercise the PPPoE shutdown. There is a timing issue with the supplied pppoe-stop script
    that causes pppd to terminate before it can successfully complete the ip-down script. Specifically, pppoe-stop
    kills pppd, then
    kills pppoe-connect, then
    kills pppd again (kill -9) "in case it's still hanging around"

    on an older machine, in the time it takes to kill pppoe-connect, pppd properly
    executes the /etc/ppp/ip-down script and terminates. However, on this new, faster
    system, that "kill pppoe-connect" step completes before pppd can complete it's
    termination process. The /second/ "kill pppd" kills pppd completely, and it never
    gets to run the ip-down script.

    My immediate workaround for this is to patch the /usr/sbin/pppoe-stop script to
    include a time delay before the second "kill pppd", to permit pppd to properly
    shut down. However, I will look for a better solution, and post it here if anyone is interested in it.

    HTH anyone with similar issues
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lew Pitcher@lew.pitcher@digitalfreehold.ca to alt.os.linux.slackware on Thu Jul 3 03:23:09 2025
    From Newsgroup: alt.os.linux.slackware

    On Thu, 03 Jul 2025 01:55:54 +0000, John Doe wrote:
    [snip]

    Oh, sonny. /Real/ pro's run their own servers.

    Come back when your mommy lets you out of your diapers.
    --
    Lew Pitcher
    "In Skills We Trust"
    --- Synchronet 3.21d-Linux NewsLink 1.2