From owner-freebsd-questions@freebsd.org Fri Sep 1 15:39:33 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 C6256E157C9 for ; Fri, 1 Sep 2017 15:39:33 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd11118.aruba.it (smtpcmd11118.aruba.it [62.149.156.118]) by mx1.freebsd.org (Postfix) with ESMTP id 112177698C for ; Fri, 1 Sep 2017 15:39:32 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.0.170] ([5.170.124.145]) by smtpcmd11.ad.aruba.it with bizsmtp id 4FQN1w03S38LJR901FQPGz; Fri, 01 Sep 2017 17:24:24 +0200 From: Victor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Broadcom BCM4321 Wireless connection configuration problems Date: Fri, 1 Sep 2017 17:24:21 +0200 Message-Id: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1504279464; bh=NWnAkDy+0gCOlg8B74+jrYUtYFxcPTWTkk2P/vDGJ20=; h=From:Content-Type:Subject:Date:To:Mime-Version; b=OJfWWf+bY6Hfl8V0tqgqKyYQq/dLgxcusPhBH3IqQNXWXZXSnA4oI3d/DokSMikp5 8bGTp2W7Nj69iEotuxJT2gtANba6vC2irdZ7wgSAJjtqfJgaq+OfNY9twRNSmwQYt3 jzB5ci9txj+6chudqi9Ll4h5eknom1BtA1uImxO2c+7w8FFqWLKHs2tkrmyPIo/FdM YclUuovT6Yu2WxYNAOwr+ERdYTvzeozN4k39qiHWmKSFjCMfmW6YafQiyYg7k08UL2 pYZtZ0qaF5cusddDmQiSS+be1pj2hI15lRd3YyHPCOl9M8ksVY9YzSJO6kQ6bKzr1w upjpw76HnX67w== 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: Fri, 01 Sep 2017 15:39:33 -0000 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 installed from the ports net/bwn-firmware-kmod In /boot/loader.conf I have=20 if_bwn=3D"YES" In /etc/rc.conf as usual wlans_bwn0=3D"wlan0" ifconfig_wlan0=3D"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=3D8843 metric 0 mtu = 1500 = options=3Dc011a ether 00:1f:5b:e8:96:50 hwaddr 00:1f:5b:e8:96:50 nd6 options=3D29 media: Ethernet autoselect (none) status: no carrier lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2=20 inet 127.0.0.1 netmask 0xff000000=20 nd6 options=3D21 groups: lo=20 wlan0: flags=3D8843 metric 0 mtu = 1500 ether 00:1e:c2:ac:de:a3 hwaddr 00:1e:c2:ac:de:a3 nd6 options=3D29 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=20 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