From owner-freebsd-questions@FreeBSD.ORG Tue Apr 11 14:12: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 D048116A401 for ; Tue, 11 Apr 2006 14:12:52 +0000 (UTC) (envelope-from hernan.silberman@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A61E43D53 for ; Tue, 11 Apr 2006 14:12:52 +0000 (GMT) (envelope-from hernan.silberman@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so844482wxc for ; Tue, 11 Apr 2006 07:12:51 -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=ugYL4WOv/ucqkvZVZ2Ym973rCx1Rcq/0T+yJV7SUl74AYDmkmCbstjy+dWGbmsL89VMJJyeDgTOvWSpVD0a4eQFCjyCp/qxn2aICJi2FGqT2AgBxng6d+N/GDBKeNg2YpkSmq8hPbtbu3jXtRAA4Y4LWfjmzrw1Mtr9HDhTZwa0= Received: by 10.70.103.16 with SMTP id a16mr400883wxc; Tue, 11 Apr 2006 07:12:50 -0700 (PDT) Received: by 10.70.53.1 with HTTP; Tue, 11 Apr 2006 07:12:50 -0700 (PDT) Message-ID: <9b9d376a0604110712v2f026d5x2ead2e61128b3516@mail.gmail.com> Date: Tue, 11 Apr 2006 07:12:50 -0700 From: hernan To: "Fabian Keil" In-Reply-To: <20060411123809.1a880218@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> <9b9d376a0604101338y25da26f4o5ad18716ca4bf2c6@mail.gmail.com> <20060411123809.1a880218@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: Tue, 11 Apr 2006 14:12:52 -0000 On 4/11/06, Fabian Keil wrote: > My hint is to post slightly more information. > Fabian Thanks again. I figured this out, and am posting to help others who might want to use this card (Linksys WMP54G). Keep in mind that I'm new to FreeBSD (using 6 RELEASE): 1) I was initially trying to use NDIsulator the way the manual says, by manually running cvtndis. During that trial and error process, I ended up with a configuration that was missing if_config.ko. To get back to a good starting point I did decided to rebuild both ndis and if_ndis. cd /sys/modules/ndis; make; make install; cd /sys/modules/if_ndis; make; make install; At this point, I was able to simply load the ndis module. if_ndis was automatically loaded as I verified using kldload (lots of the examples I found show separate load commands for each). 2) I ran through the "new way" of building the module to wrap my Linksys driver, using ndisgen. I had only three files on my CD: Rt61.INF, rt61.sys, rt61.cat. I ignored the cat file, convinced after some googling that it was not a binary the driver needed at runtime. 3) During the load of this third kernel module, I kept getting an error: failed to load /compat/ndis/rt2561s.bin I searched my driver cd for this file and it was not there. Finally, I Googled it and after a while found myself looking at the ralink support page: http://www.ralinktech.com/supp-1.htm Under firmware, they have a link to a zip file with the magical rt2561s.bin file. I burned this onto a cd (the only way I had to get files onto my new BSD system), and placed it in /compat/ndis. One more kernel reload... and things now work fine. Hopefully these instructions will help others who wish to use the very popular Linksys WMP54G card on BSD 6. thanks again, hernan