From owner-freebsd-net Thu Dec 17 07:10:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06972 for freebsd-net-outgoing; Thu, 17 Dec 1998 07:10:53 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA06966 for ; Thu, 17 Dec 1998 07:10:52 -0800 (PST) (envelope-from Jean-Marc.Fenart@France.Sun.COM) Received: from France.Sun.COM ([129.157.188.1]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id HAA15483 for ; Thu, 17 Dec 1998 07:10:38 -0800 Received: from sunchorus.france.sun.com by France.Sun.COM (SMI-8.6/SMI-SVR4-sd.fkk200) id QAA26773 for ; Thu, 17 Dec 1998 16:10:35 +0100 Received: from bagana.France.Sun.COM by sunchorus.france.sun.com (SMI-8.6/SMI-SVR4) id QAA23487; Thu, 17 Dec 1998 16:10:34 +0100 Received: from bagana by bagana.France.Sun.COM (SMI-8.6/SMI-SVR4) id QAA29170; Thu, 17 Dec 1998 16:09:09 +0100 Message-Id: <199812171509.QAA29170@bagana.France.Sun.COM> Date: Thu, 17 Dec 1998 16:09:09 +0100 (MET) From: Jean-Marc Fenart Reply-To: Jean-Marc Fenart Subject: PPP post-dialup To: freebsd-net@FreeBSD.ORG Cc: =?US-ASCII?Q?fenart=10?=@sunchorus.France.Sun.COM MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Tpe0VASYWHcY5sOA4EgbRw== X-Mailer: dtmail 1.2.0 CDE Version 1.2 SunOS 5.6 sun4u sparc Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear all I've a problem trying to find a solution implementing a post-dialup on PPP. I should like to dialup and get the IPCP dynamic IP address after the initial configuration of the interface and during a sento/connect of an application. The ppp ifnet would notice that the dialup has not been done and might trigger an upcall to the pppd for dialup and IPCP negotiation. The overall algorithm might look like : 1/ configure PPP ifnet with a dummy IP local address. 2/ application performs a socket call on it. 3/ PPP interface triggers the dialup, 4/ get the dynamic IP address 5/ re-configure the interface The PPP deamon/ifnet etc.. on FreeBSD does not know to do this, are you aware of a good way (better way ?) to implement this. Thank's for your help. - JM Fenart - _________________________________________________________________ Sun Microsystems, Inc. Embedded Systems Software Group (was Chorus Systems, Inc.) Jean-Marc Fenart 6, ave Gustave Eiffel Tel: +33 1 30 64 82 23 78182 Saint Quentin en Yvelines Fax: +33 1 30 57 00 66 France email: fenart@France.Sun.Com http://www.chorus.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message