From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 20:38:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F66416A402 for ; Mon, 10 Apr 2006 20:38:52 +0000 (UTC) (envelope-from hernan.silberman@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE0C643D5A for ; Mon, 10 Apr 2006 20:38:50 +0000 (GMT) (envelope-from hernan.silberman@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so711084wxc for ; Mon, 10 Apr 2006 13:38:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bn2S3QxoTX4tl9LJZkIJL+FqtgAd+VNXxfcYJ/jiSmQ5rB3dzB57sQggo9nLrFtilySYb8rHPa6oWcR/YZ3ZZwnBy1OcUUitPQ/wwxLZRjPTj0wtgNaG/g+JRZIngrNASBD3iqvOXmnWnHb8ZLnfc69RROIgTvOHKAiTIh5b938= Received: by 10.70.72.12 with SMTP id u12mr4268443wxa; Mon, 10 Apr 2006 13:38:49 -0700 (PDT) Received: by 10.70.53.1 with HTTP; Mon, 10 Apr 2006 13:38:49 -0700 (PDT) Message-ID: <9b9d376a0604101338y25da26f4o5ad18716ca4bf2c6@mail.gmail.com> Date: Mon, 10 Apr 2006 13:38:49 -0700 From: hernan To: "Fabian Keil" In-Reply-To: <20060409142724.7513bb57@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9b9d376a0604082312xa9e7a2fnd6694d227819e2eb@mail.gmail.com> <20060409142724.7513bb57@localhost> Cc: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] ndis setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 20:38:52 -0000 Thanks Fabian, that helped me move forward. My next question is how to interpret the segfault I get when loading the new kernel module I created with ndisgen. The error happens when I do the 'kldload' on the new module, my machine dies and reboots. Does this mean I'm out of luck with using NDIsulator? Let me know if you have any hints. thanks... hernan On 4/9/06, Fabian Keil wrote: > hernan wrote: > > > Hey folks. I'm setting up FreeBSD 6.0-RELEASE and I'm having a little > > trouble getting my wireless NIC recognized. The card is a Linksys > > WMP64G and I'm trying to set things up to run with the FreeBSD > > NDISulator as described in the FreeBSD handbook > > (http://www.freebsd.org/doc/handbook/network-wireless.html). > > This chapter is outdated. > > > Here's what I'm doing (as root): > > > > 1) Verifying with 'pciconf -lv' that the PCI card is there. Also, I > > know the card works, it was running fine on Windows. > > > > 2) Building ndis itself: > > > 3) Building the if_ndis module: > > > 4) Loading the ndis and if_ndis modules: > > kldload ndis > > I verify at this point using kldstat that both ndis and if_ndis are > > in fact loaded. > > > > I see nothing in dmesg or in my console during the kldload. Also, it > > doesn't appear that the driver found the card, there's no signs of > > life. I've tried using ndisgen, and have had the same results (with > > much less typing). In either case, I get nothing in dmesg and no > > usable enabled NIC. > > After you run ndisgen you should have a third kernel module with > a name similar to the name of your sys file. If you load > this module you should at least get an error message. > > Fabian > -- > http://www.fabiankeil.de/