From owner-freebsd-net Tue Feb 20 11:36:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 32DBD37B4EC for ; Tue, 20 Feb 2001 11:36:50 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.1/8.11.1) id f1KJaJj91966; Tue, 20 Feb 2001 21:36:19 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200102201936.f1KJaJj91966@zibbi.icomtek.csir.co.za> Subject: Re: - RISCom card: lcp illegal conf-req in state initial - In-Reply-To: from Jean-Christophe Varaillon at "Feb 20, 2001 02:18:03 pm" To: jcv@vbc.net (Jean-Christophe Varaillon) Date: Tue, 20 Feb 2001 21:36:19 +0200 (SAT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I am actualy trying to establish the communication between a cisco router > and my Free BSD machine. > > +-------+ +---------------+ > | cisco |serial interface | FreeBSD 4.1 | > | 3600 +-----------------------+ | > | | RISCom | | > +-------+ card +---------------+ > x.x.x.145 x.x.x.146 > > I beleive that the router is correclty configured but NOT the FreeBSD > machine. > > This is what dmesg | grep sr1 shows: > -------- > sr1: Adapter 0, port 1. > sr1 XXX: driver didn't set ifq_maxlen > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. > ... > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. There is 2 things you should make sure of. 1. If it is an ISA card that you are getting the interrupts. You can check this with vmstat -i and make sure they do arrive. Some motherboards need configuration in the BIOS to make isa interrupts work. 2. That the cisco is providing a clock. The sr driver configure the card to expect a clock and it won't work without it. > sr1: Down event, taking interface down. > ... > sr1: Down event, taking interface down. > sr1: Down event, taking interface down. > sr1: lcp illegal conf-req in state initial > ... > sr1: lcp illegal conf-req in state initial > sr1: lcp illegal conf-req in state initial This is a bug in the state machine of sppp. I have fixed it in -current, but haven't merged it into stable yet. > -------- > > This is the ifconfig: > ------- > sr1: flags=8451 mtu 1500 > inet6 fe80::2d0:b7ff:fe09:3333%sr1 --> :: prefixlen 64 > scopeid 0x2 > inet x.x.x.146 --> x.x.x.145 netmask 0xfffffffc > ------ You can also enable the debug flag in ifconfig, then you will see the ppp packets, that should also help debuging the problem. John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message