On Mon 17 Jul 2023 at 10:58:43 (-0400), Default User wrote:
> On Sun, 2023-07-16 at 17:21 -0400, Maureen L Thomas wrote:
> > So I have been snooping around the system and found this message in
> > the lshw command:
> >  *-generic DISABLED
> >  description: Wireless interface
> >  product: RTL8821CE 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: ff
> >  serial: 3e:c2:77:77:6a:31
> >  width: 32 bits
> >  clock: 66MHz
> >  capabilities: bus_master vga_palette cap_list ethernet physical
> > wireless
> >  configuration: broadcast=yes driver=rtw_8821ce driverversion=5.10.0-
> > 23-amd64 firmware=N/A latency=255 link=no maxlatency=255 mingnt=255
> > multicast=yes wireless=IEEE 802.11
> >  resources: irq:129 ioport:d000(size=256) memory:df000000-df00ffff
> > 
> > Could this be part of the problem.  I have no wifi so that is part of
> > the problem.  This is Disabled so how do I enable it?   
> 
> I don't mean to butt in,

Don't worry—that's what we all do on a mailing list.

> but just wanted to give you some
> reassurance/encouragement.  The wireless adapter you have certainly
> should work (barring a hardware problem).  I have the same exact one,
> and it works fine!  
> 
> I am running Debian 12 (Bookworm) now, but the setup was upgraded in
> 2023-06 from Debian 11 (Bullseye).  It worked fine on Debian 11
> (Bullseye), at least under Debian 11.6. 
> 
> >From my current setup:
> 
> lshw:
> . . . 
>  *-network DISABLED
>                 description: Wireless interface
>                 product: RTL8821CE 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: xx:xx:xx:xx:xx:xx
>                 width: 64 bits
>                 clock: 33MHz
>                 capabilities: pm msi pciexpress bus_master cap_list
> ethernet physical wireless
>                 configuration: broadcast=yes driver=rtw_8821ce
> driverversion=6.1.0-10-amd64 firmware=N/A latency=0 link=no

Can you confirm that firmware has been loaded onto your system:

  # dmesg | grep -B1 -A2 rtl8821

(ie, the binary blob, not the .deb package). IOW, does firmware=N/A
merely mean Not Applicable, because the device doesn't need or load it.

> multicast=yes wireless=IEEE 802.11
>                 resources: irq:135 ioport:3000(size=256)
> memory:70800000-7080ffff 
> . . . 
> 
> from lsmod:
> . . . 
> rtw88_8821c            90112  1 rtw88_8821ce
> rtw88_pci              28672  1 rtw88_8821ce
> . . . 
> rtw88_core            192512  2 rtw88_pci,rtw88_8821c
> . . . 
> 
> And firmware-realtek is installed.
> 
> >From sudo aptitude show firmware-realtek:
> Package: firmware-realtek                
> Version: 20230210-5
> State: installed
> Automatically installed: no
> Multi-Arch: foreign
> Priority: optional
> Section: non-free-firmware/kernel
> Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
> Architecture: all
> Uncompressed Size: 7,046 k
> Suggests: initramfs-tools
> Description: Binary firmware for Realtek wired/wifi/BT adapters
>  This package contains the binary firmware for Realtek Ethernet, wifi
> and Bluetooth adapters
>  supported by various drivers. 
>  
>  Contents: 
> . . . 
> * Realtek RTL8821C Bluetooth config (rtl_bt/rtl8821c_config.bin,
> rtl_bt/rtl8821a_config.bin) 
>  * Realtek RTL8821C Bluetooth firmware (rtl_bt/rtl8821c_fw.bin) 
> . . . 
> 
> However, I am puzzled as to why aptitude says firmware-realtek is:
> State: installed
> Automatically installed: no
> since I never installed it manually, the wireless adapter just worked
> "right out of the box".
> 
> Note: Debian 11 was originally installed using using the Debian 11.6
> "nonfree" iso.  

As you used the nonfree/firmare ISO, the d-i detected the wifi device
and installed the appropriate firmware, included on the ISO, to make
it work. This typically happens just before installation-report and
popularity-contest, and the latter's question. The package appears
to be "manual" rather than "auto" because AIUI the d-i is installing
it, not APT.

I have no idea how the OP installed their system, whether they did it
through wifi, and which ISO they used. (Nor what "the /same/ problems"
are in the Subject line). Even if the original installation was done
with wifi, the fate that befalls the wifi configuration depends on
the choices made in the task selector. My beef has always been that
choosing a non-DE installation, as I do, results in the wifi
configuration being removed moments before the d-i reboots.

Cheers,
David.

Reply via email to