Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 13:14:10 +0530
From:      jian he <jian.universality@gmail.com>
To:        "parv/FreeBSD" <parv.0zero9+freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   =?UTF-8?Q?Re=3A_=E2=80=8Binstalled_freebsd_but_cannot_config_wifi_netw?= =?UTF-8?Q?ork?=
Message-ID:  <CACJufxFwKDSo2hgKuQC%2BfVnK%2BLR1Qyex2AebynmuDN0sXCpJtg@mail.gmail.com>
In-Reply-To: <CABObuOq3-XktuotYoFT=WR8AF7fh=Jgz9AANUi=r6qfJ9uhByA@mail.gmail.com>
References:  <CACJufxHmo_XAy1rCFhFTjYh3n6VFf_MHLnyJ4P7bC-WhWizUTg@mail.gmail.com> <CACJufxE9BSo8oSgobtvT=uiZTQhjmtYMsq6aqoteOhbqZ7tK1g@mail.gmail.com> <CACJufxFzm6u7%2B6gCSO8NMvZyKnUKDfR1xqYNKfP47BwSavTtXg@mail.gmail.com> <CABObuOq3-XktuotYoFT=WR8AF7fh=Jgz9AANUi=r6qfJ9uhByA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000012e53505f2fdaff0
Content-Type: text/plain; charset="UTF-8"

On Tue, Jan 24, 2023 at 12:53 PM parv/FreeBSD <parv.0zero9+freebsd@gmail.com>
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

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:verdana,sans-serif"><br></div></div><br><div class=3D"gmail_quote"=
><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jan 24, 2023 at 12:53 PM par=
v/FreeBSD &lt;<a href=3D"mailto:parv.0zero9%2Bfreebsd@gmail.com" target=3D"=
_blank">parv.0zero9+freebsd@gmail.com</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-fa=
mily:monospace"></div><div dir=3D"ltr"><div style=3D"font-family:monospace"=
>On Mon, Jan 23, 2023 at 7:33 PM jian he wrote:</div><div style=3D"font-fam=
ily:monospace"><br></div><div style=3D"font-family:monospace">Hi Jian,<br><=
/div><div style=3D"font-family:monospace"><br></div></div><div class=3D"gma=
il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr=
"><div dir=3D"ltr"><div style=3D"font-family:verdana,sans-serif">On Tue, Ja=
n 24, 2023 at 10:54 AM jian he=C2=A0 wrote:</div></div><div class=3D"gmail_=
quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
div><br></div><div>The following command runs on Ubuntu on the same machine=
, on a different disk.</div><div class=3D"gmail_quote"><div dir=3D"ltr"><di=
v style=3D"font-family:verdana,sans-serif">sudo lshw -C network<br></div></=
div></div></div></blockquote></div></div></blockquote><div><span class=3D"g=
mail_default" style=3D"font-family:monospace">...</span>=C2=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"g=
mail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l=
tr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div style=3D"font-family:v=
erdana,sans-serif"></div><div style=3D"font-family:verdana,sans-serif">=C2=
=A0 *-network<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0description: Wireless interface=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0product: <span class=3D"gmail_default" style=
=3D"font-family:verdana,sans-serif"></span>RTL8822CE 802.11ac PCIe Wireless=
 Network Adapter<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0vendor: Realtek Semiconducto=
r Co., Ltd.<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0physical id: 0<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0bus info: pci@0000:02:00.0<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0logic=
al name: wlp2s0<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0version: 00<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0serial: dc:e9:94:7c:4d:fd<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0width:=
 64 bits<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0clock: 33MHz<br>=C2=A0 =C2=A0 =C2=A0=
 =C2=A0capabilities: pm msi pciexpress bus_master cap_list ethernet physica=
l wireless<br>=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<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0resources: irq:137 ioport:3000(size=3D256) memor=
y:4d500000-4d50ffff</div><div style=3D"font-family:verdana,sans-serif"><br>=
</div><div style=3D"font-family:verdana,sans-serif">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)</a></div><div><div style=3D"font-fami=
ly:verdana,sans-serif"><br></div><div style=3D"font-family:verdana,sans-ser=
if"><span class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">=
</span>dmesg | more | grep WLAN</div><div style=3D"font-family:verdana,sans=
-serif">return nothing.<span class=3D"gmail_default" style=3D"font-family:m=
onospace"></span></div></div></div></div></div></blockquote></div></div></b=
lockquote><div><br></div><div><div style=3D"font-family:monospace">(/visiti=
ng from future/)</div><div style=3D"font-family:monospace">The driver would=
 be &quot;rtw88&quot;, not &quot;re&quot;, for the card per ...<br></div></=
div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div style=3D"font-f=
amily:verdana,sans-serif"><div style=3D"font-family:verdana,sans-serif"><a =
href=3D"https://wiki.freebsd.org/WiFi/Rtw88" target=3D"_blank">https://wiki=
.freebsd.org/WiFi/Rtw88</a></div><div style=3D"font-family:verdana,sans-ser=
if"><a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248235" =
target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D24823=
5</a></div></div></div></div></blockquote><div><br></div><div><div style=3D=
"font-family:monospace">Thank you for including the links; helps ...</div><=
br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr"><div class=3D"gmail_quote"><div style=3D"font-family:verd=
ana,sans-serif"><div style=3D"font-family:verdana,sans-serif">Does that mea=
n my device&#39;s wifi card is not supported by freebsd<span class=3D"gmail=
_default" style=3D"font-family:monospace">?</span></div></div></div></div><=
/blockquote><div><br></div><div style=3D"font-family:monospace">... as I un=
derstood, your Realtek WiFi card is in the state</div><div style=3D"font-fa=
mily:monospace">of getting proper support, development is on going. I got t=
he</div><div style=3D"font-family:monospace">impression that the card would=
 be usable for unknown length of</div><div style=3D"font-family:monospace">=
time. If it would stop to work &amp; would require a reboot, I would</div><=
div style=3D"font-family:monospace">not be surprised.<br></div><div style=
=3D"font-family:monospace"><br></div><div style=3D"font-family:monospace">
<div style=3D"font-family:monospace">Whatever the state of current driver i=
s, is not available from</div><div style=3D"font-family:monospace">13.[0]1-=
RELEASE images; 12.x-RELEASE might not ever get the support.<br></div><div =
style=3D"font-family:monospace"><br></div>

</div><div style=3D"font-family:monospace">To test and/or use those changes=
, you would have to compile and</div><div style=3D"font-family:monospace">i=
nstall FreeBSD from source. Source is available via Git repository;</div><d=
iv style=3D"font-family:monospace">need to use either &quot;stable/13&quot;=
 (13-STABLE) or &quot;main&quot; (14-CURRENT)</div><div style=3D"font-famil=
y:monospace">branch.</div><div style=3D"font-family:monospace"><br></div><d=
iv style=3D"font-family:monospace">For background and details to compile th=
e OS, including the kernel,</div><div style=3D"font-family:monospace">see .=
..</div><div style=3D"font-family:monospace"><br></div><div style=3D"font-f=
amily:monospace">=C2=A0 Updating and Upgrading FreeBSD: Using FreeBSD-STABL=
E,</div><div style=3D"font-family:monospace">=C2=A0 <a href=3D"https://docs=
.freebsd.org/en/books/handbook/cutting-edge/#stable" target=3D"_blank">http=
s://docs.freebsd.org/en/books/handbook/cutting-edge/#stable</a></div><div s=
tyle=3D"font-family:monospace"><br></div><div style=3D"font-family:monospac=
e"><br></div><div><div style=3D"font-family:monospace">- parv</div><div sty=
le=3D"font-family:monospace"><br></div><div style=3D"font-family:monospace"=
><br></div><div style=3D"font-family:monospace">-- <br></div><div style=3D"=
font-family:monospace"></div><br></div></div></div>
</blockquote></div><div style=3D"font-family:verdana,sans-serif" class=3D"g=
mail_default"></div><div style=3D"font-family:verdana,sans-serif" class=3D"=
gmail_default">Hi,</div><div style=3D"font-family:verdana,sans-serif" class=
=3D"gmail_default"><br></div><div style=3D"font-family:verdana,sans-serif" =
class=3D"gmail_default">Now I am using Ubuntu. <br></div><div style=3D"font=
-family:verdana,sans-serif" class=3D"gmail_default">So I need to apply=C2=
=A0 at least the following change[]1] at least to test <span class=3D"gmail=
_default" style=3D"font-family:verdana,sans-serif"></span>RTL8822CE wifi ca=
rd.</div><div style=3D"font-family:verdana,sans-serif" class=3D"gmail_defau=
lt"><br></div><div style=3D"font-family:verdana,sans-serif" class=3D"gmail_=
default">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.</div><div style=3D=
"font-family:verdana,sans-serif" class=3D"gmail_default"><br></div><div sty=
le=3D"font-family:verdana,sans-serif" class=3D"gmail_default">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.<br></div><div style=3D"font-family:=
verdana,sans-serif" class=3D"gmail_default"><br></div><div style=3D"font-fa=
mily:verdana,sans-serif" class=3D"gmail_default"><br></div><div style=3D"fo=
nt-family:verdana,sans-serif" class=3D"gmail_default">[1]: <a href=3D"https=
://cgit.freebsd.org/src/commit/?id=3Dd3b0a58ee78ecdc5e2700e0aaaab21755496d1=
48">https://cgit.freebsd.org/src/commit/?id=3Dd3b0a58ee78ecdc5e2700e0aaaab2=
1755496d148</a></div><div style=3D"font-family:verdana,sans-serif" class=3D=
"gmail_default"></div><div><br></div><br></div>

--00000000000012e53505f2fdaff0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACJufxFwKDSo2hgKuQC%2BfVnK%2BLR1Qyex2AebynmuDN0sXCpJtg>