Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 13:46:43 -0500
From:      Understudy <list@understudy.net>
To:        freebsd-mobile@freebsd.org
Subject:   Re: usb network adapter
Message-ID:  <4D3C7793.5070008@understudy.net>
In-Reply-To: <alpine.BSF.2.00.1101132232240.7944@wonkity.com>
References:  <4D2FAAA0.5050209@understudy.net> <alpine.BSF.2.00.1101132015590.7560@wonkity.com> <4D2FC473.2010803@understudy.net> <alpine.BSF.2.00.1101132232240.7944@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Atheros AR8132 PCIe Fast Ethernet> 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: <MII bus> 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




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