From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 20 17:02:20 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56F3816A442 for ; Fri, 20 Jan 2006 17:02:20 +0000 (GMT) (envelope-from jeff.cross@averageadmins.com) Received: from svr85.edns1.com (svr85.edns1.com [67.15.56.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF5443D5E for ; Fri, 20 Jan 2006 17:02:19 +0000 (GMT) (envelope-from jeff.cross@averageadmins.com) Received: from adsl-70-247-221-174.dsl.lgvwtx.swbell.net ([70.247.221.174] helo=[192.168.230.193]) by svr85.edns1.com with esmtpa (Exim 4.52) id 1EzzeO-0005GU-Nk; Fri, 20 Jan 2006 09:02:12 -0800 Message-ID: <43D11794.4050807@averageadmins.com> Date: Fri, 20 Jan 2006 11:02:12 -0600 From: Jeff Cross User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fabian Keil References: <000001c61cd1$6381ee80$0300a8c0@jerspc> <20060119120043.67a09a52@localhost> In-Reply-To: <20060119120043.67a09a52@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PopBeforeSMTPSenders: jeff.cross@averageadmins.com, jeffc@fruitfulsolutions.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr85.edns1.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - averageadmins.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-mobile@freebsd.org, Jer Buffington Subject: Re: re : ndis0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 17:02:20 -0000 Fabian Keil wrote: >"Jer Buffington" wrote: > > > >>I need help with ndis. I am running 6.0, and my laptop is a gateway. >>I have the Broadcom drivers installed into ndis, but its not showing >>up in dmesg. I also added ndis_load and if_ndis_load >>to /boot/loader.conf. any ideas would be greatly appreciated. >> >> > >Did you use ndisgen? Loading if_ndis and ndis isn't sufficient. >You need to load the Broadcom driver module as well. > >Fabian > > I have a Gateway 7326GZ and have my Broadcom 802.11 b/g adapter working perfectly using ndisgen. I had to copy my bcmwl5.inf and bcmwl5.sys files to my BSD partition and run the following command to change the .inf file to ascii. I will use the "bcmwl5" in all of my examples, change the driver name to match that of your .inf and .sys files. iconv -c -f utf-16 -t ascii bcmwl5.inf > bcmwl5.inf.ascii Once you have created this bcmwl5.inf.ascii file, open it in vi, go to the very end of the file and put a newline in it. For some reason, ndisgen won't process it without the trailing newline. Once you have ascii'fied the inf file and added the newline, run the ndisgen utility and choose "Convert Driver". It will prompt you for the path to your .inf file and the .sys. When it asks for the .inf file, point the app to the .ascii file you created above. I just followed all the defaults after the path prompts and in a few seconds I had a bcmwl5_sys.ko kernel object that I copied to /boot/kernel/. I then modified my /boot/loader.conf file and added a line that said bcmwl5_sys_load="YES". Now it is loaded every time I reboot and works like a champ. I hope this helps! Jeff Cross