From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 19 04:37:11 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 D6D4537B401 for ; Thu, 19 Jun 2003 04:37:11 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A14D943F75 for ; Thu, 19 Jun 2003 04:37:10 -0700 (PDT) (envelope-from krylon@gmx.net) Received: (qmail 4020 invoked by uid 65534); 19 Jun 2003 11:37:08 -0000 Received: from Ba950.pppool.de (HELO there) (213.7.169.80) by mail.gmx.net (mp026) with SMTP; 19 Jun 2003 13:37:08 +0200 Content-Type: text/plain; charset="iso-8859-15" From: Benjamin Walkenhorst To: freebsd-isdn@freebsd.org Date: Thu, 19 Jun 2003 13:37:13 +0200 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20030619113710.A14D943F75@mx1.FreeBSD.org> Subject: Trouble getting an AVM A1 running in kernel ppp mode 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: Thu, 19 Jun 2003 11:37:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I am pretty much a FreeBSD-newbie. I've been using SuSE Linux for about 30 months now, but I never learnt to set up an ISDN card manually. I tried to do so under Debian GNU/Linux 3.0 (Woody), but failed. I was *this* short of succeding when I managed to blow up my system and had to reinstall... So setting up ISDN manually scares me a bit. But I kinda like FreeBSD - first impressions and all - and am going to get ISDN running, no matter the cost. =) BTW, I'm using FreeBSD 5.0-RELEASE After some initial trouble I managed to recompile the kernel with ISDN-Support, according to the documentation included in /usr/share/examples/isdn/contrib. Then I put the corresponding entry to /boot/device.hints. After I figured out the correct values for my A1 (irq=3 io=0x340), FreeBSD seemed to recognize the card correctly: isic0 at port 0xb40-0xb5f,0x340-0x35f,0x1340-0x135f,0xf20-0xf3f,0x720-0x73f,0x1720-0x173f,0x1b40-0x1b5f iomem 0xd0000 irq 11 flags 0x4 on isa0 isic0: passive stack unit 0 isic0: AVM A1 or Fritz!Card Classic i4bisppp: 4 ISDN SyncPPP device(s) attached i4b: ISDN call control device attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached i4bctl: ISDN system control port attached i4btrc: 4 ISDN trace device(s) attached I tried to set up kernel ppp as described, but it didn't work apparently. After setting up ppp/sppp, I get an error message like this: i4b-L1 timer3_expired: state = F4 Awaiting Signal i4b-L1 isic_recover: HSCX B: ISTA = 0x0 i4b-L1 isic_recover: ISAC: ISTA = 0x14 i4b-L1 isic_recover: ISAC: CISQ = 0x1e i4b-L1 isic_recover: HSCX B: IMASK = 0xff i4b-L1 isic_recover: HSCX A: IMASK = 0xf8 i4b-L1 isic_recover: ISAC: IMASK = 0x2a i4b-L2 i4b_T202_timeout: unit 0, N202 = 3 i4b-L1 isic_ph_data_req: still in state F3! i4b-L3 T303_timeout: SETUP not answered, cr = 24 i4b-L3 next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout! i4b-L1 timer3_expired: state = F4 Awaiting Signal i4b-L1 isic_recover: HSCX B: ISTA = 0x0 i4b-L1 isic_recover: ISAC: ISTA = 0x4 i4b-L1 isic_recover: ISAC: CISQ = 0x32 i4b-L1 isic_recover: HSCX B: IMASK = 0xff i4b-L1 isic_recover: HSCX A: IMASK = 0xf8 i4b-L1 isic_recover: ISAC: IMASK = 0x2a I am not entirely certain, what the system is trying to tell me, nor how to correct the problem. I do remember however having a similar problem with Debian. If I understand everything correctly, it had to do with the timing: When the ISDN-adapter dials up to my ISP, the connection is established. Then a certain time passes, before both sides start exchanging information (such as username/password). If my box waits too long before sending such information, the other side closes the connection. Under Debian, I had to set this value from three to one second. I guess, it's something like this with FreeBSD as well, but I did not find a clue on how to do this with FreeBSD. I read "The Care And Feeding of ISDN4BSD", but it did not help me any further than it already had, or I missed something crucial. The man-pages and the handbook didn't turn out to be any help with this, either. So what am I doing wrong? And, more importantly, how can I get ISDN to run correctly? ISDN is at the moment the main reason I am not switching to FreeBSD as my new primary OS. Thanks a lot in advance, Benjamin Walkenhorst - -- "Der Hoffnung beraubt sein, heißt noch nicht - verzweifeln." (Albert Camus) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Public Key available at http://www.krylon.de iD8DBQE+8aBvoYumWdMvhMQRAstnAJ47H1FJNt78zmBQVo0YEcm2Na+RdgCfdkAE OcR/Vdn8bGhNN/tHKRdzEdY= =BCX+ -----END PGP SIGNATURE-----