From owner-freebsd-net@FreeBSD.ORG Sat May 29 20:17:33 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5373E1065674 for ; Sat, 29 May 2010 20:17:33 +0000 (UTC) (envelope-from perevalov84@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id D00748FC13 for ; Sat, 29 May 2010 20:17:32 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so668176fga.13 for ; Sat, 29 May 2010 13:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YeLI6IWiuF1tVUjEGbIqci/OIU2z6iWfuXn+4dc/i7Q=; b=nFA7nLahxozly6WxQncp4X9D++oumYu+NqBha3JfnZz45fy8J98lyaeEv6TjQvcbAD YJLJcBf7UX5/jKFqoU8VH/SVun2FFpAKiZcWYDSGJjmNE3eojgjot0U42XLwDauCMRMM gthgZhYo2Y6QBzhGBMMejY5GyG16gFPrAaAck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=fvKLYTW8FEsI+z2tC7ubMAFLBNn0OWwMfDsB98Yaa1kL5nfx9gu86ZDO+W9UXQDTRh 5FDIDCI7C+1a1fZErzafeNibF+QIjL6IzwXzFtMY2GH3l6mIxIxuQPkjn4UvuqzwVJWP auhSCFTq2OVXJFFx5vaSDa5rTwWcFNpP9gTgU= Received: by 10.102.12.26 with SMTP id 26mr747835mul.35.1275164251694; Sat, 29 May 2010 13:17:31 -0700 (PDT) Received: from [192.168.2.2] ([95.58.52.213]) by mx.google.com with ESMTPS id e8sm6555420muf.39.2010.05.29.13.17.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 May 2010 13:17:30 -0700 (PDT) Message-ID: <4C01760E.2080403@gmail.com> Date: Sun, 30 May 2010 01:16:14 +0500 From: Perevalov Sergey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100506 Thunderbird/3.0.4 MIME-Version: 1.0 To: pyunyh@gmail.com References: <4BE44E2D.6060907@gmail.com> <20100507210516.GI14801@michelle.cdnetworks.com> In-Reply-To: <20100507210516.GI14801@michelle.cdnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: [axe][ue0] Device send packets but any host in network can not receive any packet from it. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 20:17:33 -0000 Pyun YongHyeon, I am really sorry, I have found you message in my spam folder:-( And immediately I did by your instructions. I connected 2 Freebsd 8.0 hosts by one cable, and started tcpdump -evvvvvvi rl0/ue0. So, 192.168.2.15 is receiver (rl0) log: http://pastebin.com/pZ5udweh 192.168.2.16 is sender (ue0) log: http://pastebin.com/BEDwUWBe Thank you for your help! On 08.05.2010 02:05, Pyun YongHyeon wrote: > On Fri, May 07, 2010 at 10:30:21PM +0500, Perevalov Sergey wrote: > >> Hi guys. I am beginner in FreeBSD. And I got problem with my Gigabit >> usb to ethernet adapter with AX88178 chipset. It works in windows very >> well but doesn't work in FreeBSD 8.0. tcpdump shows log with received >> and sent packets, but any host in network doesn't receive them from it. >> I checked it with 2 FreeBSD hosts connected directly by cable. Can you, >> guys, advice to me something to fix or to find reason of this issue? >> I started thread on freebsd forums( >> http://forums.freebsd.org/showthread.php?t=13649 ) and also reported >> about problem ( http://www.freebsd.org/cgi/query-pr.cgi?pr=146153 ). >> >> > It seems the PR shows tcpdump output on sender side(axe(4) > host 192.168.2.22). Would you capture the traffic on receiver side > (host 192.168.2.7) and post the result? Note, please use direct > cable to connect both systems and use option -e to capture traffic > on host 192.168.2.7. For instance, use > #ifconfig -envvvvvvi nic0 > on receiver side. > > Also check whether the receiver agrees on the resolved speed/duplex > of established link. For your case, host 192.168.2.7 should show > 100baseTX, full-duplex. > > >> Here some information: >> >> dmesg: >> ugen4.2: at usbus4 >> axe0: on usbus4 >> axe0: PHYADDR 0xe0:0x02 >> miibus0: on axe0 >> rgephy0: PHY 2 on miibus0 >> rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, >> 1000baseT-FDX, auto >> ue0: on axe0 >> ue0: Ethernet address: 00:0e:c6:88:09:4e >> >> usbconfig: >> laptop# usbconfig >> ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr=ON >> ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr=ON >> ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr=ON >> ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr=ON >> ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=ON >> ugen4.2: at usbus4, cfg=0 md=HOST >> spd=HIGH (480Mbps) pwr=ON >> ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW >> (1.5Mbps) pwr=ON >> >> ifconfig: >> ue0: flags=8843 metric 0 mtu 1500 >> ether 00:0e:c6:88:09:4e >> inet 192.168.2.22 netmask 0xffffff00 broadcast 192.168.2.255 >> media: Ethernet autoselect (100baseTX) >> status: active >> >> Thank you for you help! >> > -- Regards, Sergey.