Posts

Showing posts from January, 2025

Horror - Win 11 Installed and Messes up WSL!

Not sure how many hundreds of GBs of downloading was wasted trying to install Win 11, but, despite my best efforts to put it off, I got screwed today. Stepped away from the desk and returned to find a clunky looking UI. Worst of all, good old WSL Terminal (MinTTY) doesn't get interactive anymore. Why? Starts up with double-click on desktop icon and then vanishes. Autohotkey also messed up - my beloved KDE style drag/resize not working anymore - as in, not cleanly.. One cool feature (this is after I got WSL back), when I went to the Windows file-system within WSL - thinking it's a good idea to keep stuff in one place, and did an ls, I get a pop-up saying it's not a good idea to work across file systems - I'll see a loss of performance. Explained here: https://learn.microsoft.com/en-us/windows/wsl/filesystems#file-storage-and-performance-across-file-systems In fairness, I would have saved myself a tonne of time if I'd just looked at my own blog and seen that all I had...

/etc/resolv.conf

# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf : # [network] # generateResolvConf = false has just one nameserver listed, and I can't reach ubuntu. What's to be done? chatGPT says add: nameserver 8.8.8.8 nameserver 8.8.4.4 I try that, and, when get back in - there's just the automatically generated nameserver entry. If I try editing (even as sudo), I get "no such file or dir" Luckily, chatG eventually delivers.. Step 1: Remove Existing Symlink or Stale Reference Sometimes, /etc/resolv.conf in WSL is a symlink or dynamically managed file. Check if /etc/resolv.conf Exists as a Symlink: bash Copy code ls -l /etc/resolv.conf If it shows something like: javascript Copy code resolv. conf -> /run/ resolvconf/resolv. conf You’ll need to remove it. Remove the File or Symlink: bash Copy code sudo rm /etc/resolv.conf