From owner-freebsd-questions@freebsd.org Sat Sep 2 02:42:41 2017 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 8C596E19558 for ; Sat, 2 Sep 2017 02:42:41 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 602746F761 for ; Sat, 2 Sep 2017 02:42:41 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x241.google.com with SMTP id 77so620828itj.0 for ; Fri, 01 Sep 2017 19:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=ULslrFX121Qa/L+/IKb3O0FsrKkZbEbj9IJ0ghl+CpI=; b=YrpOrXh4zpUb8/wf8TNmg3gSEIVoudkTcH8Tnfd9JeMnE/VUy1sSnzMgsPk8l66wD2 cfBLt2OcwW/s7j2Wzn+OVq6eeHZhEx7zD6gT3F22MmYSsLkXjL8A6eZKJ4pm0MdV+BZ7 KXYuaeBhLfzBCPj82Cpg/5VAwraA8RpnTO+08hVDRObCWlO7bdB+Vjg/SzN5UFMCeqmC aiswcxS/WC+/Z1SOnFnF7xvtdrG0TipbMpofz9ywqTqBCCBQ0VmdwJToHJ3ST3GXmv5z HyePXBKVq7sGYg7ZNpNhQFkZ72zgSQwQr7k97aHvjH3GsmDSI6KEiR3NGPMsW8mksUYy gv7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ULslrFX121Qa/L+/IKb3O0FsrKkZbEbj9IJ0ghl+CpI=; b=pIvBuoCvTJR4ngSO9m0iWh5iGxvxo1KOiSpLytWIkAgddSV+4F+7ZqM5xEg6LtIhpW HPPxHa9dNwG3ugV0l4VjcQSX0XLBq7sKP/EbeFN4BAGFLXanbGOyXngQJSHnAryX/jlV PrMVQYMiP/1Zx+JndmJdU/wysDtRkCXu5nJeGHTGJR26K8YngrWBi0qIvOJ598hWbwmi XP9kLnsUsrrXtPx63DzF1sHzr+Ki3bHLTKUsIIaBAzKgMoOSJw+kqynmh+kSiZ6Y5ibA CzVWB2HPG4cVzSvHJfjv+hkgqeJBVbbWXgvAyrdO0WPanLA42X/Y820Zdb1WdvFn0Fek oKAg== X-Gm-Message-State: AHPjjUg7Kkb+5nAzCG74blNaVc+VQKPdjGlm2e3WBF6DeHvU3w/CUggS AicRct4GgQH6D3ky X-Google-Smtp-Source: ADKCNb6+OKSf26l8RvU86LxloN3fpeCHQshSiRYwg9vjnyghTdVNs51bQ43Hiqg51YzL/jsT/q84xg== X-Received: by 10.36.2.201 with SMTP id 192mr77244itu.93.1504320160391; Fri, 01 Sep 2017 19:42:40 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id 5sm838493itj.36.2017.09.01.19.42.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Sep 2017 19:42:39 -0700 (PDT) Subject: Re: Broadcom BCM4321 Wireless connection configuration problems To: freebsd-questions@freebsd.org References: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> <20170901230758.GA3716@gmail.com> From: JD Message-ID: <59AA1A9D.3000401@gmail.com> Date: Fri, 1 Sep 2017 20:42:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <20170901230758.GA3716@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Sat, 02 Sep 2017 02:42:41 -0000 Thanx!!! I'm keeping this in case I encounter this wifi. On 09/01/2017 05:08 PM, Ramiro Caso wrote: > On Fri, Sep 01, 2017 at 05:24:21PM +0200, Victor wrote: >> I'm trying to make the wifi connection of my old macbook (2007) work but, at the moment, to no avail. I'm stranded and perplexed! >> >> Context: >> FreeBSD 11.1-RELEASE #2: Fri Sep 1 16:02:16 CEST 2017 root@bsd:/usr/obj/usr/src/sys/MYKERNEL amd64 >> >> The kernel MYKERNEL was compiled adding only: >> options BWN_GPL_PHY >> device firmware >> > I have the same macbook model. Did you have a look at this? > > http://comments.gmane.org/gmane.os.freebsd.devel.wireless/4437 > > It says you have to do three things: > > * add BWN_DEBUG and BWN_GPL_PHY to your kernel config > * edit sys/modules/bwn/Makefile and uncomment the PHY-N bits > * rebuild > >> I installed from the ports net/bwn-firmware-kmod >> >> In /boot/loader.conf I have >> if_bwn="YES" >> > In /boot/loader.conf I have: > > f_bwn_load="YES" > bwn_v4_ucode_load="YES" > bwn_v4_n_ucode_load="YES" > > I don't know whether there is something redundant and/or irrelevant here, but > it's working for me. > >> In /etc/rc.conf as usual >> wlans_bwn0="wlan0" >> ifconfig_wlan0="WPA DHCP" >> .......................... >> >> >> The wifi chip is a broadcom BCM4321 as you can see from the extract of /var/log/messages >> ............................... >> siba_bwn0: mem 0xd0500000-0xd0503fff at device 0.0 on pci1 >> siba_bwn0: warn: multiple PCI(E) cores >> siba_bwn0: unsupported coreid (USB 1.1 Host) >> bwn0 on siba_bwn0 >> bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) RADIO (manuf 0x17f ver 0x2055 rev 4) >> bwn0: DMA (64 bits) >> bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code >> bwn0: Using 1 MSI messages >> Sep 1 16:36:00 bsd wpa_supplicant[1290]: Successfully initialized wpa_supplicant >> wlan0: Ethernet address: 00:1e:c2:ac:de:a3 >> bwn0: ucode fw: ucode11 >> bwn_v4_ucode11: could not load firmware image, error 2 >> bwn0: the fw file(bwn_v4_ucode11) not found >> bwn0: ucode fw: ucode11 >> bwn-open_v4_ucode11: could not load firmware image, error 2 >> bwn0: the fw file(bwn-open_v4_ucode11) not found >> ......................................................... >> >> You see that there is a problem with the firmware image. Ifconfig shows >> >> % ifconfig >> msk0: flags=8843 metric 0 mtu 1500 >> options=c011a >> ether 00:1f:5b:e8:96:50 >> hwaddr 00:1f:5b:e8:96:50 >> nd6 options=29 >> media: Ethernet autoselect (none) >> status: no carrier >> lo0: flags=8049 metric 0 mtu 16384 >> options=600003 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >> inet 127.0.0.1 netmask 0xff000000 >> nd6 options=21 >> groups: lo >> wlan0: flags=8843 metric 0 mtu 1500 >> ether 00:1e:c2:ac:de:a3 >> hwaddr 00:1e:c2:ac:de:a3 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid "" channel 165 (5825 MHz 11a) >> regdomain FCC country US authmode WPA1+WPA2/802.11i privacy MIXED >> deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 >> wme roaming MANUAL bintval 0 >> groups: wlan >> >> >> >> BESIDES .... the man page of bwn declares that >> >> >> BWN(4) FreeBSD Kernel Interfaces Manual BWN(4) >> >> NAME >> bwn - Broadcom BCM43xx IEEE 802.11b/g wireless network driver >> ........ >> This driver requires firmware to be loaded before it will work. The >> c port needs to be installed before ifconfig(8) >> will work. In most cases the bwn_v4_ucode kernel module from the port >> should be used. However, if an LP (low power) PHY is being used, the >> bwn_v4_lp_ucode module should be used. >> ........... >> >> BUT both modules are missing >> >> % sudo kldload bwn_v4_ucode >> kldload: can't load bwn_v4_ucode: No such file or directory >> % sudo kldload bwn_v4_lp_ucode >> kldload: can't load bwn_v4_lp_ucode: No such file or directory >> >> Please help. >> Ciao Vittorio >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"