Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA29510 for freebsd-isdn-outgoing; Fri, 31 Jul 1998 02:40:16 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mailhost.ah.nl (ahns.mis.ah.nl [141.93.32.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA29505 for ; Fri, 31 Jul 1998 02:40:12 -0700 (PDT) (envelope-from leo@x1c19e02.wau.mis.ah.nl) Received: from leobsd.wau.mis.ah.nl(x1c19e02.wau.mis.ah.nl[141.93.34.7]) (2319 bytes) by mailhost.ah.nl via sendmail with P:esmtp/R:inet_bind/T:smtp (sender: ) id for ; Fri, 31 Jul 1998 11:43:35 +0200 (MZT) (Smail-3.2.0.99 1997-Dec-4 #5 built 1998-Jul-18) Received: (from leo@localhost) by leobsd.wau.mis.ah.nl (8.8.8/8.6.12) id LAA09983; Fri, 31 Jul 1998 11:40:07 +0200 (CEST) Message-ID: <19980731114007.23645@wau.mis.ah.nl> Date: Fri, 31 Jul 1998 11:40:07 +0200 From: Leo Weppelman To: hm@hcs.de Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Can't get dialback to work References: <19980720162306.38929@wau.mis.ah.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: from "Hellmuth Michaelis" on 1998/07/21 10:56 +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, it works now! The key was: - dialretries >= 2 - calledbackwait long enough to give the otherside a chance to dial in. I have it set to 30 currently. Attached the diffs I have for i4b.63 on NetBSD-current. I am not 100% sure of the tests on 'NetBSD1_3' in sppp.c. Leo. diff -ru i4b.org/driver/i4b_ipr.c i4b/driver/i4b_ipr.c --- i4b.org/driver/i4b_ipr.c Fri Jun 19 10:24:29 1998 +++ i4b/driver/i4b_ipr.c Wed Jul 15 23:17:31 1998 @@ -490,7 +490,12 @@ { /* disconnect ISDN line */ +#if defined(__NetBSD__) + i4b_l4_drvrdisc(BDRV_IPR, sc->sc_unit); +#endif +#if defined(__FreeBSD__) i4b_l4_drvrdisc(BDRV_IPR, ifp->if_unit); +#endif /* sc->sc_if.if_flags &= ~IFF_RUNNING; */ } diff -ru i4b.org/layer1/i4b_l1.h i4b/layer1/i4b_l1.h --- i4b.org/layer1/i4b_l1.h Tue Jun 23 16:03:32 1998 +++ i4b/layer1/i4b_l1.h Fri Jul 31 10:18:53 1998 @@ -375,6 +375,7 @@ #else /* not FreeBSD */ +extern void isic_recover __P((struct isic_softc *sc)); extern int isicattach __P((int flags, struct isic_softc *sc)); extern int isicintr __P((void *)); extern int isicprobe __P((struct isic_attach_args *ia)); diff -ru i4b.org/sppp/if_spppsubr.c i4b/sppp/if_spppsubr.c --- i4b.org/sppp/if_spppsubr.c Sun May 31 20:10:26 1998 +++ i4b/sppp/if_spppsubr.c Fri Jul 31 10:34:07 1998 @@ -28,6 +28,14 @@ #endif #include + +#ifdef NetBSD1_3 +# if NetBSD1_3 > 6 +# include "opt_inet.h" +# include "opt_iso.h" +# endif +#endif + #include #include #include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message