From nobody Tue Jan 24 07:44:10 2023 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 4P1Jrm0flyz2v4r4 for ; Tue, 24 Jan 2023 07:44:24 +0000 (UTC) (envelope-from jian.universality@gmail.com) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1Jrk61CDz3FfZ for ; Tue, 24 Jan 2023 07:44:22 +0000 (UTC) (envelope-from jian.universality@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=L9fLB2Mf; spf=pass (mx1.freebsd.org: domain of jian.universality@gmail.com designates 2607:f8b0:4864:20::e2d as permitted sender) smtp.mailfrom=jian.universality@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-vs1-xe2d.google.com with SMTP id i188so15582384vsi.8 for ; Mon, 23 Jan 2023 23:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IJ6CEShX76XGNKk8hG+bvAXxz8btQSUJBax3DTGwzWE=; b=L9fLB2MfdVlB9dISozWOXJClI63h1vtoN7hj+ECrnwLeQEa0Gh+G9WVoA51QD3Zg9d +5q5DnFd+/bD/DWK6uoKiKgfjbnbQEhIzubv3yb5Ierrm7XpsDjUmfMOJSPcMLCkdy5B 9LekIOWwrm/8w2lPiTsqSDzs3Qdn0jab5W+p8XjrINdv0kV1lkaE9PfQE+Dua6RI6+Xx CRTszZQOHwfTIsmnfK+OL6WBBoFe+UGzsVko+fFTOX0NSyCmRfXOtvVLWPWzkeTsm7Jw xyewo4S2FnbtOFc1WoEITkFTlDCSGVI3TNRL58oJJF/B+scAE4aaOFy1lLY0EQdZAdrb ndYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=IJ6CEShX76XGNKk8hG+bvAXxz8btQSUJBax3DTGwzWE=; b=C2O+ruepngx4dKt5trQISjAmpRhE73NJZRWrYxeKlhhtNA8sR3qyjqLaa8idET1gn2 /0HK4ryxfhqHxCsCEFWGQZ3ZknEaIi729n0ihJFj64gXdAT8ChYeP/rTKdmKJZz1VRzg +HjvUMoSOh+1qv6iQn49xyPdlIezrKx97nwlJ55jdjpGqc87MI3ns0FTGbJYTkLLUOFP 5IRtzqjuCAbA+XWezZ3ld2NjGTlVELI+M+DffnURo546wvqcz3hHJHJlE0T9roMcVSl5 LlZ7l7gWaaIMVDwyjkeX75ILTXrBk8eIiaJLWtWXyx8eGTnMSSHkylyxMtTJDcXhYM2O 5CIQ== X-Gm-Message-State: AFqh2kqldsz6bTZMfIEnmxatbu+Ofmw6cfX/vBD5teMeZpIzYgIr3zMl r+sLS5s1ax3nF3sNbOVJBjrM3xeSMhjUfn8+Kwaq+txCr5IubA== X-Google-Smtp-Source: AMrXdXuuT+NPx07duk+C+hmu8Imw+JWYgGGX1vq+flfqa+v3w06sgBdjxm+KcN95EFbNvTN5eUJfKMhq/Do371wiB7g= X-Received: by 2002:a67:eb10:0:b0:3c9:8cc2:dd04 with SMTP id a16-20020a67eb10000000b003c98cc2dd04mr3891889vso.73.1674546261450; Mon, 23 Jan 2023 23:44:21 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: jian he Date: Tue, 24 Jan 2023 13:14:10 +0530 Message-ID: Subject: =?UTF-8?Q?Re=3A_=E2=80=8Binstalled_freebsd_but_cannot_config_wifi_netw?= =?UTF-8?Q?ork?= To: "parv/FreeBSD" Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000012e53505f2fdaff0" X-Spamd-Result: default: False [-1.15 / 15.00]; URI_COUNT_ODD(1.00)[17]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.85)[0.853]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2d:from]; TAGGED_RCPT(0.00)[freebsd]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4P1Jrk61CDz3FfZ X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N --00000000000012e53505f2fdaff0 Content-Type: text/plain; charset="UTF-8" On Tue, Jan 24, 2023 at 12:53 PM parv/FreeBSD wrote: > On Mon, Jan 23, 2023 at 7:33 PM jian he wrote: > > Hi Jian, > > On Tue, Jan 24, 2023 at 10:54 AM jian he wrote: >> >>> >>> The following command runs on Ubuntu on the same machine, on a different >>> disk. >>> sudo lshw -C network >>> >> ... > >> *-network >>> description: Wireless interface >>> product: RTL8822CE 802.11ac PCIe Wireless Network Adapter >>> vendor: Realtek Semiconductor Co., Ltd. >>> physical id: 0 >>> bus info: pci@0000:02:00.0 >>> logical name: wlp2s0 >>> version: 00 >>> serial: dc:e9:94:7c:4d:fd >>> width: 64 bits >>> clock: 33MHz >>> capabilities: pm msi pciexpress bus_master cap_list ethernet >>> physical wireless >>> configuration: broadcast=yes driver=rtw_8822ce >>> driverversion=5.15.0-58-generic firmware=N/A ip=10.18.120.137 latency=0 >>> link=yes multicast=yes wireless=IEEE 802.11 >>> resources: irq:137 ioport:3000(size=256) memory:4d500000-4d50ffff >>> >>> I found related post: https://www.freebsd.org/cgi/man.cgi?re(4) >>> >>> dmesg | more | grep WLAN >>> return nothing. >>> >> > (/visiting from future/) > The driver would be "rtw88", not "re", for the card per ... > > > https://wiki.freebsd.org/WiFi/Rtw88 >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248235 >> > > Thank you for including the links; helps ... > > > >> Does that mean my device's wifi card is not supported by freebsd? >> > > ... as I understood, your Realtek WiFi card is in the state > of getting proper support, development is on going. I got the > impression that the card would be usable for unknown length of > time. If it would stop to work & would require a reboot, I would > not be surprised. > > Whatever the state of current driver is, is not available from > 13.[0]1-RELEASE images; 12.x-RELEASE might not ever get the support. > > To test and/or use those changes, you would have to compile and > install FreeBSD from source. Source is available via Git repository; > need to use either "stable/13" (13-STABLE) or "main" (14-CURRENT) > branch. > > For background and details to compile the OS, including the kernel, > see ... > > Updating and Upgrading FreeBSD: Using FreeBSD-STABLE, > https://docs.freebsd.org/en/books/handbook/cutting-edge/#stable > > > - parv > > > -- > > Hi, Now I am using Ubuntu. So I need to apply at least the following change[]1] at least to test RTL8822CE wifi card. I need to compile from source code, then make a memstick image, mount to a usb stick, then install from the usb pen drive. If all things going well, dmesg | more | grep WLAN should return something? Or how can I test if my wifi card is working. [1]: https://cgit.freebsd.org/src/commit/?id=d3b0a58ee78ecdc5e2700e0aaaab21755496d148 --00000000000012e53505f2fdaff0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Jan 24, 2023 at 12:53 PM par= v/FreeBSD <parv.0zero9+freebsd@gmail.com> wrote:
On Mon, Jan 23, 2023 at 7:33 PM jian he wrote:

Hi Jian,
<= /div>

On Tue, Ja= n 24, 2023 at 10:54 AM jian he=C2=A0 wrote:
<= div>
The following command runs on Ubuntu on the same machine= , on a different disk.
sudo lshw -C network
...=C2=A0
=C2= =A0 *-network
=C2=A0 =C2=A0 =C2=A0 =C2=A0description: Wireless interface=
=C2=A0 =C2=A0 =C2=A0 =C2=A0product: RTL8822CE 802.11ac PCIe Wireless= Network Adapter
=C2=A0 =C2=A0 =C2=A0 =C2=A0vendor: Realtek Semiconducto= r Co., Ltd.
=C2=A0 =C2=A0 =C2=A0 =C2=A0physical id: 0
=C2=A0 =C2=A0 = =C2=A0 =C2=A0bus info: pci@0000:02:00.0
=C2=A0 =C2=A0 =C2=A0 =C2=A0logic= al name: wlp2s0
=C2=A0 =C2=A0 =C2=A0 =C2=A0version: 00
=C2=A0 =C2=A0 = =C2=A0 =C2=A0serial: dc:e9:94:7c:4d:fd
=C2=A0 =C2=A0 =C2=A0 =C2=A0width:= 64 bits
=C2=A0 =C2=A0 =C2=A0 =C2=A0clock: 33MHz
=C2=A0 =C2=A0 =C2=A0= =C2=A0capabilities: pm msi pciexpress bus_master cap_list ethernet physica= l wireless
=C2=A0 =C2=A0 =C2=A0 =C2=A0configuration: broadcast=3Dyes dri= ver=3Drtw_8822ce driverversion=3D5.15.0-58-generic firmware=3DN/A ip=3D10.1= 8.120.137 latency=3D0 link=3Dyes multicast=3Dyes wireless=3DIEEE 802.11
= =C2=A0 =C2=A0 =C2=A0 =C2=A0resources: irq:137 ioport:3000(size=3D256) memor= y:4d500000-4d50ffff

=
I found related post: <= a href=3D"https://www.freebsd.org/cgi/man.cgi?re(4)" target=3D"_blank">http= s://www.freebsd.org/cgi/man.cgi?re(4)

= dmesg | more | grep WLAN
return nothing.

(/visiti= ng from future/)
The driver would= be "rtw88", not "re", for the card per ...



Thank you for including the links; helps ...
<= br>
=C2=A0
Does that mea= n my device's wifi card is not supported by freebsd?
<= /blockquote>

... as I un= derstood, your Realtek WiFi card is in the state
of getting proper support, development is on going. I got t= he
impression that the card would= be usable for unknown length of
= time. If it would stop to work & would require a reboot, I would
<= div style=3D"font-family:monospace">not be surprised.

Whatever the state of current driver i= s, is not available from
13.[0]1-= RELEASE images; 12.x-RELEASE might not ever get the support.

To test and/or use those changes= , you would have to compile and
i= nstall FreeBSD from source. Source is available via Git repository;
need to use either "stable/13"= (13-STABLE) or "main" (14-CURRENT)
branch.

For background and details to compile th= e OS, including the kernel,
see .= ..

=C2=A0 Updating and Upgrading FreeBSD: Using FreeBSD-STABL= E,


- parv


--

Hi,

Now I am using Ubuntu.
So I need to apply=C2= =A0 at least the following change[]1] at least to test RTL8822CE wifi ca= rd.

I need to compile from source code, then make a memstick image, mo= unt to a usb stick, then install from the usb pen drive.

If all things= going well, dmesg | more | grep WLAN=C2=A0 should return something? Or how= can I test if my wifi card is working.




--00000000000012e53505f2fdaff0--