RealTek Network card not working

Let's try a known driver for Lenovo:
(That 2023 year bothers me)
I am assuming you are using Ethernet to connect. These are lengthy:

sudo apt clean && sudo apt autoremove && sudo apt update

sudo apt install -y git build-essential

git clone https://github.com/lwfinger/rtw89.git

cd rtw89

make

sudo make install

sudo mkdir /usr/lib/firmware/rtw89

sudo cp rtw8852a_fw.bin /usr/lib/firmware/rtw89/

sudo modprobe rtw89pci

Reboot and test...

If you are not connected to net, go to GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device and manually grab the files with the green Code Button at the top right. Move it to the non functioning machine with a transfer device like USB or phone...