Re:_​installed_freebsd_but_cannot_config_wifi_netw ork

From: jian he <jian.universality_at_gmail.com>
Date: Tue, 24 Jan 2023 07:44:10 UTC
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