From owner-freebsd-stable@FreeBSD.ORG Thu Oct 22 19:18:29 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DB701065692 for ; Thu, 22 Oct 2009 19:18:29 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id C8C1F8FC17 for ; Thu, 22 Oct 2009 19:18:28 +0000 (UTC) Received: from via.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Thu, 22 Oct 2009 21:17:43 +0200 id 0002E051.4AE0AFD7.0000F8BD From: Milan Obuch To: freebsd-stable@freebsd.org Date: Thu, 22 Oct 2009 21:18:15 +0200 User-Agent: KMail/1.9.10 References: <200910221905.n9MJ5dsO063534@lava.sentex.ca> In-Reply-To: <200910221905.n9MJ5dsO063534@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200910222118.16927.freebsd-stable@dino.sk> Cc: Subject: Re: ale0 gets no carrier X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 19:18:29 -0000 On Thursday 22 October 2009 21:05:39 Mike Tancsa wrote: > At 02:22 PM 10/22/2009, Marius N=FCnnerich wrote: > >Hi Pyun, all, > > > >today I installed FreeBSD 8-STABLE r198366 on a new Box. It has a Atheros > > nic: ale0@pci0:2:0:0: class=3D0x020000 card=3D0x831c1043 > > chip=3D0x10261969 rev=3D0xb0 hdr=3D0x00 > > vendor =3D 'Attansic (Now owned by Atheros)' > > device =3D 'PCI-E ETHERNET CONTROLLER (AR8121/AR8113 )' > > class =3D network > > subclass =3D ethernet > > > >ale0: flags=3D8802 metric 0 mtu 1500 > > > >options=3D319a >_MAGIC> ether 00:24:8c:a4:0a:b3 > > media: Ethernet autoselect (none) > > status: no carrier > > > >The nic gets no carrier at all. I tried against two known-working nics > >with a cross-over cable and against a dsl-modem. > >Any idea what to try? Will happily test patches. > > Did you try and give it an IP address so that its > "UP" ? Some nics dont seem to have carrier until > you put it in UP state with an IP. Try something simple like > ifconfig ale0 192.168.255.254/30 > In my case ale0@pci0:2:0:0: class=3D0x020000 card=3D0x831c1043 chip=3D0x1026196= 9=20 rev=3D0xb0 hdr=3D0x00 vendor =3D 'Attansic (Now owned by Atheros)' device =3D 'PCI-E ETHERNET CONTROLLER (AR8121/AR8113 )' class =3D network subclass =3D ethernet (exactly the same, as I can see) when configuring interface manually, I nee= d=20 to do 'ifconfig ale0 up' before I can successfully acquire IP with 'dhclien= t=20 ale0'. Everything works normally with 'ifconfig_ale0=3D"DHCP"' line=20 in /etc/rc.conf. Regards, Milan