Wifi not recognised after new install

Help with setting up network cards, including WiFi cards.
Post Reply
rishiGhostMB
Posts: 1
Joined: Sat Jan 15, 2022 4:53 pm

Wifi not recognised after new install

Post by rishiGhostMB »

Hi, I just installed GhostBSD 21.11.24 on a MacBook late 2011.
All went well, but WIFI adapter is not recognised.
What can I do to fix that ?
Details, see attachment.
Thanx in advance !
Attachments
IMG_20220115_215717834_HDR.jpg
wb7odyfred
Posts: 72
Joined: Sat Nov 12, 2016 5:44 pm

BCM4311 driver in FreeBSD source code.

Post by wb7odyfred »

Broadcom BCM 4331 chip 0x14e4 0x4311 is not supported in BSD. Broadcom is proprietary and does not release details on the internals to write a wifi driver. I see there is a driver for this chipset 4331 in the MAC Book Pro 8.1
Check bsd-hardware.info or linux-hardware.org for drivers.

https://bsd-hardware.info/?id=pci:14e4-4331-106b-00d6

https://github.com/freebsd/freebsd-src/ ... _bwn_pci.c freebsd-src/sys/dev/bwn/if_bwn.c

Might be a problem of NOT loading the firmware driver to the inside of the Broadcom WIFI chip. A line needs to be added to /boot/loader.conf
bwn_v4_ucode_load="YES"


Fred Finster, [7/19/22 11:54 AM]
Can somebody confirm that GhostBSD supports FreeBSD wifi driver BCM4331 freebsd-src/sys/dev/bwn/if_bwn_pci.c Older MacBook Pros uses this Broadcom wifi chip 0x14e4 0x4331
https://forums.ghostbsd.org/viewtopic.php?f=64&t=2292

Eric Turgeon, [7/19/22 12:45 PM]
[In reply to Fred Finster]
It should be now, but there is a line that will need to be added in the loader.conf.

https://www.freebsd.org/cgi/man.cgi?bwn(4)
This driver requires firmware to be loaded before it will work.The ports/net/bwn-firmware-kmod 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. or maybe bwn_v4_n_ucode_load be used with BCM4322 chipset

bwn_v4_ucode_load="YES"
or
bwn_v4_lp_ucode_load="YES"
or
bwn_v4_n_ucode_load="YES"

in loader.conf

most likely bwn_v4_ucode_load="YES" like my imac.


https://github.com/helloSystem/ISO/issu ... 1028243065

With the new update I made yesterday, I got my iMac BCM4322 wifi working with net/bwn-firmware-kmod and bwn_v4_n_ucode_load="YES" in loader.conf.

Came across this post with detailed instructions on how to compile a kernel with BWN_GPL_PHY here:
https://forums.freebsd.org/threads/bcm4 ... ing.68103/
I would expect there are licensing issues keeping it from being in the GENRIC kernel.

dotdash70 commented on Jan 2 https://github.com/helloSystem/ISO/issu ... 1003796724
I copied bwn_v4_ucode.ko, bwn_v4_n_ucode.ko, and bwn_v4_lp_ucode.ko from the FreeBSD system to /boot/modules/ on my HelloSystem. The added lines to boot/loader.conf:

if_bwn_load="YES"
bwn_pci="YES"
bwn_v4_ucode_load="YES"
bwn_v4_n_ucode_load="YES"
bwn_v4_lp_ucode_load="YES"

and etc/rc.conf:
wlans_bwn0="wlan1"
create_args_wlan1="down country US"
ifconfig_wlan1="up scan WPA DHCP"
I was then able to shut the HelloSystem machine down, swap the wireless card, and have it come up working on the broadcom card:

ifconfig wlan1
Post Reply