The problem is that my routing table is wrong. In my routing table the gateway is '_gateway' instead of 10.0.0.1.
The ethernet is working but the wifi is not.
I tried sudo route add default gw 10.0.0.1
with no luck.
I installed the rtw89 driver for my Realtek 8852AE which doesn't work on my OS. Although my wifi is not working now this setup has worked in the past.
iwconfig
:
lo no wireless extensions.
enp2s0f0 no wireless extensions.
enp5s0 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:"mynetworkname"
Mode:Managed Frequency:5.22 GHz Access Point: E4:BF:FA:81:6E:48
Bit Rate=918.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal level=-26 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:43 Invalid misc:1316 Missed beacon:0
lsmod
:
Module Size Used by
udf 135168 1
crc_itu_t 16384 1 udf
cdrom 73728 1 udf
ctr 16384 2
ccm 20480 6
rfcomm 94208 4
cmac 16384 3
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 32768 6 algif_hash,algif_skcipher
bnep 28672 2
snd_acp3x_pdm_dma 16384 1
snd_soc_dmic 16384 1
snd_acp3x_rn 16384 2
snd_hda_codec_realtek 163840 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 73728 1
rtw_8852ae 16384 0
btusb 65536 0
rtw_8852a 679936 1 rtw_8852ae
btrtl 28672 1 btusb
snd_hda_intel 57344 10
btbcm 20480 1 btusb
btintel 32768 1 btusb
snd_intel_dspcfg 28672 1 snd_hda_intel
rtw89pci 65536 1 rtw_8852ae
soundwire_intel 45056 1 snd_intel_dspcfg
soundwire_generic_allocation 16384 1 soundwire_intel
bluetooth 753664 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rtw89core 454656 2 rtw89pci,rtw_8852a
uvcvideo 118784 0
snd_soc_core 319488 4 soundwire_intel,snd_acp3x_rn,snd_soc_dmic,snd_acp3x_pdm_dma
edac_mce_amd 32768 0
kvm_amd 118784 0
videobuf2_vmalloc 20480 1 uvcvideo
nls_ascii 16384 1
snd_compress 32768 1 snd_soc_core
videobuf2_memops 20480 1 videobuf2_vmalloc
nls_cp437 20480 1
jitterentropy_rng 16384 1
soundwire_cadence 36864 1 soundwire_intel
videobuf2_v4l2 36864 1 uvcvideo
vfat 20480 1
fat 86016 1 vfat
mac80211 995328 2 rtw89pci,rtw89core
kvm 937984 1 kvm_amd
videobuf2_common 65536 2 videobuf2_v4l2,uvcvideo
snd_hda_codec 176128 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
drbg 40960 1
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
videodev 294912 3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hwdep 16384 1 snd_hda_codec
soundwire_bus 94208 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
irqbypass 16384 1 kvm
ansi_cprng 16384 0
rapl 20480 0
joydev 28672 0
efi_pstore 16384 0
snd_pcm 143360 9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_acp3x_pdm_dma
pcspkr 16384 0
serio_raw 20480 0
ecdh_generic 16384 2 bluetooth
sp5100_tco 20480 0
mc 61440 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_rn_pci_acp3x 20480 0
ecc 36864 1 ecdh_generic
wmi_bmof 16384 0
ccp 110592 1 kvm_amd
k10temp 16384 0
cfg80211 983040 3 rtw_8852a,rtw89core,mac80211
watchdog 32768 1 sp5100_tco
snd_pci_acp3x 20480 0
tpm_crb 20480 0
ipmi_devintf 20480 0
snd_timer 49152 1 snd_pcm
ipmi_msghandler 118784 1 ipmi_devintf
thinkpad_acpi 122880 0
libarc4 16384 1 mac80211
nvram 16384 1 thinkpad_acpi
tpm_tis 16384 0
ledtrig_audio 16384 2 snd_hda_codec_generic,thinkpad_acpi
tpm_tis_core 28672 1 tpm_tis
ucsi_acpi 16384 0
snd 110592 34 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
typec_ucsi 49152 1 ucsi_acpi
tpm 73728 3 tpm_tis,tpm_crb,tpm_tis_core
typec 61440 1 typec_ucsi
soundcore 16384 1 snd
rng_core 16384 2 ccp,tpm
rfkill 32768 8 bluetooth,thinkpad_acpi,cfg80211
ac 16384 0
acpi_cpufreq 32768 0
evdev 28672 17
msr 16384 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 73728 3 parport_pc,lp,ppdev
fuse 167936 3
configfs 57344 1
efivarfs 16384 1
ip_tables 36864 0
x_tables 53248 1 ip_tables
autofs4 53248 2
ext4 942080 2
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 151552 1 ext4
btrfs 1589248 0
blake2b_generic 20480 0
dm_crypt 57344 1
dm_mod 163840 9 dm_crypt
raid10 65536 0
raid456 184320 0
async_raid6_recov 24576 1 raid456
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 2 btrfs,raid456
crc32c_generic 16384 0
raid1 53248 0
raid0 24576 0
multipath 20480 0
linear 20480 0
md_mod 188416 6 raid1,raid10,raid0,linear,raid456,multipath
mmc_block 57344 1
amdgpu 6713344 7
gpu_sched 49152 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
ttm 114688 1 amdgpu
drm_kms_helper 278528 1 amdgpu
crc32_pclmul 16384 0
crc32c_intel 24576 4
rtsx_pci_sdmmc 32768 0
cec 61440 1 drm_kms_helper
ehci_pci 20480 0
ghash_clmulni_intel 16384 0
xhci_pci 20480 0
mmc_core 192512 2 rtsx_pci_sdmmc,mmc_block
aesni_intel 372736 10
xhci_hcd 311296 1 xhci_pci
drm 626688 9 gpu_sched,drm_kms_helper,amdgpu,ttm
ehci_hcd 98304 1 ehci_pci
libaes 16384 2 bluetooth,aesni_intel
crypto_simd 16384 1 aesni_intel
psmouse 184320 0
nvme 49152 3
cryptd 24576 4 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
usbcore 331776 6 xhci_hcd,ehci_pci,uvcvideo,ehci_hcd,btusb,xhci_pci
r8169 102400 0
nvme_core 131072 5 nvme
realtek 24576 2
mdio_devres 16384 1 r8169
rtsx_pci 106496 1 rtsx_pci_sdmmc
libphy 155648 3 r8169,mdio_devres,realtek
i2c_piix4 28672 0
t10_pi 16384 1 nvme_core
crc_t10dif 20480 1 t10_pi
crct10dif_generic 16384 0
usb_common 16384 4 xhci_hcd,usbcore,uvcvideo,ehci_hcd
crct10dif_pclmul 16384 1
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
wmi 36864 1 wmi_bmof
battery 24576 1 thinkpad_acpi
video 61440 1 thinkpad_acpi
i2c_scmi 20480 0
button 24576 0
lspci.-nnk.grep.-iA2.net
:
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0e)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5081]
Kernel driver in use: r8169
Kernel modules: r8169
--
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:8852]
Subsystem: Lenovo Device [17aa:4852]
Kernel driver in use: rtw89_8852ae
--
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5081]
Kernel driver in use: r8169
Kernel modules: r8169
nmcli.dev.show.grep.DNS
:
IP4.DNS[1]: 75.75.75.75
IP4.DNS[2]: 75.75.76.76
IP6.DNS[1]: 2001:558:feed::1
IP6.DNS[2]: 2001:558:feed::2
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 600 0 0 wlp3s0
10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0