From owner-freebsd-isdn@FreeBSD.ORG Wed Apr 9 05:05:16 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 AC56E37B401 for ; Wed, 9 Apr 2003 05:05:16 -0700 (PDT) Received: from mail5-sh.home.nl (mail5.home.nl [213.51.128.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45E2D43F93 for ; Wed, 9 Apr 2003 05:05:15 -0700 (PDT) (envelope-from nascar24@home.nl) Received: from home.nl ([217.120.167.10]) by mail5-sh.home.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030409120513.DTDA15277.mail5-sh.home.nl@home.nl>; Wed, 9 Apr 2003 14:05:13 +0200 Message-ID: <3E940C7A.8010700@home.nl> Date: Wed, 09 Apr 2003 14:05:14 +0200 From: Marcel Dijk User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Jennejohn References: <200304090814.h398EDAF002263@peedub.jennejohn.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 12:05: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. > These are the errors I get after running ppp and trying to dial: Apr 9 12:52:03 truus ppp[122]: Warning: ifaddr: Invalid command Apr 9 12:52:03 truus ppp[122]: Warning: ifaddr: Failed 1 Apr 9 12:52:10 truus /kernel: i4b: unit 0, assigned TEI = 84 = 0x54 Apr 9 12:52:10 truus /kernel: i4b-L3 F_UEM: FSM function F_UEM executing, state = ST_U11 - Disc Req Apr 9 12:52:14 truus /kernel: i4b-L3 T303_timeout: SETUP not answered, cr = 61 Apr 9 12:52:14 truus /kernel: i4b-L3 next_l3state: FSM illegal state, state = ST_U0 - Null, event = EV_T303EXP - T303 timeout! Greets, Marcel.