Re: [PATCH] PPPD problems in persist mode with new kernel ppp driver

Mr. James W. Laferriere (babydr@baby-dragons.com)
Sun, 15 Aug 1999 22:24:54 -0700 (PDT)


Hello Vladimir, This patch finnally allowed me to connect
to my provider using 2.3.13+ . It also -seems- to allow for
a more even thru-put under 2.0.37+ .
The pppstats reported thru-put shows a bit more evenness in the
reported numerics . on a I-modem single channel connection
under 2.1.33+(the patch) the numerics range from 37500 - 40000
normally , But still will drop off to almost nothing occasionally
(or even stop:-() , but under 2.0.37+ without the patch the
numerics were all over the place the highest they ever got were
41500+/- . Also all numerics are download only . When there is
a glitch in the numerics there is not an increase in out-bound
traffic , So I beleive that outbound traffic shouldn't be an
issue at this time . Tnx again, JimL

On Sun, 15 Aug 1999, Vladimir Chernyshov wrote:
> Hello people!
> pppd-2.3.9 (release) and pppd-2.3.9-pre1 fails to work in
> 'persist' mode with new ppp driver (kernels 2.3.13+). During
> the first attempt to reestablish PPP it exits:
> [...]
> Aug 14 00:53:04 greengrass pppd[3243]: Hangup (SIGHUP)
> Aug 14 00:53:10 greengrass pppd[3243]: Connection terminated.
> Aug 14 00:53:10 greengrass pppd[3243]: Connect time 1.1 minutes.
> Aug 14 00:53:10 greengrass pppd[3243]: Sent 626 bytes, received 743 bytes.
> Aug 14 00:53:10 greengrass pppd[3243]: tcflush failed: Input/output error
> Aug 14 00:53:46 greengrass pppd[3243]: Serial connection established.
> Aug 14 00:53:46 greengrass pppd[3243]: Couldn't create new ppp unit: Invalid argument
> Aug 14 00:53:47 greengrass pppd[3243]: tcsetattr: Invalid argument
> Aug 14 00:53:47 greengrass pppd[3243]: Exit.
> Here is a proposed patch to pppd-2.3.9 (release), that solves this
> problem, while retaining pppd ability to work both with new and
> old kernel's ppp driver. 'demand' mode is not tested, but expected
> to work. The patch should be applied after ppp-2.3.9-patch1 (found
> at the official pppd ftp site).
> Vladimir
> P.S. please CC replies to originating email address.
...snip...
+-----------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 25416 22nd So | Give me Linux |
| babydr@baby-dragons.com | DesMoines WA 98198 | only on AXP |
+-----------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/