From owner-freebsd-isdn@FreeBSD.ORG Wed Apr 9 01:14:17 2003 Return-Path: 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 8421C37B401 for ; Wed, 9 Apr 2003 01:14:17 -0700 (PDT) Received: from peedub.jennejohn.org (p62.246.114.165.tisdip.tiscali.de [62.246.114.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 259BA43F85 for ; Wed, 9 Apr 2003 01:14:16 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h398EDAF002263; Wed, 9 Apr 2003 10:14:13 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200304090814.h398EDAF002263@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Marcel Dijk In-reply-to: Your message of "Wed, 09 Apr 2003 00:15:45 +0200." <3E934A11.3050305@home.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Apr 2003 10:14:13 +0200 From: Gary Jennejohn cc: freebsd-isdn@freebsd.org Subject: Re: ISDN (Europe. dial-up) POSTED to QUESTIONS and NET. X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gary Jennejohn List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 08:14:17 -0000 [Note: I'm keeping all of this since it's new to ISDN] Marcel Dijk writes: > Hello all, > > I am trying to get ISDN4BSD to work, thusfar, no luck. I live in Europe. > I use my ISDN adapter (Teles 16.3 ISA non-PnP) to dial in to my ISP. > But if I start ppp and dial I get all kind of error from isdnd wich I > cannot understand. > > This is my isdnd.rc: > > # SYSTEM section: isdnd global configuration parameters > system > # accounting > acctall = on # generate info for everything > acctfile = /var/log/isdnd.acct # name & location of accounting file > useacctfile = yes # generate accouting info to file > isdntime = on > monitor-allowed = no # global switch: monitor on/off > # User-ppp example > entry > name = userppp0 > usrdevicename = rbch > usrdeviceunit = 0 > isdncontroller = 0 > isdnchannel = 1 > local-phone-incoming = 0505267744 > remote-phone-incoming = * > local-phone-dialout = 0505267744 # This *MUST* be your local number > remote-phone-dialout = 1234567 # ppp(8) will override this > remdial-handling = first > dialin-reaction = ignore > dialout-type = normal > b1protocol = hdlc > idletime-incoming = 900 # Should be larger than ppp's timeout > idletime-outgoing = 900 # Should be larger than ppp's timeout > unitlength = 0 > unitlengthsrc = conf > dialretries = 1 > dialrandincr = on > recoverytime = 1 # Should be smaller than ppp's redial > usedown = off > downtries = 2 > downtime = 30 > > entry > name = userppp1 > usrdevicename = rbch > usrdeviceunit = 1 > isdncontroller = 0 > isdnchannel = 2 > local-phone-incoming = 1234567 > remote-phone-incoming = * > local-phone-dialout = 0505267744 # This *MUST* be your local number > remote-phone-dialout = 1234567 # ppp(8) will override this > remdial-handling = first > dialin-reaction = accept > dialout-type = normal > b1protocol = hdlc > idletime-incoming = 900 # Should be larger than ppp's timeout > idletime-outgoing = 900 # Should be larger than ppp's timeout > unitlength = 0 > unitlengthsrc = conf > dialretries = 1 > dialrandincr = on > recoverytime = 1 # Should be smaller than ppp's redial > usedown = off > downtries = 2 > downtime = 30 > > ---- > > I filled it in according to the example in /usr/share/examples/isdn. > > And here is my ppp.conf > > default: > set phone ISP_NUMBER # Replace this with your ISPs phone number > set authname MY_USERNAME # Replace these with your login name & password. > set authkey MY_PASS # This profile assumes you're using PAP or CHAP. > # set enddisc mac # Assuming you have a LAN (dont have a LAN on the > ISDN PC) > enable lqr > set reconnect 3 5 > set redial 3 10 > set lqrperiod 45 > disable pred1 deflate mppe > deny pred1 deflate mppe > set timeout 60 300 # The minimum charge period is 5 minutes, so don't > # hangup before then > # We have no chat scripts in the ISDN world (yet) > set dial > set login > set logout > set hangup > > set device /dev/i4brbch0 /dev/i4brbch1 # Raw B-channel devices > set speed sync # ISDN is synchronous > > enable dns # Ask the peer what to put in resolv.conf > > # Take a wild guess at an IP number and let the other side decide > set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 > add! default hisaddr > > # set mrru 1500 # Multilink mode please > set mru 1504 # Room for the MP header > > # clone 1,2 # Two new links > # link deflink rm # And get rid of the original one > > # link * set mode auto # Automatically manage the second link > # set autoload 10 80 30 # Down @10% usage, up at 80%, 30s sample > > set server /var/run/ppp/ppp-isdn "" 0177 # The diagnostic port (-rw-------) > > --- > > Also filled in according to the example. > > I also have an alternative ppp.conf wich gives the same errors: > > > default: > set device /dev/i4brbch0 /dev/i4brbch1 > set speed sync > set dial > set logout > set hangup > > hetnet: > set phone ISP_NUMBER # Replace this with your ISPs phone number > set login > set authname THE_NAME # Replace these with your login name & password. > set authkey THE_PASS # This profile assumes you're using PAP or CHAP. > ifaddr 0.0.0.0 > add default HISADDR > enable dns > > # set enddisc mac # Assuming you have a LAN > # enable lqr > # set reconnect 3 5 > # set redial 3 10 > # set lqrperiod 45 > # disable pred1 deflate mppe > # deny pred1 deflate mppe > > # set timeout 60 300 # The minimum charge period is 5 minutes, so don't > # hangup before then > > # enable dns # Ask the peer what to put in resolv.conf > > # Take a wild guess at an IP number and let the other side decide > #set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 > #add! default hisaddr > > # set mrru 1500 # Multilink mode please > #set mru 1504 # Room for the MP header > > # clone 1,2 # Two new links > # link deflink rm # And get rid of the original one > > # link * set mode auto # Automatically manage the second link > # set autoload 10 80 30 # Down @10% usage, up at 80%, 30s sample > > # set server /var/run/ppp/ppp-isdn "" 0177 # The diagnostic port > (-rw-------) > > ---------- > > I can't give you the errors ISDND gives, I simply forgot them. It were > unintelligable errors to me. > > The errors came from isdnd, not from ppp. > > Sorry for the mega e-mail but I thought I could best be as verbose as > possible. > > Hope someone can help. > This should have gone to freebsd-isdn@, so I've redirected it. The error messages from isdnd may not mean anything to you, but without them there's no way to figure what's happening. Please post the errors from isdnd. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de