From owner-freebsd-isdn Sun Jan 12 13: 5:36 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5B5437B401 for ; Sun, 12 Jan 2003 13:05:32 -0800 (PST) Received: from www.raditex.se (www.raditex.se [192.5.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C3143E4A for ; Sun, 12 Jan 2003 13:05:31 -0800 (PST) (envelope-from gh@raditex.se) Received: from gandalf.sickla.raditex.se (gandalf.raditex.se [192.5.36.18]) by www.raditex.se (8.12.6/8.12.6) with ESMTP id h0CL5feh075970 for ; Sun, 12 Jan 2003 21:05:41 GMT (envelope-from gh@raditex.se) Date: Sun, 12 Jan 2003 23:18:58 +0000 (GMT) From: G Hasse To: Subject: Problem with "no bufferspace" Message-ID: <20030112230724.P51762-100000@gandalf.raditex.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! I have a configuration where i use one line to connect to several different systems. When I start the interfaces it looks like this #---------------------------------------------------------------------- # BALLSTA #---------------------------------------------------------------------- ifconfig isp0 delete -link1 down spppcontrol isp0 always spppcontrol isp0 myauthproto=3Dchap spppcontrol isp0 myauthname=3Dxxx spppcontrol isp0 myauthsecret=3Dxxxyyy spppcontrol isp0 hisauthproto=3Dchap spppcontrol isp0 hisauthname=3Dyyy spppcontrol isp0 hisauthsecret=3Dyyyxxx spppcontrol isp0 rechallenge spppcontrol isp0 enable-vj spppcontrol isp0 lcp-timeout=3D1000 ifconfig isp0 inet 192.168.40.2 192.168.40.1 netmask 0xffffffff link1 route add 192.168.70.0 192.168.40.1 #---------------------------------------------------------------------- # SALK #---------------------------------------------------------------------- ifconfig isp1 delete -link1 down spppcontrol isp1 always spppcontrol isp1 myauthproto=3Dchap spppcontrol isp1 myauthname=3Dzzz spppcontrol isp1 myauthsecret=3Dzzzttt spppcontrol isp1 hisauthproto=3Dchap spppcontrol isp1 hisauthname=3Dttt spppcontrol isp1 hisauthsecret=3Dtttzzz spppcontrol isp1 rechallenge spppcontrol isp1 enable-vj spppcontrol isp1 lcp-timeout=3D1000 ifconfig isp1 inet 192.168.55.10 192.168.55.20 netmask 0xffffffff link1 route add 192.168.56.0 192.168.55.20 And two more on the same line. If I have one connection to one site the othere sites will be blocked (offcourse). And there will be a message "no bufferspace available". This is offcourse correct. But after a while when the first connection goes away this condition will persist, and I cant connect to any other site. I have to restart the interface ifconfig isp3 delete -link1 down =2E.. ifconfig isp3 inet 192.168.63.1 192.168.63.2 netmask 0xffffffff link1 etc And it all works again. The Entry in isdnd.rc looks like this #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # entry section: SALK #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D entry name =3D SALK usrdevicename =3D isp usrdeviceunit =3D 1 isdncontroller =3D 0 isdnchannel =3D -1 local-phone-incoming =3D 12345 ! modified remote-phone-incoming =3D 12345 local-phone-dialout =3D 12345 remote-phone-dialout =3D 12345 remdial-handling =3D first dialin-reaction =3D accept dialout-type =3D normal direction =3D inout ppp-auth-paranoid =3D off ppp-expect-auth =3D chap ppp-expect-name =3D eee ppp-expect-password =3D eeefff ppp-send-auth =3D chap ppp-send-name =3D eee ppp-send-password =3D eeefff ppp-auth-rechallenge =3D yes b1protocol =3D hdlc idle-algorithm-outgoing =3D var-unit-size idletime-incoming =3D 30 idletime-outgoing =3D 30 earlyhangup =3D 20 ratetype =3D 0 unitlength =3D 240 unitlengthsrc =3D rate dialretries =3D 5 dialrandincr =3D on recoverytime =3D 5 usedown =3D on downtries =3D 2 downtime =3D 30 All routes have the same parameters (appart from phone numbers and passwords). (The phone numbers and passwords are fakes here). Am i missing some important configuration thing here? Cordially yours G=F6ran Hasse P.S. Thanks all how work on the ISDN system. I have WERY mutch use for this! ---------------------------------------------------------------- G=F6ran Hasse email: gh@raditex.se Tel: 08-6949270 Raditex AB http://www.raditex.se Fax: 08-4420570 Sickla Alle 7, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Jan 12 14:32:27 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D478E37B401 for ; Sun, 12 Jan 2003 14:32:25 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 948E843EB2 for ; Sun, 12 Jan 2003 14:32:19 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd10.sul.t-online.de by mailout06.sul.t-online.com with smtp id 18XqeP-0001zq-04; Sun, 12 Jan 2003 23:32:17 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.235.109.230]) by fmrl10.sul.t-online.com with esmtp id 18XqeM-0FKt7YC; Sun, 12 Jan 2003 23:32:14 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id h0CMWCs5042107; Sun, 12 Jan 2003 23:32:13 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200301122232.h0CMWCs5042107@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: G Hasse Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Problem with "no bufferspace" Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 12 Jan 2003 23:18:58 GMT." <20030112230724.P51762-100000@gandalf.raditex.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Jan 2003 23:32:12 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org G Hasse writes: > If I have one connection to one site the othere sites will be > blocked (offcourse). And there will be a message "no bufferspace > available". This is offcourse correct. > > But after a while when the first connection goes away this > condition will persist, and I cant connect to any other site. > > I have to restart the interface > > ifconfig isp3 delete -link1 down > .. > ifconfig isp3 inet 192.168.63.1 192.168.63.2 netmask 0xffffffff link1 > etc > > And it all works again. > OK, I don't know whether my analysis is correct, but here goes: The kernel limits the number of packets queued for transmission to (normally) 50, see the _IF_QFULL macro. Once that many packets are in a queue there's no way to add more to it. You are apparently running into this limitation, although I don't understand how packets are being sent to non-active interfaces. You must be doing something weird. Since only one connection can be active at a time, and the "full" interfaces have no active connection, there is no way for the kernel to drain the full queues. And because the queues are full, there's no way for the kernel to add more packets to them to establish the connection. It's a real circus vitiosus. ifconfig'ing the interface down throws away all the queued packets, which is why the interface starts working again. Stop sending packets to interfaces which have no active connection. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jan 13 23:27: 3 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A2737B401 for ; Mon, 13 Jan 2003 23:27:02 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F7ED43F18 for ; Mon, 13 Jan 2003 23:26:57 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h0E7Ql62067600; Tue, 14 Jan 2003 09:26:47 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: G Hasse , Subject: Re: Problem with "no bufferspace" Date: Tue, 14 Jan 2003 09:26:46 +0200 User-Agent: KMail/1.4.3 References: <20030112230724.P51762-100000@gandalf.raditex.se> In-Reply-To: <20030112230724.P51762-100000@gandalf.raditex.se> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301140926.46620.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, > > If I have one connection to one site the othere sites will be > blocked (offcourse). And there will be a message "no bufferspace > available". This is offcourse correct. > =09I have run into this too. Usually, when I look the interface=20 =09with spppcontrol ispN when the system complains about =09no buffer space the state is 'establish'. However, there seems =09to be nothing going on in isdnd log. Taking interface down and =09up again clears the situation for me also. =09I have noticed that usually the previous dial attempt =09has failed for some reason, I guess the interface is left =09into 'establish' state, which causes new packets not to =09trigger redialing any more. =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jan 14 1: 1:11 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB7B537B401 for ; Tue, 14 Jan 2003 01:01:09 -0800 (PST) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B78543F13 for ; Tue, 14 Jan 2003 01:01:04 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd04.sul.t-online.de by mailout11.sul.t-online.com with smtp id 18YMwM-0007xH-04; Tue, 14 Jan 2003 10:00:58 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.80.227.247]) by fmrl04.sul.t-online.com with esmtp id 18YMw4-07ZOU4C; Tue, 14 Jan 2003 10:00:40 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id h0E90BJN001365; Tue, 14 Jan 2003 10:00:24 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200301140900.h0E90BJN001365@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Ari Suutari Cc: G Hasse , freebsd-isdn@FreeBSD.ORG Subject: Re: Problem with "no bufferspace" Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 14 Jan 2003 09:26:46 +0200." <200301140926.46620.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 14 Jan 2003 10:00:11 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ari Suutari writes: > Hi, > > > > > If I have one connection to one site the othere sites will be > > blocked (offcourse). And there will be a message "no bufferspace > > available". This is offcourse correct. > > > > I have run into this too. Usually, when I look the interface > with spppcontrol ispN when the system complains about > no buffer space the state is 'establish'. However, there seems > to be nothing going on in isdnd log. Taking interface down and > up again clears the situation for me also. > > I have noticed that usually the previous dial attempt > has failed for some reason, I guess the interface is left > into 'establish' state, which causes new packets not to > trigger redialing any more. > Then this is a bug. The failed dial attempt should somehow be communicated to the sppp layer so that it can clean up after itself. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jan 14 12:54:40 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42DBF37B401 for ; Tue, 14 Jan 2003 12:54:39 -0800 (PST) Received: from www.raditex.se (www.raditex.se [192.5.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id F15AB43ED8 for ; Tue, 14 Jan 2003 12:54:37 -0800 (PST) (envelope-from gh@raditex.se) Received: from gandalf.sickla.raditex.se (gandalf.raditex.se [192.5.36.18]) by www.raditex.se (8.12.6/8.12.6) with ESMTP id h0EKsVeh079624; Tue, 14 Jan 2003 20:54:31 GMT (envelope-from gh@raditex.se) Date: Tue, 14 Jan 2003 23:07:57 +0000 (GMT) From: G Hasse To: Gary Jennejohn Cc: Ari Suutari , Subject: Re: Problem with "no bufferspace" In-Reply-To: <200301140900.h0E90BJN001365@peedub.jennejohn.org> Message-ID: <20030114230353.L54704-100000@gandalf.raditex.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 14 Jan 2003, Gary Jennejohn wrote: > > Then this is a bug. The failed dial attempt should somehow be communicate= d > to the sppp layer so that it can clean up after itself. And if the sppp layer have several interfaces but only one line those interfaces should be "blocked" so no packages will go to them while another interface is active. One problem might be that I have definde the interface as isdnchannel =3D -1 and this means that "take any free". What if i define all interfaces to use a specific isdnchannel then it might be signaled "busy"? Have anyone tried this? G=F6ran ---------------------------------------------------------------- G=F6ran Hasse email: gh@raditex.se Tel: 08-6949270 Raditex AB http://www.raditex.se Fax: 08-4420570 Sickla Alle 7, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Jan 15 4:59:27 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D496237B401 for ; Wed, 15 Jan 2003 04:59:25 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D6E43F43 for ; Wed, 15 Jan 2003 04:59:24 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h0FCxL62081594; Wed, 15 Jan 2003 14:59:21 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: G Hasse , Gary Jennejohn Subject: Re: Problem with "no bufferspace" Date: Wed, 15 Jan 2003 14:59:21 +0200 User-Agent: KMail/1.4.3 Cc: References: <20030114230353.L54704-100000@gandalf.raditex.se> In-Reply-To: <20030114230353.L54704-100000@gandalf.raditex.se> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301151459.21020.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Wednesday 15 January 2003 01:07, G Hasse wrote: > On Tue, 14 Jan 2003, Gary Jennejohn wrote: > > Then this is a bug. The failed dial attempt should somehow be > > communicated to the sppp layer so that it can clean up after itself. > > And if the sppp layer have several interfaces but only one line those > interfaces should be "blocked" so no packages will go to them while > another interface is active. > > One problem might be that I have definde the interface as > isdnchannel =3D -1 > and this means that "take any free". > > What if i define all interfaces to use a specific isdnchannel > then it might be signaled "busy"? Have anyone tried this? =09I have boxes with two isp interfaces which both =09have isdnchannel set to -1. isdnd seems to be smart enough =09to pick a free channel. Still, when dialling has failed =09the isp interface is left into 'establish' state and it =09never recovers without doing ifconfig down & up. =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Jan 15 10:37: 2 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48C1137B401 for ; Wed, 15 Jan 2003 10:37:01 -0800 (PST) Received: from www.raditex.se (www.raditex.se [192.5.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F6443F5F for ; Wed, 15 Jan 2003 10:36:59 -0800 (PST) (envelope-from gh@raditex.se) Received: from gandalf.sickla.raditex.se (gandalf.raditex.se [192.5.36.18]) by www.raditex.se (8.12.6/8.12.6) with ESMTP id h0FIameh081424; Wed, 15 Jan 2003 18:36:48 GMT (envelope-from gh@raditex.se) Date: Wed, 15 Jan 2003 20:50:17 +0000 (GMT) From: G Hasse To: Ari Suutari Cc: Gary Jennejohn , Subject: Re: Problem with "no bufferspace" In-Reply-To: <200301151459.21020.ari.suutari@syncrontech.com> Message-ID: <20030115204904.L55664-100000@gandalf.raditex.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 15 Jan 2003, Ari Suutari wrote: > > What if i define all interfaces to use a specific isdnchannel > > then it might be signaled "busy"? Have anyone tried this? > > > =09I have boxes with two isp interfaces which both > =09have isdnchannel set to -1. isdnd seems to be smart enough > =09to pick a free channel. Still, when dialling has failed > =09the isp interface is left into 'establish' state and it > =09never recovers without doing ifconfig down & up. Ok. Then there seems to be a real "bug" here. (If our configuratons are correct). I have many "interfaces" but just two ISDN channels, but this don't seems to be the problem then. G=F6ran Hasse ---------------------------------------------------------------- G=F6ran Hasse email: gh@raditex.se Tel: 08-6949270 Raditex AB http://www.raditex.se Fax: 08-4420570 Sickla Alle 7, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jan 17 7:21:34 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FA8D37B405 for ; Fri, 17 Jan 2003 07:21:31 -0800 (PST) Received: from gollum.dreamhost.com (gollum.dreamhost.com [66.33.209.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A189943F18 for ; Fri, 17 Jan 2003 07:21:30 -0800 (PST) (envelope-from Volker@VWSoft.com) Received: from cesar2k.VWSoft.com (p62.246.178.124.tisdip.tiscali.de [62.246.178.124]) by gollum.dreamhost.com (Postfix) with ESMTP id 2CC555B77B for ; Fri, 17 Jan 2003 07:21:21 -0800 (PST) Message-Id: <5.1.0.14.2.20030112235119.04e3ade0@mail.vwsoft.com> X-Sender: vwerth@mail.vwsoft.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 17 Jan 2003 13:52:21 +0100 To: freebsd-isdn@FreeBSD.ORG From: Volker Subject: i4b newbie questions: debugging and pppd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi folks! I'm new to this list (and of course new with i4b - there's a lot of stuff left for me to learn about). I've installed i4b a few weeks ago using FreeBSD 4.7-stable. I was getting it to work successfully. I guess my kind of questions has been asked several times here at the list (but I was unable to get an answer from the mailing archives). To not have anybody bored here with in detail questions (same old boring newbie questions, isn't it? *s*) I'm wondering if someone might be able to give me a pointer or two (really appreciated!!) for some things (instead of creating a time consuming message - but if somebody takes the time, it's also appreciated). 1) I've been able to setup a PPP dial-out using userland PPP but that's not my preference. I would like to get it working using kernel PPP(d) or using the isp? network interfaces (as I suspect a userland PPP to work slower than the isp drivers). Using kernel PPP as far as I understand I'm unable to set the number to dial anywhere but in the isdnd.rc file (using userland PPP I'm using the command 'set phone 12345' to set the number to be dialed) - using kernel PPP I have to configure this number in isdnd.rc and can't change it on the fly, am I wrong?? Has anybody have an example on how to use kernel PPP with i4b or isn't kernel PPP with i4b possible at all?? 2) Is someone able to give me a good pointer on how to debug the authentication using the isp? network interfaces? I know it's boring to investigate someone else's debug logs so I would like to do it but my knowledge is far away from being of any use for that. I've already tried to debug but again, I'm missing something. My log says: Jan 17 15:45:43 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp inpu t(req-sent): Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp pars e opts: mru auth-proto magic proto-comp [rej] addr-comp [rej] lcp/0x11 [re j] lcp/0x13 [rej] send conf-rej Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp outp ut Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp inpu t(ack-rcvd): Jan 17 15:45:45 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp pars e opts: mru auth-proto magic until here, everything looks fine (I think) but the following goes in a loop until one side gives up and breaks the connection: Jan 17 15:45:45 bellona /kernel: Jan 17 15:45:43 bellona /kernel: isp4: ipcp inp ut(ack-rcvd): Jan 17 15:45:46 bellona /kernel: Jan 17 15:45:44 bellona /kernel: isp4: ipcp out put and a bit later (also looping): Jan 17 15:45:52 bellona /kernel: Jan 17 15:45:50 bellona /kernel: isp4: ipcp par se opt values: compression VJ [ack] still need hisaddr send conf-nak As far as I understand the output, the address negotiation fails and i4b wants to know the remotes' IP address. Maybe my problem is also somewhat related to the routing information I'm trying to use. I'm using ifconfig ispX 0.0.0.0 0.0.0.1 netmask 0xffffffff to get the dynamic IP address from my ISP (this one is working) and later setting a default route to 0.0.0.1 - using an IP address of 10.1.1.1 for example as the gateway address also didn't work, so I'm still trying with 0.0.0.1. I just tried that because my ISP is using dynamic IP addresses and also I don't know the gateway address before dialing up. Any hints on how to debug this problem?? 3) No autodial: when using 'ifconfig .... -link1' i4b is in auto-dial (dial-on-demand) mode. What if I want to control this manually (no dial on demand)? Will I be able to specify '-link0' and set the interface up and down for dialing / disconnecting or what else has to be done to control dialing?? 4) Fax blues: I'm using a passive AVM Fritz!Card PCI. I was reading while not having a CAPI driver / subsystem, I won't have fax support (I know G3 is a lot a calculation and D/A operation while using digital devices). There's a driver i4bcapi for the B1, does this mean that when using a B1 one might have fax capabilities? If so, would the capi4hylafax (AVM) work under i4b? Has anybody tested that? I really need fax support and don't want to throw in a modem just for the faxing stuff, so I'm looking for alternatives. Does anybody here tried to get capi4linux (AVM) to work under bsd? Would it be possible to have a ported capi4linux and i4b on the same machine?? What are my options for faxing? Thanks to anyone who will take a few minutes to answer my questions! Volker To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message