ale0 gets no carrier

Milan Obuch freebsd-stable at dino.sk
Thu Oct 22 19:18:29 UTC 2009


On Thursday 22 October 2009 21:05:39 Mike Tancsa wrote:
> At 02:22 PM 10/22/2009, Marius Nünnerich wrote:
> >Hi Pyun, all,
> >
> >today I installed FreeBSD 8-STABLE r198366 on a new Box. It has a Atheros
> > nic: ale0 at pci0:2:0:0:        class=0x020000 card=0x831c1043
> > chip=0x10261969 rev=0xb0 hdr=0x00
> >     vendor     = 'Attansic (Now owned by Atheros)'
> >     device     = 'PCI-E ETHERNET CONTROLLER  (AR8121/AR8113 )'
> >     class      = network
> >     subclass   = ethernet
> >
> >ale0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >
> >options=319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL
> >_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 at pci0:2:0:0:        class=0x020000 card=0x831c1043 chip=0x10261969 
rev=0xb0 hdr=0x00
    vendor     = 'Attansic (Now owned by Atheros)'
    device     = 'PCI-E ETHERNET CONTROLLER  (AR8121/AR8113 )'
    class      = network
    subclass   = ethernet

(exactly the same, as I can see) when configuring interface manually, I need 
to do 'ifconfig ale0 up' before I can successfully acquire IP with 'dhclient 
ale0'. Everything works normally with 'ifconfig_ale0="DHCP"' line 
in /etc/rc.conf.

Regards,
Milan


More information about the freebsd-stable mailing list