From owner-freebsd-net Tue Feb 20 7:21:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay.tecc.co.uk (luggage.tecc.co.uk [193.128.6.129]) by hub.freebsd.org (Postfix) with SMTP id 02FFF37B4EC for ; Tue, 20 Feb 2001 07:21:19 -0800 (PST) (envelope-from andy@tecc.co.uk) Received: from fw-smtp.tecc.co.uk [195.217.37.39] by relay.tecc.co.uk with esmtp (Exim 1.70 #1) id 14VEbN-0005Xo-00; Tue, 20 Feb 2001 15:21:17 +0000 Received: from [195.217.37.155] (helo=southampton) by fw-smtp.tecc.co.uk with smtp (Exim 2.12 #3) id 14VEZT-0003TU-00; Tue, 20 Feb 2001 15:19:19 +0000 From: "Andy [TECC NOPS]" To: "Jean-Christophe Varaillon" Cc: Subject: RE: - RISCom card: lcp illegal conf-req in state initial - Date: Tue, 20 Feb 2001 15:24:23 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK, getting somewhere. The Cisco "clockrate" command only works so long as the cable end connecting to it is DCE. Now, your reply says that it's DCE. You must make sure that it is as this is a non standard cable confiuration for a Cisco (in normal working practice with telcos anyway). I am puzzled by your diagrams for connectors (a) and (b) thou?? With that layout, how do they mate?? Also, your clock rate looks funny, it's supposed to be in direct multiples of 64000. OK, reading the docs/man page I see the default protocol for the sr driver is ppp whereas I know it's hdlc for cisco. Have you set either end so they match? in the ifconfig command you'll need the "link2" option to get sr to do hdlc or on the cisco specify : (conf-int)# encapsulation ppp in order to make the cisco do ppp. Can you send me a full "show int s0/0" and a full ifconfig -a please. Regards Andy > -----Original Message----- > From: Jean-Christophe Varaillon [mailto:jcv@vbc.net] > Sent: 20 February 2001 15:04 > To: Andy [TECC NOPS] > Cc: freebsd-net@FreeBSD.ORG > Subject: RE: - RISCom card: lcp illegal conf-req in state initial - > > > > Thanks for your prompt repply. > > On Tue, 20 Feb 2001, Andy [TECC NOPS] wrote: > > > Hi > > > > Think I know more about Cisco than RISCom cards > > but here's my 2p worth:- > > > > 1. I take it the connecting cable is an X21 null > > modem cable? If so, you have got it the right > > way round cos the connectors are the same and one > > end is dce the other dte. > > I have 2 cables plugged together: > 1 2 > Cisco }------{ }------{ Free BSD > a b > Cable 1: > On the cisco end: X21 DCE > On the other extremity (a): Female like this: > ........ > ...... > > Cable 2 > On the extremity (b): Male like that: > ........ > ...... > > On the FreeBSD end: It is a male like this: > ........ > ........ > ....... > > > 2. > Serial0/0 is up, line protocol is down > The clock is set (by the router) at clockrate 2015232 > > > > -----Original Message----- > > > From: owner-freebsd-net@FreeBSD.ORG > > > [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Jean-Christophe > > > Varaillon > > > Sent: 20 February 2001 14:18 > > > To: freebsd-net@FreeBSD.ORG > > > Subject: - RISCom card: lcp illegal conf-req in state initial - > > > > > > > > > Hi all, > > > > > > 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. > > > 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 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 > > > ------ > > > > > > Thanks, > > > > > > JC. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message