Projects / ppp / Comments

Comments for ppp

27 Sep 2011 13:24 FxIII

Is there any way to avoid the ppp to ask for a ms-dns and wins when connecting to an ISP?

08 Nov 2007 19:34 cheako

A new version?
The [1]changelog Reports that in ppp-2.4.4!? "* Lots of bugs fixed, particularly in the area of demand-dialled and persistent connections."

I think this is worth a look, perhaps it's time to release this code...

The [2]main page reports "The latest version of ppp is version 2.4.3, released on 14 November 2004."

Looking at Debian Stable, 2.4.4rel-8. So now even FM has current information.

1. http://www.samba.org/ppp/README.html

2. http://www.samba.org/ppp/

23 Mar 2007 06:10 bernie74

Project abandoned?
pppd appears to have been unmaintained for 2 years already.

Is anybody willing to step forward and adopt this codebase?

26 May 2005 14:48 linlin

Re: pppd 3.4.3 with rp-pppoe and demand fails to reconnect

Same with me, same log characteristics:

retry in the same second of termination, but immediate modem hangup.

After downgrading from 2.4.3 of Suse9.3 to
2.4.2 of Suse9.2 it works like I was used to before,

i.e. on demand reconnect works.

06 Dec 2004 16:12 uholeschak

pppd 3.4.3 with rp-pppoe and demand fails to reconnect
Hallo,

after using pppd 2.4.2 for a while with rp-pppoe.so (DSL) in demand mode i have now upgraded to pppd 2.4.3. At first the connect works well, but after the automatic 24 hours disconnect by Deutsche Telekom the reconnect failes. The reconnect not only fails sometimes but definitely every time the disconnect occurs. Here is what i see in the syslog during the dis/reconnect:

--------------------------------

Dec 7 00:48:33 router pppd[3973]: rcvd [LCP TermReq id=0xa] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

Dec 7 00:48:33 router pppd[3973]: LCP terminated by peer

Dec 7 00:48:33 router pppd[3973]: Connect time 1440.1 minutes.

Dec 7 00:48:33 router pppd[3973]: Sent 4880390 bytes, received 10668259 bytes.

Dec 7 00:48:33 router pppd[3973]: Script /etc/ppp/ip-down started (pid 24700)

Dec 7 00:48:33 router pppd[3973]: Couldn't increase MTU to 1500

Dec 7 00:48:33 router pppd[3973]: Couldn't increase MRU to 1500

Dec 7 00:48:33 router pppd[3973]: sent [LCP TermAck id=0xa]

Dec 7 00:48:34 router kernel: SuSE-FW-ACCEPTIN=eth1 OUT= MAC=00:c1:26:02:54:d1:00:01:36:06:83:c7:08:00 SRC=192.168.42.242 DST=192.168.42.240 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=14080 DF PROTO=TCP SPT=1033 DPT=139 WINDOW=32767 RES=0x00 SYN URGP=0 OPT (020405B4)

Dec 7 00:48:35 router SuSEfirewall2: Firewall customary rules loaded from /etc/rc.config.d/firewall2-custom.rc.config

Dec 7 00:48:36 router pppd[3973]: Connection terminated.

Dec 7 00:48:37 router pppd[3973]: PADS: Service-Name: ''

Dec 7 00:48:37 router pppd[3973]: PPP session is 3313

Dec 7 00:48:37 router pppd[3973]: using channel 3

Dec 7 00:48:37 router pppd[3973]: Connect: ppp0 <--> eth0

Dec 7 00:48:37 router pppd[3973]: Couldn't increase MTU to 1500

Dec 7 00:48:37 router pppd[3973]: Couldn't increase MRU to 1500

Dec 7 00:48:37 router pppd[3973]: sent [LCP ConfReq id=0x2 <magic 0x2842ff03>]

Dec 7 00:48:37 router pppd[3973]: Modem hangup

--------------------------------

My option file i use for dsl connect looks like:

--------------------------------

lock

local

nocrtscts

noauth

# configurred by iptables

#mru 1480

#mtu 1480

name "xxxxxxxxxxxxxxxxxxxx"

defaultroute

noipdefault

ipcp-accept-local

ipcp-accept-remote

below

debug

kdebug 7

hide-password

lcp-echo-interval 5

lcp-echo-failure 3

demand

persist

idle 0

nodetach

usepeerdns

unit 0

--------------------------------

with "plugin rp-pppoe.so" set in the global options file.

This seems to be a new bug in pppd 2.4.3, since it works well with pppd 2.4.2 ...

Ulrich

03 Jan 2004 19:50 ribbo78

Re: MPPC

> I miss support of MPPC in pppd. :-( No
> one really need it?? Short description
> of MPPC can be found here
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113t/113t_3/mppc.htm

Can't you use the included BSD or Deflate compression? Besides I'd much prefer the inclusion of a standard like RFC2509 - IP Header Compression over PPP for TCP/UDP/RTP http://www.faqs.org/rfcs/rfc2509.html

12 Nov 2003 10:34 jzavgren

The RADIUS plugin has been broken by chap-new.c
Greetings:

I have been trying to use pppd-2.4.2b3 with RADIUS authentication.

The chap-new.c code and the ./plugins/radius/radius.c code are incompatible because the chap authentication hook names are no longer compatible with the hook names in the radius plugin.

Even though pppd announces via the syslog that it loads the radius.so plugin, RADIUS authentication doesn't occur because the name of the chap authentication hook in chap.c is chap_verify_hook:


if (chap_verify_hook)
verifier = chap_verify_hook;
else
verifier = chap_verify_response;
ok = (*verifier)(name, ss->name, id, ss->digest,
ss->challenge + PPP_HDRLEN +
CHAP_HDRLEN,
response, message, sizeof(message));


But, the "hooks" that are defined in the radius plugin are:


pap_check_hook = radius_secret_check;
pap_auth_hook = radius_pap_auth;

chap_check_hook = radius_secret_check;
chap_auth_hook = radius_chap_auth;

ip_choose_hook = radius_choose_ip;
allowed_address_hook = radius_allowed_address;

CHAP authentication still functions, but it is based entirely on secrets in the /etc/ppp/chap-secrets file, because RADIUS procedures are never invoked.

Has anyone fixed this?

I need a version of pppd that simultaneously supports kernel-mode pppoe and RADIUS authentication. (And, preferrably MPPE and the various flavors of Microsoft CHAP.)

Thanks!

RSVP
John Zavgren
john@zavgren.com

03 May 2002 20:55 nasko

ppp connection drop at 03:00
my ppp connection cannot live more than 24h!!! every time it drop at 03:00 am !!!
Anyone pleace tell me what is the problem

02 Feb 2002 23:53 shoaibr

Problem with pppd 3.5 on Solaris 8 x86
Hello,

Well am not able to get connected to my ISP using pppd. I got the following debuging info from the logs. It do all the PAP authentication very well.

Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] rcvd [IPCP ConfNak id=0x1 <addr 202.87.125.236>]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] sent [IPCP ConfReq id=0x2 <addr 202.87.125.236> <compress VJ 0f 01>]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] rcvd [IPCP ConfAck id=0x2 <addr 202.87.125.236> <compress VJ 0f 01>]
Feb 2 20:52:46 solthunder pppd[595]: [ID 586781 daemon.error] Couldn't mark interface up (set): No such device or address
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] sent [IPCP TermReq id=0x3 "Interface configuration failed"]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] rcvd [IPCP TermAck id=0x3]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] sent [LCP TermReq id=0x2 "No network protocols running"]
Feb 2 20:52:46 solthunder pppd[595]: [ID 702911 daemon.debug] rcvd [LCP TermAck id=0x2]
Feb 2 20:52:46 solthunder pppd[595]: [ID 278795 daemon.notice] Connection terminated.
Feb 2 20:52:47 solthunder pppd[595]: [ID 834084 daemon.info] Exit.


Can anyone tell me why it can't setup the interface.

Thank You

18 Dec 2001 23:09 vandy

Re: Dial-on-demand

> can someone please email me telling me
> how if it is possible to setup a dial on
> demand ppp device, using my modem
> link.
>
> Thanks.
>
> Andrew

Additionally, this is also supported within pppd through putting the 'demand' in /etc/ppp/options or the appropriate file for your connection and then, of course, you could utilise wvdial in chat mode. See the man page for more info.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.