Wired connection gone missing

![image|690x387](upload://7omUuKQ3P9C7cVqPqsNDO6GzfmE.png

i used my laptop as dial-up internet connection but after some time my wired settings is now gone

Can you please post the terminal output of

sudo lshw -C network



sorry i am a little to late

Given your output, the driver is present and supported.
We can still check that driver, but in the meantime, are you able to connect to the net by resetting the settings information?
Is it forgetting your settings or is it not connecting in spite of the settings being properly configured?

no, i tired connecting ethernet.but it does not even shows up

Ethernet and Wifi both are not working?
Are you able to temporarily connect using Phone Hotspot?

Wifi is working but the whole Ethernet is vanished

Ah, I see...
what terminal output do you get for

sudo apt update && sudo apt install r8168-dkms

Have you rebooted and tested the connection?

yes but nothings working is there any solution without reinstalling the os ?

Are you dual booting Windows? If not, disable Secure Boot in your BIOS / EFI settings, then test...
It shows it as signed, but it is worth trying.