Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 16:18:52 +0400
From:      Kurakin Roman <rik@cronyx.ru>
To:        Jean-Christophe Varaillon <jcv@vbc.net>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: - sr Interface & Conf -
Message-ID:  <39F57E2C.8B00509C@cronyx.ru>
References:  <Pine.BSF.4.10.10010231154240.88446-100000@brunel.uk1.vbc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

	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.

Kurakin Roman


Jean-Christophe Varaillon wrote:
> 
> 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().
> 
> ----------------
> But how the FreeBSD box can know the modification since I didn't compile
> the program ?
> And I am not sur that reboot the machine is enough ?
> 
> If someone has a global bit of idea, he is more than welcome.
> 
> Thanks on advanced,
> Jean-Christophe.
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F57E2C.8B00509C>