From owner-freebsd-net Tue Oct 24 7:59:40 2000 Delivered-To: freebsd-net@freebsd.org Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by hub.freebsd.org (Postfix) with ESMTP id 0176937B479 for ; Tue, 24 Oct 2000 07:59:35 -0700 (PDT) Received: from cronyx.ru by hanoi.cronyx.ru with ESMTP id TAA02308; (8.9.3/vak/2.1) Tue, 24 Oct 2000 19:08:29 +0400 (MSD) Message-ID: <39F5A52F.CCA5A9CD@cronyx.ru> Date: Tue, 24 Oct 2000 19:05:19 +0400 From: Kurakin Roman Organization: Cronyx X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Jean-Christophe Varaillon Cc: freebsd-net@FreeBSD.ORG Subject: Re: - sr Interface & Conf - References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Jean-Christophe Varaillon wrote: > > Hi Kurakin, > > > 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" Now FreeBSD supports two branches of sync drivers. First one old and traditional sppp. Second one - NETGRAPH. (man netgraph) As far as I know sr supports NETGRAPH. > What are the purpose of the patches for sppp that you can send ? Current state of sppp has incorrect behavior in some cases (ppp, cisco). Those patches solve those problems and adds support of FrameRelay. > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message