[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#701884: kfreebsd: unknown method 'inet6 auto'



Hi!

Andrew Shadura <bugzilla@tut.by> writes:
> On Thu, 28 Feb 2013 13:39:04 +0000
> Steven Chamberlain <steven@pyro.eu.org> wrote:
>
>> I think at this stage it would be simplest to add an 'inet6 auto'
>> implementation to ifupdown on kfreebsd to fix this bug.  It can be
>> copied from method 'dhcp', minus the dhclient lines.
>
>> While here, I would recommend setting sysctl
>> net.inet6.ip6.accept_rtadv=1 (just like the Linux 'inet6 auto' method
>> does).  GNU/kFreeBSD kernels have this enabled by default currently,
>> but we may want to change that.  (It may be the only way we can fix
>> #684072).
>
> So, should this be enough?
>
> ifconfig %iface% [[link %hwaddress%]] up
> sysctl -q -e net.inet6.ip6.accept_rtadv=1
>
> Also, on kfreebsd, are -q and -e valid options to sysctl (not sure if
> it's implemented the same way or is it a BSD-specific utility there)?

Both are supported[0], kFreeBSD has a additional -p option that is
supported by a wrapper.

    Christoph

[0] http://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8


Reply to: