From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 23 18:47:03 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583B2106564A for ; Sun, 23 Jan 2011 18:47:03 +0000 (UTC) (envelope-from list@understudy.net) Received: from smtp5.34sp.com (smtp5.34sp.com [80.82.115.204]) by mx1.freebsd.org (Postfix) with ESMTP id A502D8FC16 for ; Sun, 23 Jan 2011 18:47:02 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp5.34sp.com (Postfix) with ESMTP id 74E72EF038C; Sun, 23 Jan 2011 18:47:00 +0000 (GMT) Received: from smtp5.34sp.com ([127.0.0.1]) by localhost (smtp5.34sp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JBPL3QafnfPQ; Sun, 23 Jan 2011 18:47:00 +0000 (GMT) Received: from Beast.brendhanhorne.com (adsl-065-012-216-193.sip.bct.bellsouth.net [65.12.216.193]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: understudy) by smtp5.34sp.com (Postfix) with ESMTP id B6983EF038A; Sun, 23 Jan 2011 18:46:59 +0000 (GMT) Message-ID: <4D3C7793.5070008@understudy.net> Date: Sun, 23 Jan 2011 13:46:43 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101203 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4D2FAAA0.5050209@understudy.net> <4D2FC473.2010803@understudy.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: usb network adapter X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 18:47:03 -0000 On 01/14/11 00:42, Warren Block wrote: > On Thu, 13 Jan 2011, Understudy wrote: > >> On 1/13/2011 10:32 PM, Warren Block wrote: >>> On Thu, 13 Jan 2011, Understudy wrote: >>> >>>> I have a G555 with an alc0 nic. When I upgraded to 8.1. >>> >>> alc(4) works on 8-stable here. My Acer D250 has a 1G PHY on a >>> 10/100 interface, and autonegotiation is unreliable. Manually >>> setting media type makes it work. >> I tried that and it did not function. For some reason part of what I >> typed must have vanished. When I upgraded to 8.1 the alc0 stopped >> working. I tried all the settings manually and it would not work. > > Your hardware is probably different. This one is > > alc0@pci0:3:0:0: class=0x020000 card=0x022f1025 chip=0x10621969 > rev=0xc0 hdr=0x00 > vendor = 'Attansic (Now owned by Atheros)' > device = 'Atheros AR8132 PCI-E Fast Ethernet Controller (AR8132)' > class = network > subclass = ethernet > > It works with 8.2-PRERELEASE and a gigabit switch: > > # ifconfig alc0 media 100baseTX > # dhclient alc0 > > It's slow to come up, so the /etc/rc.conf equivalent needs SYNCDHP: > ifconfig_alc0="SYNCDHCP media 100baseTX" Hi, Apologies for the slow response. I am still working on things with the G555. Here is what worked: # ifconfig alc0 media 100baseTX # dhclient alc0 Here is what did not: It's slow to come up, so the /etc/rc.conf equivalent needs SYNCDHP: ifconfig_alc0="SYNCDHCP media 100baseTX" Here is my card: Beast# pciconf -l |grep alc0 alc0@pci0:9:0:0: class=0x020000 card=0x394f17aa chip=0x10621969 rev=0xc0 hdr=0x00 Beast# dmesg | grep alc0 alc0: port 0x2000-0x207f mem 0xd1000000-0xd103ffff irq 18 at device 0.0 on pci9 alc0: 15872 Tx FIFO, 15360 Rx FIFO alc0: Using 1 MSI message(s). miibus0: on alc0 alc0: Ethernet address: xxxxxxxxxxxxxxxxxx alc0: [FILTER] alc0: link state changed to UP The card works with the manual input. Thank you very much for that. I would like it to work in the rc.conf do you have another setting that might work? Sincerely, Brendhan