Date: Fri, 31 Jul 1998 11:40:07 +0200 From: Leo Weppelman <leo@wau.mis.ah.nl> To: hm@hcs.de Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Can't get dialback to work Message-ID: <19980731114007.23645@wau.mis.ah.nl> In-Reply-To: <m0yyYDq-0000f8C@hcswork.hcs.de> from "Hellmuth Michaelis" on 1998/07/21 10:56 %2B0200 References: <19980720162306.38929@wau.mis.ah.nl> <m0yyYDq-0000f8C@hcswork.hcs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/param.h> + +#ifdef NetBSD1_3 +# if NetBSD1_3 > 6 +# include "opt_inet.h" +# include "opt_iso.h" +# endif +#endif + #include <sys/systm.h> #include <sys/kernel.h> #include <sys/sockio.h> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980731114007.23645>