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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 24, 2023 at 12:53 PM parv/FreeBSD &lt;<a href="mailto:parv.0zero9%2Bfreebsd@gmail.com" target="_blank">parv.0zero9+freebsd@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:monospace"></div><div dir="ltr"><div style="font-family:monospace">On Mon, Jan 23, 2023 at 7:33 PM jian he wrote:</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">Hi Jian,<br></div><div style="font-family:monospace"><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-family:verdana,sans-serif">On Tue, Jan 24, 2023 at 10:54 AM jian he  wrote:</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>The following command runs on Ubuntu on the same machine, on a different disk.</div><div class="gmail_quote"><div dir="ltr"><div style="font-family:verdana,sans-serif">sudo lshw -C network<br></div></div></div></div></blockquote></div></div></blockquote><div><span class="gmail_default" style="font-family:monospace">...</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:verdana,sans-serif"></div><div style="font-family:verdana,sans-serif">  *-network<br>       description: Wireless interface<br>       product: <span class="gmail_default" style="font-family:verdana,sans-serif"></span>RTL8822CE 802.11ac PCIe Wireless Network Adapter<br>       vendor: Realtek Semiconductor Co., Ltd.<br>       physical id: 0<br>       bus info: pci@0000:02:00.0<br>       logical name: wlp2s0<br>       version: 00<br>       serial: dc:e9:94:7c:4d:fd<br>       width: 64 bits<br>       clock: 33MHz<br>       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless<br>       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<br>       resources: irq:137 ioport:3000(size=256) memory:4d500000-4d50ffff</div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">I found related post: <a href="https://www.freebsd.org/cgi/man.cgi?re(4)" target="_blank">https://www.freebsd.org/cgi/man.cgi?re(4)</a></div><div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif"><span class="gmail_default" style="font-family:verdana,sans-serif"></span>dmesg | more | grep WLAN</div><div style="font-family:verdana,sans-serif">return nothing.<span class="gmail_default" style="font-family:monospace"></span></div></div></div></div></div></blockquote></div></div></blockquote><div><br></div><div><div style="font-family:monospace">(/visiting from future/)</div><div style="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="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div style="font-family:verdana,sans-serif"><div style="font-family:verdana,sans-serif"><a href="https://wiki.freebsd.org/WiFi/Rtw88" target="_blank">https://wiki.freebsd.org/WiFi/Rtw88</a></div><div style="font-family:verdana,sans-serif"><a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248235" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248235</a></div></div></div></div></blockquote><div><br></div><div><div style="font-family:monospace">Thank you for including the links; helps ...</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div style="font-family:verdana,sans-serif"><div style="font-family:verdana,sans-serif">Does that mean my device&#39;s wifi card is not supported by freebsd<span class="gmail_default" style="font-family:monospace">?</span></div></div></div></div></blockquote><div><br></div><div style="font-family:monospace">... as I understood, your Realtek WiFi card is in the state</div><div style="font-family:monospace">of getting proper support, development is on going. I got the</div><div style="font-family:monospace">impression that the card would be usable for unknown length of</div><div style="font-family:monospace">time. If it would stop to work &amp; would require a reboot, I would</div><div style="font-family:monospace">not be surprised.<br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace">
<div style="font-family:monospace">Whatever the state of current driver is, is not available from</div><div style="font-family:monospace">13.[0]1-RELEASE images; 12.x-RELEASE might not ever get the support.<br></div><div style="font-family:monospace"><br></div>

</div><div style="font-family:monospace">To test and/or use those changes, you would have to compile and</div><div style="font-family:monospace">install FreeBSD from source. Source is available via Git repository;</div><div style="font-family:monospace">need to use either &quot;stable/13&quot; (13-STABLE) or &quot;main&quot; (14-CURRENT)</div><div style="font-family:monospace">branch.</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">For background and details to compile the OS, including the kernel,</div><div style="font-family:monospace">see ...</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">  Updating and Upgrading FreeBSD: Using FreeBSD-STABLE,</div><div style="font-family:monospace">  <a href="https://docs.freebsd.org/en/books/handbook/cutting-edge/#stable" target="_blank">https://docs.freebsd.org/en/books/handbook/cutting-edge/#stable</a></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div><div style="font-family:monospace">- parv</div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace">-- <br></div><div style="font-family:monospace"></div><br></div></div></div>
</blockquote></div><div style="font-family:verdana,sans-serif" class="gmail_default"></div><div style="font-family:verdana,sans-serif" class="gmail_default">Hi,</div><div style="font-family:verdana,sans-serif" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif" class="gmail_default">Now I am using Ubuntu. <br></div><div style="font-family:verdana,sans-serif" class="gmail_default">So I need to apply  at least the following change[]1] at least to test <span class="gmail_default" style="font-family:verdana,sans-serif"></span>RTL8822CE wifi card.</div><div style="font-family:verdana,sans-serif" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif" class="gmail_default">I need to compile from source code, then make a memstick image, mount to a usb stick, then install from the usb pen drive.</div><div style="font-family:verdana,sans-serif" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif" class="gmail_default">If all things going well, dmesg | more | grep WLAN  should return something? Or how can I test if my wifi card is working.<br></div><div style="font-family:verdana,sans-serif" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif" class="gmail_default">[1]: <a href="https://cgit.freebsd.org/src/commit/?id=d3b0a58ee78ecdc5e2700e0aaaab21755496d148">https://cgit.freebsd.org/src/commit/?id=d3b0a58ee78ecdc5e2700e0aaaab21755496d148</a></div><div style="font-family:verdana,sans-serif" class="gmail_default"></div><div><br></div><br></div>

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