From owner-freebsd-isdn Sun Mar 19 6:59:33 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from post.webmailer.de (natmail2.webmailer.de [192.67.198.65]) by hub.freebsd.org (Postfix) with ESMTP id D9BA737B5DF for ; Sun, 19 Mar 2000 06:59:26 -0800 (PST) (envelope-from ah@alvman.RoBIN.de) Received: from alvman.RoBIN.de (p3E9C3673.dip.t-dialin.net [62.156.54.115]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id PAA13378; Sun, 19 Mar 2000 15:59:23 +0100 (MET) Received: from localhost (ah@localhost) by alvman.RoBIN.de (8.9.3/8.9.3) with ESMTP id PAA01943; Sun, 19 Mar 2000 15:59:18 +0100 (CET) (envelope-from ah@alvman.RoBIN.de) Date: Sun, 19 Mar 2000 15:59:18 +0100 (CET) From: Andreas Haakh To: Gary Jennejohn Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: isp0 up and running but not working In-Reply-To: <200003191234.NAA00568@peedub.muc.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 19 Mar 2000, Gary Jennejohn wrote: > With this patch (against the latest developers release, but it should be > easy to apply it by hand against older releases) the first few queued > packets no longer get lost. This is obvious from the following tcpdump > info: > > [...] Debug removed > > the pings make it out and the peer answers them. Prior to this patch > the first packets got lost. > > Note this includes the ETIMEDOUT change from Andreas Haakh. > > [...] Patch removed Great! this solves quite some of the problems... Nevertheless, looking at the changes I assume (I can't test it because I use dynamic IP-addresses) that, if you start the connection using "real" TCP/IP packets, they still will be lost because the packets will be delayed until IPCP_UP is reached but as the interface is not yet running (IFF_RUNNING is not set), the peer will probably ignore them?? I thing You still need something like /*!!!*/ to delay the transfer. * Do always serve all three queues in Cisco mode. */ IF_DEQUEUE(&sp->pp_cpq, m); if (m == NULL && ((sppp_ncp_check(sp) && (sp->ipcp.flags & IPCP_UP)) || sp->pp_mode == IFF_CISCO)) { IF_DEQUEUE(&sp->pp_fastq, m); if (m == NULL && ((ifp->if_flags & IFF_RUNNING) /*!!!*/ || sp->pp_mode == IFF_CISCO)) /*!!!*/ IF_DEQUEUE (&sp->pp_if.if_snd, m); } Andreas -- Ingenieurbüro für Baustatik * Dipl.-Ing. Andreas Haakh Mollerstraße 7 * 64289 Darmstadt * Andreas@Haakh.de Tel. 06151-788361 Fax. 06151-788362 Mobil 0173-361.6884 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message