Kumar | 7 Apr 2005 18:20
Picon

Help

Hi,

 
I have to run linux pppd as a server and need to support many ppp
clients. I'm currently using linux pppd-2.4.2.

Would you please tell me if the linux ppp has support for multi
channels? If so, by default how many links it supports?

If we have to increase the support for more connections, what needs to
be done both in pppd and in kernel ppp?

 
I'll appreciate any help or pointers in this regard.

Thanks in advance.

Regards,

Kumar

-
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

James Carlson | 7 Apr 2005 18:29

Re: Help

Kumar writes:
> I have to run linux pppd as a server and need to support many ppp
> clients. I'm currently using linux pppd-2.4.2.
> 
> Would you please tell me if the linux ppp has support for multi
> channels? If so, by default how many links it supports?

Each pppd process supports one link, but you may have as many pppd
processes and links as your system may accomodate.

--

-- 
James Carlson                                 <carlsonj <at> workingcode.com>
-
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

Bill Unruh | 7 Apr 2005 18:42
Picon
Picon

Re: Help

Not sure what you mean. Each client must come in over their own link-- eg
you need a phone line and modem for each client (assuming they ae coming in
over phone lines). You cannot use one modem for 10 people at once.
Each link has one ppp session running it. You can have as many ppp sessions
running as you wish, one pppd for each session. 
I do not know what the limit is, probably memory.

On Thu, 7 Apr 2005, Kumar wrote:

> Hi,
>
>
> I have to run linux pppd as a server and need to support many ppp
> clients. I'm currently using linux pppd-2.4.2.
>
> Would you please tell me if the linux ppp has support for multi
> channels? If so, by default how many links it supports?
>
> If we have to increase the support for more connections, what needs to
> be done both in pppd and in kernel ppp?
>
>
> I'll appreciate any help or pointers in this regard.
>
> Thanks in advance.
>
>
> Regards,
>
> Kumar
(Continue reading)

Ramses van Pinxteren | 12 Apr 2005 11:14
Picon

pppd + ldap??

Hi,

I read on the net somewhere that ldap authentication was done by 
radius.so plugin?? if this is true, then I hope someone can help me 
with setting this plugin up?

thanks,
ramses
-
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

Ray Van Dolson | 12 Apr 2005 18:15

Re: pppd + ldap??

You would use the radius plugin to authenticate against a RADIUS server which
in turn would be configured to authenticate against LDAP.

Ray

On Tue, Apr 12, 2005 at 11:14:53AM +0200, Ramses van Pinxteren wrote:
> Hi,
> 
> I read on the net somewhere that ldap authentication was done by 
> radius.so plugin?? if this is true, then I hope someone can help me 
> with setting this plugin up?
> 
> thanks,
> ramses
-
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

Ramses van Pinxteren | 13 Apr 2005 09:43
Picon

Re: pppd + ldap??

Well, let me exactly explain what I want it to do, perhaps you, (or 
one of the list members) can point me in the right direction.

I want to get poptop (VPN) authenticate to an ldap database. so 
poptop calls pppd, who in turn connects to LDAP using one way or the 
other. Thusfar, I have seen some pages (not working ofcourse) that 
people authenticate to a samba server, that connects to ldap.

Until now I have a samba authentication server (no shares, or 
printers) that connects to LDAP, but i don't yet have a radius 
server. What is the easiest way to go? Connect to the samba server 
(running on the same machine) or setup a radius server?

And does anyone have a WORKING howto for setting up either one of them?

Thanks
ramses

>You would use the radius plugin to authenticate against a RADIUS server which
>in turn would be configured to authenticate against LDAP.
>
>Ray
>
>On Tue, Apr 12, 2005 at 11:14:53AM +0200, Ramses van Pinxteren wrote:
>>  Hi,
>>
>>  I read on the net somewhere that ldap authentication was done by
>>  radius.so plugin?? if this is true, then I hope someone can help me
>>  with setting this plugin up?
>>
(Continue reading)

Jeff Hardy | 15 Apr 2005 17:52

Re: pppd + ldap??

Lacking a radius server, it is pretty easy to configure winbind/samba to
authenticate against an existing Samba domain.  There are a number of
docs on the poptop homepage, most of them working off the info in this
great howto:

http://download.samba.org/ftp/unpacked/lorikeet/trunk/pppd/final-
report.pdf

On Wed, 2005-04-13 at 09:43 +0200, Ramses van Pinxteren wrote:
> Well, let me exactly explain what I want it to do, perhaps you, (or 
> one of the list members) can point me in the right direction.
> 
> I want to get poptop (VPN) authenticate to an ldap database. so 
> poptop calls pppd, who in turn connects to LDAP using one way or the 
> other. Thusfar, I have seen some pages (not working ofcourse) that 
> people authenticate to a samba server, that connects to ldap.
> 
> Until now I have a samba authentication server (no shares, or 
> printers) that connects to LDAP, but i don't yet have a radius 
> server. What is the easiest way to go? Connect to the samba server 
> (running on the same machine) or setup a radius server?
> 
> And does anyone have a WORKING howto for setting up either one of them?
> 
> Thanks
> ramses
> 
> 
> >You would use the radius plugin to authenticate against a RADIUS server which
> >in turn would be configured to authenticate against LDAP.
(Continue reading)

Timo Teräs | 18 Apr 2005 11:58
Picon

Detecting end of GSM datacall

Hi,

I'm currently using PPP with GSM datacalls (PC connected using Bluetooth 
to mobile phone) and it works just fine. However, if I terminate the 
phone call from my mobile phone the loss of link is not detected.

I tracked down the reason: since the PPP link is between PC and remote 
computer, the mobile phone does not send any PPP packets that the link 
is dead. Instead it just sends '\r\nNO CARRIER\r\n'. And leaves the 
Bluetooth connection in AT command mode. Thus PPP stays happily up.

This AT info is received by the PPP async driver, but it stores it and 
does not process it since PPP_FLAG is never received in ppp_async_input().

Now I'm wondering what would be the proper way to fix this?

Thanks,
   Timo
-
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

Steve Drew | 18 Apr 2005 15:25

RE: Detecting end of GSM datacall

Hi Timo,

	I've had a similar issue with the Nokia mobiles I've been using, the workaround I've used is to put

lcp-echo-interval 4
lcp-echo-failure 2

into the my /etc/ppp/options file.

steve

-----Original Message-----
From: linux-ppp-owner <at> vger.kernel.org [mailto:linux-ppp-owner <at> vger.kernel.org] On Behalf Of Timo Teräs
Sent: 18 April 2005 10:58
To: linux-ppp <at> vger.kernel.org
Subject: Detecting end of GSM datacall

Hi,

I'm currently using PPP with GSM datacalls (PC connected using Bluetooth 
to mobile phone) and it works just fine. However, if I terminate the 
phone call from my mobile phone the loss of link is not detected.

I tracked down the reason: since the PPP link is between PC and remote 
computer, the mobile phone does not send any PPP packets that the link 
is dead. Instead it just sends '\r\nNO CARRIER\r\n'. And leaves the 
Bluetooth connection in AT command mode. Thus PPP stays happily up.

This AT info is received by the PPP async driver, but it stores it and 
does not process it since PPP_FLAG is never received in ppp_async_input().
(Continue reading)

Timo Teräs | 18 Apr 2005 15:34
Picon

Re: Detecting end of GSM datacall

ext Steve Drew wrote:
> 	I've had a similar issue with the Nokia mobiles I've been using, the workaround I've used is to put
> 
> lcp-echo-interval 4
> lcp-echo-failure 2
> 
> into the my /etc/ppp/options file.

Yes, this goes as a work around if the remote server supports lcp-echo. 
It also adds slight delay to the detection of the link going down. But 
I'd really like to have a proper fix for this. Any suggestions how to do 
that?

Is my only change to modify ppp_async_input() to detect this 'NO 
CARRIER' sequence and have it generate a LCP termination packet? Or is 
there some function that can be called to terminate the PPP link? Would 
this kind of solution be accepted the official kernel tree?

Cheers,
   Timo
-
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


Gmane