Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 21:18:15 +0200
From:      Milan Obuch <freebsd-stable@dino.sk>
To:        freebsd-stable@freebsd.org
Subject:   Re: ale0 gets no carrier
Message-ID:  <200910222118.16927.freebsd-stable@dino.sk>
In-Reply-To: <200910221905.n9MJ5dsO063534@lava.sentex.ca>
References:  <b649e5e0910221122l7c67fe8ei2fcce742fea5753c@mail.gmail.com> <200910221905.n9MJ5dsO063534@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910222118.16927.freebsd-stable>