Date: Thu, 2 Oct 2008 12:01:57 +0300 From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> To: pyunyh@gmail.com Cc: freebsd-stable@freebsd.org Subject: Re: if_re is broken on RELENG_7 ? Message-ID: <20081002120157.4e72b2f0@notebook> In-Reply-To: <20081002084425.GD67204@cdnetworks.co.kr> References: <20081002102600.45f407d2@notebook> <20081002084425.GD67204@cdnetworks.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
В Thu, 2 Oct 2008 17:44:25 +0900 Pyun YongHyeon <pyunyh@gmail.com> пишет: > On Thu, Oct 02, 2008 at 10:26:00AM +0300, Sergey V. Dyatko wrote: > > Hi list, > > I have ASUS a6m laptop with integrated RTL8168/8111 PCI-E Gigabit > > Ethernet NIC, long time ago (7.0-CURRENT - 7.0-prerelease) I used > > it. Than I started to enjoy BCM43XX wi-fi adapter and now I > > recently decided to revert to the use of realtek adapter. But it > > doesn't work. I'm just not running a network card or at all does > > not work? > > > > some additional information: > > ifconfig shows such information, regardless of whether the cable is > > connected: > > > > %ifconfig re0 > > re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> > > ether 00:1a:92:ca:b3:bc > > media: Ethernet autoselect (10baseT/UTP <half-duplex>) > > status: no carrier > > I don't see what's wrong in the output above. Because there is no > "RUNNING" in flags field I guess you didn't up the interface. > (e.g. either assign an IP address to the interface or run > 'dhclient re0' if you want to get an IP address over DHCP). > Hmm, after command 'ifconfig re0 up' status changed to 'active', media to '100baseTX <full-duplex>' and everything work fine (dhclient re0). What time have I had to type "up" explicitly to make it work since? On my desktop with age(4): without cable: age0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC> ether 00:1b:fc:d4:7d:b3 media: Ethernet autoselect (none) status: no carrier Now I'll plug cable into NIC: age0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC> ether 00:1b:fc:d4:7d:b3 media: Ethernet autoselect (100baseTX <full-duplex>) status: active in that case I haven't "RUNNING" in flags field too, that flag and flag 'UP' appeared after I assing IP to age0 age0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu1500 options=319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC> ether 00:1b:fc:d4:7d:b3 inet 192.168.9.240 netmask 0xffffff00 broadcast 192.168.9.255 > > > > [tiger@notebook]~%pciconf -lv | grep re0 -A 4 > > re0@pci0:2:0:0: class=0x020000 card=0x11f51043 chip=0x816810ec > > rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor' > > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > > class = network > > subclass = ethernet > > dmesg output: http://tiger.byfly.by/files/dmesg.boot > > kernel config: http://tiger.byfly.by/files/tiger-asus-a6m > > > -- -- С уважением, Сергей Дятко системный администратор АГАВА-Минск tiger@agava.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081002120157.4e72b2f0>