From owner-freebsd-questions@FreeBSD.ORG Sun May 28 13:08:46 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 87E8C16AD94 for ; Sun, 28 May 2006 13:08:46 +0000 (UTC) (envelope-from thenasko@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AE243D48 for ; Sun, 28 May 2006 13:08:45 +0000 (GMT) (envelope-from thenasko@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so81281uge for ; Sun, 28 May 2006 06:08:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WUhezY0W8iR3HrT3NHOHmlkCOG0m0zhSDRJsadWFZAMhAfM8Ohimn/XQZSqI1UinVW+uyyxvK43M5AiyZZwpwXWCbrLyr1RJb4diyOMw/WzK+pPKjgvacoWgWN+Fb/OOC5JStmEnKDRatOxizUymV1Io9wciwlZSvSGWmKobsmQ= Received: by 10.78.42.7 with SMTP id p7mr183687hup; Sun, 28 May 2006 06:08:44 -0700 (PDT) Received: by 10.78.16.15 with HTTP; Sun, 28 May 2006 06:08:44 -0700 (PDT) Message-ID: Date: Sun, 28 May 2006 15:08:44 +0200 From: "Atanas Atanasov" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problem with BCM4306 driver 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: Sun, 28 May 2006 13:08:48 -0000 I have a HP nx6110 laptop, and decided to install FreeBSD 6.1. Quite frankly I am surprised by the power and fine design this system has. This is definitely a better server than linux. I am a complete newbie in BSD, so please excuse me if my question sounds very stupid. I am trying to make my integrated wireless card Broadcom 4306 work. Since there are no native drivers I adopted the ndis approach. Howevet there seem to be two ways to do this, one is using ndiscvt and the other with ndisgen. I tried both but none worked: 1. USING ndiscvt I copied the driver to /sys/modules/if_ndis, and then: # ndiscvt -i BCMWL5A.INF -s BCMWL5.SYS -o ndis_driver_data.h # make && make install # kldload ndis && kldload if_ndis However I am not seeing the interface when run ifconfig. It behaves as if nothig is there. I also tried to recompile ndis & if_ndis from their sources in /usr/src/sys/modules but nothing worked. The adapter simple does not appear. However when I run pciconf -lv I see the pci card. 2. USING ndisgen I copied the drivers to the same folder and run ndisgen BCMWL5.INF BCMWL5.SYS. Everything goes ok but I get an error in the last step when I try to compile it. Then I tried to redirect the output if ndisgen to a pipe and it miracolously generated a file BCMWL5_SYS. This I copied to /boot/kernel and loaded ndis, if_ndis, BCMWL5_SYS. However again the adapter does not appear in ifconfig. I cannot see what is going wrong, because I just followed some HOWTOs that appear in the FreeBSD Handbook (of ndiscvt) and some other forum (about ndisgen). Any help would be greatly appreciated. Atanas