James Cameron | 1 Jan 2004 23:53
Picon
Favicon

CVS 20040201, "Terminating on signal 2" loop

I was just giving PPP in CVS a test run, started a connection through a
pty, which established normally, and then pressed Control/C.  pppd then
reported "Terminating on signal 2." 10376 times and segfaulted.

Quite reproducible.  So I did an strace and looked at the source.  On
receipt of a SIGINT from Control/C, term() calls kill_my_pg() to signal the
process group.

It appears that despite kill_my_pg() calling sigaction() to ignore the
signal being resent to the process group, the kernel sends pppd a SIGINT
again.

667   --- SIGINT (Interrupt)  <at>  0 (0) ---
667   time([1072996209])                = 1072996209
667   getpid()                          = 667
667   rt_sigaction(SIGPIPE, {0x4013ebe0, [], SA_RESTORER, 0x40094498},
{SIG_IGN}
, 8) = 0
667   send(3, "<30>Jan  2 09:30:09 pppd[667]: T"..., 55, 0) = 55
667   rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
667   write(2, "Terminating on signal 2.", 24) = 24
667   write(2, "\n", 1)                 = 1
667   rt_sigaction(SIGINT, {SIG_IGN}, {0x8050290, [HUP INT USR2 TERM
CHLD], SA_R
ESTORER, 0x40094498}, 8) = 0
667   kill(0, SIGINT)                   = 0
667   rt_sigaction(SIGINT, {0x8050290, [HUP INT USR2 TERM CHLD],
SA_RESTORER, 0x
40094498}, NULL, 8) = 0
667   rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
(Continue reading)

Eble, Dan | 2 Jan 2004 17:57

RE: LCP packet priority

Paul Mackerras writes,
> However, when a data packet comes along we try to give it to the
> channel even if there are packets in the channel queue already.  I
> think we should hold off trying to send a data packet if there are
> packets waiting in the channel queue.  The patch below should do that.

Thanks Paul.  Your patch was beneficial, but it didn't completely hide the
problems in our serial driver. ;-)  I will use your patch *and* change our
serial driver.

Thank you also for answering my question about ppp_write() being the place
to set skb->priority for control packets.  If ppp_write() handles traffic
from the daemon only, it seems resonable to set TC_PRIO_CONTROL for
everything passing through it.

--

-- 
Dan Eble <dane <at> aiinet.com>  _____  .
                           |  _  |/|
Applied Innovation Inc.    | |_| | |    "All Protocols MUST be odd"
http://www.aiinet.com/     |__/|_|_|      -- RFC 1661 (PPP)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Sebastien Hugues | 6 Jan 2004 20:52

LCP terminated by peer

Hi,

I want a GPRS connection throught bluetooth and my Nokia 3650 but it 
doesn't
work. Ppp logs are:

pppd 2.4.1 started by root, uid 0
Serial connection established.
using channel 13
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6208c48e> <pcomp> <accomp>]
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0x6208c48e> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [LCP TermReq id=0x2]
LCP terminated by peer
sent [LCP TermAck id=0x2]
Connection terminated.
Couldn't release PPP unit: Invalid argument
Serial link disconnected.
(Continue reading)

Bill Unruh | 6 Jan 2004 20:34
Picon
Picon

Re: LCP terminated by peer

On Tue, 6 Jan 2004, Sebastien Hugues wrote:

> Hi,
> 
> I want a GPRS connection throught bluetooth and my Nokia 3650 but it 
> doesn't

Put in noccp into the ppp/options file, and set up your pap-secrets file
properly and use the 
user username
where username is your name on the remote ppp host and in the
pap-secrets file.

> sent [LCP ConfRej id=0x0 <auth pap>]

You reject pap. why?

> sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]

You ask for compressions that noone but a linux box would be able to
use. Why?
> my ppp options:
> noauth
> local
> notty
> defaultroute
> nodetach
> nocrtscts

why do you have no hardware flow control?
(Continue reading)

Mondal Atanu (IFIN DC COM | 9 Jan 2004 05:55

libatm files required ...

Hi,
Can somebody give me a link to pickup proper libatm files.. for PPPoA. My
text2atm funtion is not working
properly and am getting an error in processing the options.

Regards
Atanu

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Fulano | 14 Jan 2004 05:15

Modern way of losing widespread we;ght natural backplanes

Hello terms,

At last you have an opportunity to purchase good directly from manufactures. You save your money
purchasing quality products from our plant's store.
Today we present you FatBlast product.

What is FatBlast actually?

Fatblast is an advanced fat-binding supplement that removes fat from the foods you eat!
Formulated with the powerful fat-binding fiber Chitosan, the proprietary blend of all-natural compounds...

Our corporation was the first one who started selling this product on
the web in the year 2004. Try our FDA approved product tday Mukden

Read about our dscounts and special bonses:
http://www.raiseyourpower.com/fly/index.php?pid=pharmaboss

payroll stewed Whittier brainstorm, additional winces bronze uplands Charley trains yielding gambling
develop augmented Airbus totaller Shiloh.

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Mondal Atanu (IFIN DC COM | 14 Jan 2004 16:42

running pppd-2.4.2b3 with pppoatm plugin

Hi,
I am trying to run pppd with pppoatm plugin. The setdevname* function in the
pppoatm.c(user space) is called twice
while parsing the option file.. once with doit value as 0 and next time with
doit value as 1. Can somebody
tell me any reason why it is so.. There is no check on the doit variable as
such in the function. So in the
first call itself the dev gets set, and in the next call of the function it
returns an error. So now I have put a check and
returning a 1 without doing anything if doit value is zero... and entering
the function if doit value is 1.

I have other problems facing in terms of setting the mtu value etc. Can
somebody give any patch or a link which says
how to run this correctly.

Thanking in advance..

Regards
Atanu Mondal
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Clive Nicolson | 14 Jan 2004 23:26
Picon

Re: running pppd-2.4.2b3 with pppoatm plugin

Hi Atanu.Mondal,

Where did you get pppoatm.c from? I have a version of pppoatm.c in which 
doit is checked in setdevname, but I've not used it with pppd-2.4.2b3, 
only something slighly older (2,4,2b1). Would you like a copy?

Clive

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Paul Mackerras | 16 Jan 2004 07:28
Picon
Favicon

ppp-2.4.2 released

I have just released ppp-2.4.2, available at either:

ftp://ftp.samba.org/pub/ppp/ppp-2.4.2.tar.gz

or

http://ftp.samba.org/ftp/ppp/ppp-2.4.2.tar.gz

It's been a long time since the last release.  Hopefully the next
release won't take as long.  This release fixes a lot of bugs and adds
several new features.

From the README:

What's new in ppp-2.4.2.
************************

* The CHAP code has been rewritten.  Pppd now has support for MS-CHAP
  V1 and V2 authentication, both as server and client.  The new CHAP
  code is cleaner than the old code and avoids some copyright problems
  that existed in the old code.

* MPPE (Microsoft Point-to-Point Encryption) support has been added,
  although the current implementation shouldn't be considered
  completely secure.  (There is no assurance that the current code
  won't ever transmit an unencrypted packet.)

* James Carlson's implementation of the Extensible Authentication
  Protocol (EAP) has been added.

(Continue reading)

Mondal Atanu (IFIN DC COM | 16 Jan 2004 07:45

RE: running pppd-2.4.2b3 with pppoatm plugin

Hi Clive,
I have got the path from http://www.sfgoth.com/~mitch/linux/atm/pppoatm/ and
have take the Dennis Monks contribution of pppoatm.c. the file itself is
available in the link
http://www.sfgoth.com/~mitch/linux/atm/pppoatm/pppoatm.c-for-2.4.2b3. The
only reason why I took it is because it uses the plugin capability of the
pppd-2.4.2b3 and seems to be more generic in nature... I need to have both
pppoe and pppoatm
capability simultaneously, so a plugin is more suitable than a monolithic
code.

If you can forward ur pppoatm.c version, it would be really helpful. Also if
you can, please send me the link from where you have obtained
the file.

Thanking you in advance.

Regards
Atanu

-----Original Message-----
From: linux-ppp-owner <at> vger.kernel.org
[mailto:linux-ppp-owner <at> vger.kernel.org] On Behalf Of Clive Nicolson
Sent: Thursday, January 15, 2004 3:57 AM
To: linux-ppp <at> vger.kernel.org
Cc: Clive Nicolson
Subject: Re: running pppd-2.4.2b3 with pppoatm plugin

Hi Atanu.Mondal,

(Continue reading)


Gmane