From owner-freebsd-questions@freebsd.org Mon Oct 10 22:10:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 976CDC0CCCF for ; Mon, 10 Oct 2016 22:10:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6003EB80 for ; Mon, 10 Oct 2016 22:10:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-117-205.dynamic.qsc.de [92.195.117.205]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E3A3E27684; Tue, 11 Oct 2016 00:10:19 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u9AMAJKP002066; Tue, 11 Oct 2016 00:10:19 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 11 Oct 2016 00:10:19 +0200 From: Polytropon To: Olaoluwa Omokanwaiye Cc: Emre Gundogan via freebsd-questions Subject: Re: Broadcom wireless BCM4313 Message-Id: <20161011001019.17bca91f.freebsd@edvax.de> In-Reply-To: <46DF07BE-6D57-4B7E-BBAB-C257791E072C@gmail.com> References: <46DF07BE-6D57-4B7E-BBAB-C257791E072C@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 22:10:22 -0000 On Mon, 10 Oct 2016 12:14:59 +0100, Olaoluwa Omokanwaiye wrote: > Pls how can I get the above wireless card to be recognized and > function on my FreeBSD 10.3 Even though "man 4 bwn" and "man 4 bwi" list several Broadcom devices, your particular model 4313 doesn't seem to support those drivers (but models 4312 and 4319 do). It might be possible to use the "NDIS wrapper" port to load the "Windows" driver for the device. This problem has been discussed and, as it seems, solved 5 years ago: I just downloaded the drivers on my Windows computer, extracted the driver files, and transferred the necessary ones (bcmwl5.inf, bcmwl564.sys, bcm43xx64.cat and bcmwlcoi64.dll, since I am running amd64) over to my FreeBSD machine using a USB memory stick. I then had to convert the files to FreeBSD kernel modules by using ndisgen, however, since one of the driver files was encoded in UTF-8 ndisgen required converters/libiconv, so that had to be installed first: # cd /usr/ports/converters/libiconv && make install clean All I had to do next was to run ndisgen and follow the instructions. I should mention that, for some reason, I had to run ndisgen from another directory than the driver files were located in, otherwise ndisgen failed to build the kernel modules. Once ndisgen had finished I ended up with three .KO files, which I placed in the /boot/modules directory. I was unable to load these files using /boot/loader.conf, so I ended up making a /etc/rc.d script which can be found here. Save the script to /etc/rc.d/bcm4313 and run: # chmod a-w+rx /etc/rc.d/bcm4313 Done! Sources: Is it possible to use the Broadcom BCM4313? https://forums.freebsd.org/threads/26616/ Manually connecting to a wireless WPA-protected network. https://forums.freebsd.org/threads/33728/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...