Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 07:39:40 -0700 (PDT)
From:      kit <ktsin@acm.org>
To:        LarsEggert <lars@netapp.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "schrodinger@konundrum.org" <schrodinger@konundrum.org>
Subject:   Re: ntpd bind() failure: Can't assign requested address
Message-ID:  <1364308780.51602.YahooMailClassic@web31809.mail.mud.yahoo.com>
In-Reply-To: <1364306611.67937.YahooMailClassic@web31813.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 3/26/13, kit <ktsin@acm.org> wrote:=0A> --- On Tue, 3/26/13, Eg=
gert, Lars=0A> <lars@netapp.com>=0A> wrote:=0A> > On Mar 26, 2013, at 12:59=
, <ktsin@acm.org>=0A> >=A0 wrote:=0A> > > How do you configure your network=
 interfaces?=0A> Using=0A> > /etc/start_if* or /etc/rc.conf?<br/>=0A> > =0A=
> > The latter.=0A> > =0A> > (Actually, most of them are configured in rc.l=
ocal with=0A> a=0A> > bit of shell code that generates the IP address from=
=0A> the MAC=0A> > address for a set of machines.)=0A> > =0A> > Lars=0A> =
=0A> i had seen the same error messages while trying to configure=0A> wlan0=
 using start_if.wlan0.=0A> =0A> i think that when an interface is first cre=
ated, the flag=0A> ifdisabled is set by default. my guess is there exists a=
=0A> small window of time when the interface is up, ipv6 is=0A> configured =
but marked ifdisabled, and if ntpd happens to=0A> start during this period =
of time, you will see the failure=0A> messages.=0A> =0A> you may want to ch=
eck your shell code again and perhaps the=0A> rc scripts too and see how th=
ey interact.=0A> =0A> kit=0A=0Atry setting ipv6_activate_all_interfaces to =
yes and configuring the corresponding $ifconfig_IF_ipv6 in your rc.conf if =
you haven't done so already, and see if they help.=0A=0Afrom /etc/defaults/=
rc.conf:=0A=0Aipv6_activate_all_interfaces=3D"NO"       # If NO, interfaces=
 which have no=0A                                        # corresponding $i=
fconfig_IF_ipv6 is=0A                                        # marked as IF=
DISABLED for security=0A                                        # reason.=
=0A=0Akit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1364308780.51602.YahooMailClassic>