From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 15:15:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D94A37B401; Tue, 8 Apr 2003 15:15:49 -0700 (PDT) Received: from mail8-sh.home.nl (mail8.home.nl [213.51.128.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39C1B43F93; Tue, 8 Apr 2003 15:15:48 -0700 (PDT) (envelope-from nascar24@home.nl) Received: from home.nl ([217.120.167.10]) by mail8-sh.home.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030408221546.ERBX958.mail8-sh.home.nl@home.nl>; Wed, 9 Apr 2003 00:15:46 +0200 Message-ID: <3E934A11.3050305@home.nl> Date: Wed, 09 Apr 2003 00:15:45 +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: questions@freebsd.org, net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ISDN (Europe. dial-up) POSTED to QUESTIONS and NET. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 22:15:49 -0000 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. Gr. Marcel.