Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 17:47:31 -0700
From:      Kurt Buff <kurt.buff@gmail.com>
To:        pyunyh@gmail.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problem with Lenovo SL500
Message-ID:  <CADy1Ce6=GrufDhXUdkbvzY6MR_8-bKmqJEM_JdHG%2BSx%2BFQp0BQ@mail.gmail.com>
In-Reply-To: <20131008003359.GA3162@michelle.cdnetworks.com>
References:  <CADy1Ce73mrmTiA6sX34HAsa0ihdOYXAEtsyEYXWYBKfS1D_XpQ@mail.gmail.com> <20131008003359.GA3162@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wow. What a rookie mistake. :(

'ifconfig re0 up'

brought it right up.

I'll add that line to rc.conf as 'ifconfig_re0="UP"'

Thanks,

Kurt

On Mon, Oct 7, 2013 at 5:33 PM, Yonghyeon PYUN <pyunyh@gmail.com> wrote:
> On Mon, Oct 07, 2013 at 03:14:58PM -0700, Kurt Buff wrote:
>> All,
>>
>> This machine has for its wired port a RealTek unit:
>>
>> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
>> 0xe800-0xe8ff mem 0xfcfff000-0xfcffffff,0xfcfe0000-0xfcfeffff irq 19
>> at device 0.0 on pci12
>> re0: Using 1 MSI-X message
>> re0: ASPM disabled
>> re0: Chip rev. 0x3c000000
>> re0: MAC rev. 0x00400000
>> miibus0: <MII bus> on re0
>> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
>> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
>> 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
>> 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
>> 1000baseT-FDX-flow-master, auto, auto-flow
>> re0: Ethernet address: 00:26:18:45:77:51
>>
>>
>> I've got wireless working for iwn (thanks Adrian!), and I'm trying to
>> use the wired NIC (re0) as an unnumbered port to monitor a mirror port
>> on an HP switch. However, when I connect it, it shows up as only
>> 10mbit, half-duplex on the switch, and it refuses to send packets.
>>
>> I've tried 'ifconfig re0 media 1000baseT -mediaopt full-duplex'
>>
>> with no particular luck, as it shows the following
>>
>> re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>> options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
>>         ether 00:26:18:45:77:51
>>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>         media: Ethernet 1000baseT (10baseT/UTP <half-duplex>)
>>         status: active
>>
>> I get no output from 'tcpdump -npi re0'. I get link light, and it
>> worked great on re0 when I did the install for FreeBSD, but no joy for
>> capturing packets from the switch.
>
> It seems you didn't UP the interface. And you may have to put the
> interface into promiscuous mode to capture all packets(i.e. remove
> -p option).
>
>>
>> Anyone have some thoughts to share on this? Yes, I tried using a new
>> cable, too...
>>
>> Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADy1Ce6=GrufDhXUdkbvzY6MR_8-bKmqJEM_JdHG%2BSx%2BFQp0BQ>