I got a new laptop some days ago. It’s installed using manjaro XFCE minimal iso on usb.
Frequently I experience that DNS does not work when connecting to a wifi. What I’ve noticed is that there is no DNS servers listed in /etc/resolv.conf
The workaround is to disable wifi (hardware switch), wait 15+ seconds, then reenable wifi. Then usually resolv.conf is updated and network works normally, until the next time I connect to a wifi (another wifi, or the same after sleep, or if I go out of range and comes back)
If l wait less than 15 seconds, the DNS issue is never resolved.
While resolv.conf is emtpy I can use internet with IP addresses. I can access URLs if I put the ip and hostname into /etc/hosts. DNS seems to be the only part of the wifi connect / DHCP lease process that is missing.
It seems like the DHCP-client that runs after wifi connect simply forget to update the resolv.conf. It does update IP and gateway.
How can this be debugged? Is there any debug option to the DHCP-client? Could it be that the client simply does not receive DNS from the DHCP server?
The other manjaro laptop in the household does never experience any issues with the same wifi. And the laptop experiencing issues is identical in hardware to the one that was stolen some weeks ago, which never had any such issues either. From that I’m thinking that if this is a driver issue, it must be related to something being updated during the past 2 months.
This laptop runs kernel 6.9.9-1. The stolen laptop ran kernel 6.6.40-1 LTS. Also the other laptop in the household runs kernel 6.6.40-1 LTS.
I was thinking about that. But figured the next LTS might not be so far away. I could test 6.9 for a while. I’ll collect a bit more information before changing anything.
Failed to write file “/var/lib/NetworkManager/internal-72d813a8-14c9-45b0-8604-95147abef2a3-wlp2s0.lease.UHJQR2”: fsync() failed: Structure needs cleaning
It surely is a filesystem issue. The output of:
tune2fs -l /dev/mapper/xxxx
Mount count: 3
Maximum mount count: -1
FS Error count: 11
First error time: Wed Jul 24 17:45:20 2024
First error function: ext4_validate_block_bitmap
First error line #: 423
First error err: EFSCORRUPTED
Last error time: Thu Jul 25 12:18:09 2024
Last error function: ext4_free_inode
Last error line #: 362
Last error err: EFSCORRUPTED
Your issue might only reveal itself using kernel 6.9, so reverting to 6.6 is a viable consideration, especially as your other laptop(s) using 6.6 do not exhibit the issue.
Remember, you can always install kernel 6.9 (again) if reverting to 6.6 doesn’t produce results.
It became quite clear that this is a filesystem issue.
I’ll see if it gets fixed as soon as the laptop is free for a reboot. And if it comes back. I really hope filesystem issues is not caused by kernel issues…
Then, if you’re starting a new topic for that (as I now read), please mark that post (or perhaps the post from @megavolt ) as the solution, and link to this thread in the new thread for some context.
LTS kernels are usually the last kernel released during that year, which can be anytime from the end of October to the end of December. So you still have 3 to 5 months before the next LTS kernel will be announced: