From owner-freebsd-net@FreeBSD.ORG Tue Mar 26 14:39:47 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C08A4DF6 for ; Tue, 26 Mar 2013 14:39:47 +0000 (UTC) (envelope-from sinkeyteck@yahoo.com) Received: from nm9-vm4.bullet.mail.ne1.yahoo.com (nm9-vm4.bullet.mail.ne1.yahoo.com [98.138.91.169]) by mx1.freebsd.org (Postfix) with ESMTP id 87BBC12E for ; Tue, 26 Mar 2013 14:39:47 +0000 (UTC) Received: from [98.138.226.178] by nm9.bullet.mail.ne1.yahoo.com with NNFMP; 26 Mar 2013 14:39:41 -0000 Received: from [98.138.226.168] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 26 Mar 2013 14:39:41 -0000 Received: from [127.0.0.1] by omp1069.mail.ne1.yahoo.com with NNFMP; 26 Mar 2013 14:39:41 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 760786.63627.bm@omp1069.mail.ne1.yahoo.com Received: (qmail 65347 invoked by uid 60001); 26 Mar 2013 14:39:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1364308780; bh=Gwo/bhyGryZS5C0hWfozD22UslwwNpiXfoLeIhHQCMI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V7tACAYvIkxeXpZdG4FNfQtbEDr2EJ6tyN97fb4UJfI+r5hnUQY1jI1vsDKJxZjzXByqz2eq7evAOooOG58iyO7tumkiERVbUxoGlbxf+BkiSEg4ITuiytSxCYRS5RGjbhpd4ZRKkc8isrfHnwpkNhOxd7SLbhAeIIw393tei/w= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ul3+TmK8sli9zhGIJwo+tH5iPQU31SZVRgzIU4e80Ln166c8T01FzDskm3zVJuWV0dYv9P3wJ5RAK4WMi4xDnu/OHY0jQyvydHLEJXFblhxx7BDaj5RZV4kAkQSQTTExNGksbMTkshf3YQ1vnqXytbROnPBrxPuHwRRgtF+nRj8=; X-YMail-OSG: C9HIOmwVM1krO1J3lCF0oqhao3OAbSoWFzASc41tQ1hd.Gl 8VYH4uTN.WQ8ugRrEFUO0OE_CeRa6jtchaGswD_gaKaHM4v_1thoaQFRy3aD BRN6zFUkk_0C06GM045hrQmS1oyDF7KU3QS19hBJv4J8mquEVA3ffwJXMwBJ Cwj_aYVanV9fJn_3cA1dLQ7.gt2FdSQbE1MOqyZwV.nLiuP6nB3j86kStlWw NJNV0a4F5gCRVcHkax.Ye0bI__J2BV.Gl_qfbjcK6x6R8Kz65NEfNpgq5jOT UgEhCYFUyXdp2HbkkNK60MvDT7I0QH0Tnvn6JSq8sXSUf86eEVZKlgXDqDCt jg6oOGoKqCHdTkGdeuudtY1usveY0Tdk6A3qHjWxYm22BgxA9xCLW7.JcgTX OBiQEH8tRUg0MXxPxdHo.K90dYkyD_akSZ4MoRDdxpdLnn5LuZ6taNgfyVQ9 FFRGvyLFfXiAFJdhVGbWDnHqTAjEVB7NEPc.jSz_s44D0UM5mQnF2.P0vDdQ h8TvvI2kOWO60EDL90Azg Received: from [49.125.196.232] by web31809.mail.mud.yahoo.com via HTTP; Tue, 26 Mar 2013 07:39:40 PDT X-Rocket-MIMEInfo: 002.001, LS0tIE9uIFR1ZSwgMy8yNi8xMywga2l0IDxrdHNpbkBhY20ub3JnPiB3cm90ZToKPiAtLS0gT24gVHVlLCAzLzI2LzEzLCBFZ2dlcnQsIExhcnMKPiA8bGFyc0BuZXRhcHAuY29tPgo.IHdyb3RlOgo.ID4gT24gTWFyIDI2LCAyMDEzLCBhdCAxMjo1OSwgPGt0c2luQGFjbS5vcmc.Cj4gPsKgIHdyb3RlOgo.ID4gPiBIb3cgZG8geW91IGNvbmZpZ3VyZSB5b3VyIG5ldHdvcmsgaW50ZXJmYWNlcz8KPiBVc2luZwo.ID4gL2V0Yy9zdGFydF9pZiogb3IgL2V0Yy9yYy5jb25mPzxici8.Cj4gPiAKPiA.IFRoZSBsYXQBMAEBAQE- X-RocketYMMF: sinkeyteck X-Mailer: YahooMailClassic/15.1.7 YahooMailWebService/0.8.139.530 Message-ID: <1364308780.51602.YahooMailClassic@web31809.mail.mud.yahoo.com> Date: Tue, 26 Mar 2013 07:39:40 -0700 (PDT) From: kit Subject: Re: ntpd bind() failure: Can't assign requested address To: LarsEggert In-Reply-To: <1364306611.67937.YahooMailClassic@web31813.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-net@freebsd.org" , "schrodinger@konundrum.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ktsin@acm.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 14:39:47 -0000 --- On Tue, 3/26/13, kit wrote:=0A> --- On Tue, 3/26/13, Eg= gert, Lars=0A> =0A> wrote:=0A> > On Mar 26, 2013, at 12:59= , =0A> >=A0 wrote:=0A> > > How do you configure your network= interfaces?=0A> Using=0A> > /etc/start_if* or /etc/rc.conf?
=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