From owner-freebsd-net@FreeBSD.ORG Fri Jun 26 04:12:53 2009 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 42AC41065679 for ; Fri, 26 Jun 2009 04:12:53 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-px0-f191.google.com (mail-px0-f191.google.com [209.85.216.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE6A8FC14 for ; Fri, 26 Jun 2009 04:12:52 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by pxi29 with SMTP id 29so1413085pxi.3 for ; Thu, 25 Jun 2009 21:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=+IPFwRpAcsKecOrAqVkGbdl6zCeOupzMSp4rEXnWGs0=; b=gpbtqSwN//utNLzpKx8VxbOPID5kCw+YrHQWA3039lyzH3Vw9zzce3UycAsenkpa7P m2pcK78BH+8c5fg5QNdvkeXcZ97m9ygm6ihCS7mScXwokAuHmrZlfRsP0fE6IlUm4+X3 joaRotcQXDhm4iDnb1Nfd2dhb17lcJ3GnlaoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=X9fy5se+tAWo7IzpPUziM2u8OrE6igiy/q8mtOmc3pxbc7ZKgvK+NLTjie1eimYISJ NQN52HD6OtI+2M2f6rnne1rGg4daMXNohkgQJGQKSV0LwBAqb0gZvU5ngikqZv4kE15a 9DjRv/ii5q+2CufAMVwAhLmj+6Q06Htv/Ar9k= Received: by 10.141.27.16 with SMTP id e16mr2746476rvj.219.1245989572615; Thu, 25 Jun 2009 21:12:52 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id k2sm4734063rvb.32.2009.06.25.21.12.50 (version=SSLv3 cipher=RC4-MD5); Thu, 25 Jun 2009 21:12:51 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 26 Jun 2009 13:12:46 +0900 From: Weongyo Jeong Date: Fri, 26 Jun 2009 13:12:46 +0900 To: Nikos Vassiliadis Message-ID: <20090626041246.GE31161@weongyo.cdnetworks.kr> Mail-Followup-To: Nikos Vassiliadis , freebsd-net@freebsd.org References: <4A43386D.80500@gmx.com> <20090625103420.GD31161@weongyo.cdnetworks.kr> <4A436A8A.1000405@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A436A8A.1000405@gmx.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: ndis and USB wirelless ethernet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 04:12:53 -0000 On Thu, Jun 25, 2009 at 03:16:10PM +0300, Nikos Vassiliadis wrote: > Weongyo Jeong wrote: > >Could you please test with attached patch and show me the result? > > The repeating warning message went away and the ndis0 interface > appeared. Now, when I try to 'up' the interface, ifconfig gets > stuck in KeWFS state. If I try a second ifconfig, it will show > the ndis0 in up state, though I am not sure it really is. Any > subsequent command(assign an IP address, change media, change > MTU etc) fails. The ether command also stucks in KeWFS. > > Thanks a lot for the patch Weongyo, if you have any other > idea, I'll be happy to test it! Could you show me the *full* result after enabling `sysctl debug.ndis=1'? Maybe steps would be as follows: # kldload ndis if_ndis NDIS_module # sysctl debug.ndis=1 [then plug-in USB stick] # ifconfig wlan0 create wlandev ndis0 # ifconfig wlan0 ssid blah up regards, Weongyo Jeong