From owner-freebsd-net Tue Oct 24 5:25:56 2000 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id 2E20337B479 for ; Tue, 24 Oct 2000 05:25:54 -0700 (PDT) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id e9OCPX796477; Tue, 24 Oct 2000 13:25:33 +0100 (BST) X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Tue, 24 Oct 2000 13:25:33 +0100 (BST) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: Kurakin Roman Cc: freebsd-net@FreeBSD.ORG Subject: Re: - sr Interface & Conf - In-Reply-To: <39F57E2C.8B00509C@cronyx.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Kuraki, > Which modification do you mean? > Are you going to use Sync PPP or Cisco HDLC protocol? > Any way if you are going to use if_sppp and don't want to use NETGRAPH, > I can send some useful patches for sppp. I don't know if I am going to use Sync PPP or Cisco HDLC protocol. The thing is from "man sr" where it is precised that I have to add "pseudo-device sppp" What are the purpose of the patches for sppp that you can send ? > > I would like to connect a freeBSD box on a Cisco router. > > > > To do it I did rebuilt a kernel with that: > > > > pseudo-device sppp > > device sr0 at pci? port 0x300 irq iomem 0xd0000 > > > > Then, when I made dmseg 'sr0', it tells me that: > > sr0 XXX: driver didn't set ifq_maxlen > > sr1 XXX: driver didn't set ifq_maxlen > > > > >From a specialist called Kenjiro Cho: > > > > Starting from FreeBSD-4, drivers are supposed to set ifq_maxlen. > > The messages are just warnings but if you want to suppress the > > warning, add > > ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; > > in srattach() in sys/i386/isa/if_sr.c just before calling if_attach(). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message