fmII
Sun, Jul 27th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 00:27 UTC
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]

 ppp - Default branch
Section: Unix

 

Added: Fri, Apr 24th 1998 15:45 UTC (10 years, 3 months ago) Updated: Thu, Jan 18th 2007 00:19 UTC (1 year, 6 months ago)


About:
PPP Daemon for Linux, Solaris 2, *BSD, SunOS 4, Digital Unix, SVR4, NeXTStep, and Ultrix. This allows Unix machines to connect to the internet through dialup lines, using the PPP protocol, as a PPP server or client. Works with 'chat', 'dip', and 'diald', among (many) others. Supports IP, TCP, UDP and (for Linux) IPX (Novell).

Author:
Paul Mackerras <paulus __at__ linuxcare __dot__ com> [contact developer]

Rating:
8.29/10.00 (10 votes)

Homepage:
http://www.samba.org/ppp/
Changelog:
http://www.samba.org/ppp/README.html
CVS tree (cvsweb):
http://cvs.samba.org/cgi-bin/cvsweb/ppp/

Trove categories: [change]
[Environment]  Console (Text Based)
[Intended Audience]  End Users/Desktop
[License]  OSI Approved
[Topic]  Communications

Dependencies: [change]
No dependencies filed

 
» Rating: 8.29/10.00 (Rank N/A)
» Vitality: 0.01% (Rank 5397)
» Popularity: 9.96% (Rank 228)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 125,896
   URL hits: 114,287
   Subscribers: 156

Projects depending on this project:
DynChap
EciAdsl
Speedtouch USB ADSL Drivers
tkspeedtouch
pptp_mxstream
(Note: 8 projects depend on this one. The ones displayed are picked by a randomizer.)


Other projects from the same categories:
coNCePTuaL
Smart TCL
eFAQ
Portslave
Serendipity

Users who subscribed to this project also subscribed to:
X11
GNU inetutils
Gtk+ MySQL Command Center
nget
mhWaveEdit


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Default 2.4.3 19-Nov-2004 OSI Approved Homepage Changelog
Development 2.4.2b3 03-Sep-2003 OSI Approved Homepage

 Articles referencing this project

 Comments

[»] A new version?
by Mike Mestnik - Nov 8th 2007 19:34:26

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/

[reply] [top]


[»] Project abandoned?
by bernie - Mar 23rd 2007 06:10:07

pppd appears to have been unmaintained for 2 years already.

Is anybody willing to step forward and adopt this codebase?

--
Bernardo Innocenti - UNIX/Linux/Amiga developer

[reply] [top]


[»] pppd 3.4.3 with rp-pppoe and demand fails to reconnect
by Ulrich Holeschak - Dec 6th 2004 16:12:42

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

[reply] [top]


    [»] Re: pppd 3.4.3 with rp-pppoe and demand fails to reconnect
    by linlin - May 26th 2005 14:48:48

    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.

    [reply] [top]


[»] The RADIUS plugin has been broken by chap-new.c
by John Zavgren - Nov 12th 2003 10:34:33

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

[reply] [top]


[»] ppp connection drop at 03:00
by Nasko - May 3rd 2002 20:55:58

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

--

[reply] [top]


[»] Problem with pppd 3.5 on Solaris 8 x86
by shoaib - Feb 2nd 2002 23:53:10

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

[reply] [top]


[»] ip-up script
by Bob - Sep 27th 2000 11:30:39

it's just occured to me that ppp 2.4.0 isn't running /etc/ppp/ip-up - is there something in the docs that I've missed?

[reply] [top]


[»] MPPC
by Petr Slansky - Jun 1st 2000 17:01:44

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

[reply] [top]


    [»] Re: MPPC
    by Peter Robinson - Jan 3rd 2004 19:50:02


    > 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

    [reply] [top]


[»] Dial-on-demand
by Andrew Reid - Sep 21st 1999 02:33:17

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

[reply] [top]


    [»] Re: Dial-on-demand
    by Meir Kriheli - Mar 22nd 2001 18:16:40


    > 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

    Sure you can, use diald. See here
    <A>http://freshmeat.net/projects/diald/</a>

    --
    Kriheli Meir MKsoft computer systems there's somone in my head but it's not me = Pink Floyd

    [reply] [top]


    [»] Dial-on-demand and hanging up
    by Claas - Apr 16th 2001 04:43:09

    Hi, I am using dial on demand with the pppoe-4. I hang up after 10 minutes of idle. Is it possible to run a script before hanging up? (Ip-down is run after hanging up.) It shall be a script to prepare to go offline. It would set my dhs.org dynamic IP to offline/disabled. Please mail me an answer (if you know one.)

    [reply] [top]


    [»] Re: Dial-on-demand
    by Michael v/d Kolff - Dec 18th 2001 23:09:35


    > 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.

    [reply] [top]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  Linux.com •  SourceForge.net  •  Jobs