Fwd: Problems with WiFi networks - HP 255 G7, FreeBSD 14.2

From: Mauricio <humo3302_at_gmail.com>
Date: Sun, 06 Apr 2025 15:08:33 UTC
---------- Forwarded message ---------
From: Mauricio <humo3302@gmail.com>
Date: Sun, Apr 6, 2025 at 11:07 AM
Subject: Re: Problems with WiFi networks - HP 255 G7, FreeBSD 14.2
To: Dave Cottlehuber <dch@skunkwerks.at>


Felt the need of clarifying that I still need to add the "

compat.linuxkpi.skb.mem_limit=1" line in /boot/loader.conf for the
WiFi card to work, actually.

If I did not add the mentioned line, the WiFi card would work, but
just for some minutes and then the connection will fail.


On Thu, Apr 3, 2025 at 4:36 PM Mauricio <humo3302@gmail.com> wrote:

> The suggestion of trying FreeBSD 14 STABLE ended with success.
> I can use WiFi correctly now.
>
> One good thing i noticed is that i dont need to type anymore that
> "linuxkpi..." in /boot/loader.conf anymore for the WiFi card to work
> correctly.
>
> I'm really thankful for all your help.
> I want to keep digging on this system and now its more easy.
>
> By the way, thanks for made me know about the risks of one of my text
> files, however, i tought about it beforehand, and found that i had reasons
> to not care about that for now.
> Again, thanks for the help.
>
> El mié, 2 abr. 2025 7:30 p. m., Dave Cottlehuber <dch@skunkwerks.at>
> escribió:
>
>> > On Wed, Apr 2, 2025 at 4:30 AM Dave Cottlehuber <dch@skunkwerks.at>
>> wrote:
>> >> On Tue, 1 Apr 2025, at 17:33, Mauricio wrote:
>> >> > Hey! : )
>> >> >
>> >> > I have decided to install FreeBSD 14.2 in my laptop (HP 255 G7).
>> >> > This model use a WiFi card detected as rtw880 in the system.
>> >>
>> >> Welcome Mauricio!
>> >>
>> >> > I did the same for this 14.2 installation. And my WiFi card is
>> >> > recognized when looking at the ifconfig output.
>>
>> TLDR try installing 14-STABLE to see if this is resolved.
>>
>> I wrote most of the notes below before finding PR283142, so just
>> use it to refer to in future.
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272145 seems relevant
>> with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283903
>> as does https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283142 which
>> looks like a fix may already be in 14-STABLE, my suggestion would be
>> to see if 14-STABLE works or not.
>>
>> > dmesg: https://pastebin.com/pYWAkSed
>>
>> rtw880: <rtw_8821ce> port 0x2000-0x20ff mem 0xc0600000-0xc060ffff at
>> device 0.0 on pci1
>> rtw880: successfully loaded firmware image 'rtw88/rtw8821c_fw.bin'
>> rtw880: Firmware version 24.8.0, H2C version 12
>>
>> > ifconfig: https://pastebin.com/JcETgrGU
>>
>> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>>         options=0
>>         ether 00:e9:3a:db:06:fb
>>         groups: wlan
>>         ssid "" channel 11 (2462 MHz 11g). <---------
>>         regdomain FCC country US authmode WPA1+WPA2/802.11i privacy ON
>>         deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
>>         roaming MANUAL
>>         parent interface: rtw880
>>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>         status: no carrier <-------------------------
>>
>> So you're not getting an IP address from DHCP server because no
>> connection is being established to the access point (no carrier).
>>
>> While I can't diagnose this, you should grab output of wifi scan,
>> and run wpa_supplicant in debug mode, and update one of the
>> tickets above if its still an issue on 14-STABLE.
>>
>> # ifconfig -v wlan0 list scan
>> # pkill -ilf wpa_supplicant
>> # wpa_supplicant -tddi wlan0 -c /etc/wpa_supplicant.conf
>>
>> You may need to sanitise this file, it may contain your wifi password
>>
>> A+
>> Dave
>>
>