From nobody Thu Apr 03 20:36:52 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZTD763SP1z5sRtB for ; Thu, 03 Apr 2025 20:37:06 +0000 (UTC) (envelope-from humo3302@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZTD761p1Mz3qSJ for ; Thu, 03 Apr 2025 20:37:06 +0000 (UTC) (envelope-from humo3302@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-301302a328bso1469411a91.2 for ; Thu, 03 Apr 2025 13:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743712625; x=1744317425; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=okikkG2+9dEleXGo5UJFPzPq1CV3C6w9d+Vt41PW3w0=; b=l4+L6bg6n1M2/733uBZ1ZbjEhTUCr5Z0kww4Jua5jJ1VcTay73NCMXTY6h7HP3ORie XhyAZmqWTnKJve2auGXQEieu/OOOZOaBaTLr2HrFb6PcxLsNPjywSWjXgvy0xhfHeMh2 fTCmJwSCxWZhafpDvswRf/k6FxFmUK3DqxqrvwdLGprEYt29sm3/wGnP7hFFyyujRj7J EsuafUVya+5S5TMzLgidvLyoLTGmVEX5Xzi9ZeXrtYZa9Yl2aoCu/XvwTB895cMSVlFS sElj+CxQF2VQxP60AzzL+KvG6qLEvnPr0PDXFQpjThOgud03ZxJM35/hDxOfaSd91nDN rCMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743712625; x=1744317425; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=okikkG2+9dEleXGo5UJFPzPq1CV3C6w9d+Vt41PW3w0=; b=u4ST2x9vPgZKmjmtN/cKsK0+x0dQVZvnHxcnWhUlObfybW0ETLgVVPXx9t70K5bTCB W44w5rccQjInqAdNh4ToTyXRgLJz2Jt78C+NlFRPkCx11+Iub7S3rXLO5ZcYyMLnFm5Q ZDZ5LzboYJ94RcKxk7Da8+quftwn/fwUrKIAuv1NJponn5i465NXXAUD+mYv3A0twUCj HxH1d7+Ql0Yh4bKP/B7QprpmWU7sUrksmxd3Oxoris0eqs868wejlsc2uFrJAFTh4Hpl p8iNf/TotR7M3CL3vn1mRdQ11ixPIMR6J9EOUmfl1vnl18/2NJHJzMbaFC3xUFF+uup1 Nm7Q== X-Gm-Message-State: AOJu0YwI8jiPd6YCRP/srkbaFCzFiA/unDot4Ak/h8w9qn2cxqLSaNNk GDYjr4CCb4k1FwYxmnlU2wlQDaFN1HHKWbO4BK+76+cGErDh4oLYriNfiluhG9GM8hBgllnSCNf QZdI6pJRX2XxVH0yuxsTDZHgD5uCjgQ== X-Gm-Gg: ASbGncuenEULXpnC+RoAkinHy6Tnfz3tWV3LEhrhwfk0KfRmQs+DabI7vRrPKKnDFtc TKcnhMhYY+HpXWmyFMavk0oG/hthWMTg3Ja4Ti1GqXna8FtBnQ+mkLhLuYMmdecDLodNHTOgm2q CvFyNHgPPTsnvjjeiQ1ycnrieiOg== X-Google-Smtp-Source: AGHT+IEcEffyD7n2n9sWoejThTb24za4V6jkG1cH87+rpkG4BXQumfXyFcrOfFDyxkWdhFHeuea420gsUtnHX74kLSA= X-Received: by 2002:a17:90a:c887:b0:2ff:5c4e:5acd with SMTP id 98e67ed59e1d1-306a62967bcmr158319a91.35.1743712624823; Thu, 03 Apr 2025 13:37:04 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <093f0f3a-c9dc-4817-9be7-1d0c285f8e5c@app.fastmail.com> In-Reply-To: From: Mauricio Date: Thu, 3 Apr 2025 16:36:52 -0400 X-Gm-Features: ATxdqUHdvxWVQoef7UuJogDquZ1aWaUW9OBk6Qu6ijlMT6qPF3tLwElIrph_yYE Message-ID: Subject: Re: Problems with WiFi networks - HP 255 G7, FreeBSD 14.2 To: Dave Cottlehuber Cc: freebsd-questions Content-Type: multipart/alternative; boundary="00000000000097d9840631e5bb00" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4ZTD761p1Mz3qSJ X-Spamd-Bar: ---- --00000000000097d9840631e5bb00 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9, 2 abr. 2025 7:30 p. m., Dave Cottlehuber escribi=C3=B3: > > On Wed, Apr 2, 2025 at 4:30=E2=80=AFAM Dave Cottlehuber > 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=3D272145 seems relevant > with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283903 > as does https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283142 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: 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=3D8843 metric 0 mtu = 1500 > options=3D0 > 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 > --00000000000097d9840631e5bb00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The suggestion of trying FreeBSD 14 STABLE ended with succes= s.
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 car= d 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 o= f my text files, however, i tought about it beforehand, and found that i ha= d reasons to not care about that for now.
Again, thanks for the help.


El mi=C3=A9, 2 abr. 2025 7:30 p.=C2=A0m., Dave Cottlehuber = <dch@skunkwerks.at> escribi= =C3=B3:
> On Wed, Apr 2, 2025 at= 4:30=E2=80=AFAM 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 G= 7).
>> > This model use a WiFi card detected as rtw880 in the system.<= br> >>
>> Welcome Mauricio!
>>
>> > I did the same for this 14.2 installation. And my WiFi card i= s
>> > 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/bugzi= lla/show_bug.cgi?id=3D272145 seems relevant
with https://bugs.freebsd.org/b= ugzilla/show_bug.cgi?id=3D283903
as does https://bugs.freebsd.or= g/bugzilla/show_bug.cgi?id=3D283142 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'<= br> rtw880: Firmware version 24.8.0, H2C version 12

> ifconfig: https://pastebin.com/JcETgrGU

wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500
=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 00:e9:3a:db:06:fb
=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: wlan
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid "" channel 11 (2462 MHz 11g). &l= t;---------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain FCC country US authmode WPA1+WPA2/802= .11i privacy ON
=C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 = protmode CTS wme
=C2=A0 =C2=A0 =C2=A0 =C2=A0 roaming MANUAL
=C2=A0 =C2=A0 =C2=A0 =C2=A0 parent interface: rtw880
=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet autoselect= (autoselect)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 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
--00000000000097d9840631e5bb00--