![]() ![]() Troubleshooting: cat /etc/nf # check contentĬhattr -i /etc/nf # make resolve. In separate WSL shell as root user sudo su - run: NOTE: My WSL Distro is Fedora you may need to use a different package manager. Download Packages and Make nf immutable.in script below with actual IPs from step 1. Script loops for 300 second, pausing for 1 second in between. GenerateResolvConf=false" > /etc/wsl.conf To Automate this see: Create Windows Scheduled Task for Auto update Get-NetAdapter | Where-Object | Set-NetIPInterface -InterfaceMetric 6000 Rank Interface Metric every time you reconnect to VPN.Concurrently, in a separate shell, download packages that can make nf immutable. ![]() Run a script in bash shell that constantly updates nf. This prevented me from downloading packages that can make nf immutable. Problem: While my pc was connected to the VPN, WSL Network manager kept overwriting /etc/nf. I have tried something else, and it worked, e.g. I'm trying to run the following command: curl Ĭurl: (6) Could not resolve host: Last edited by ClientAlive June 1st, 2011 at 08:19 PM.I have installed Ubuntu 20.04 LTS on WSL. If one part gets thrown out of balance the rest of it messes up too. Or, to use our solar system as an example - each part works together to form the whole. I gather that most things are connected to one another in some way. It's just that these two things seem like they would be connected to one another - not separate. Not sure if I'm thinking about these things right or not though. The other is that the keyring be separated from the right password - except that I checked out what the password is set to in the keyring and it is the new one. One is that when I edit the hostname in those files things become separated between the hostname and the keyring. The server name is brittnuc, and I see the following in /etc/hosts: GNU nano 6.2 /etc/hosts 127.0.0.1 localhost 127.0.1. I mean, I can imagine two ways that things could go wrong on me. When I ssh into the server and use sudo, I get sudo: unable to resolve host brittnuc: Name or service not known. I'll google it right now though.Įdit: The keyring thing is kind of concerning to me also. Is there anything I can to to cover myself if some mistake were to be made and I got locked out of my computer or something? Is there some file or something I can save to my thumb drive or some way I could roll things back in case something goes wrong?Īlso I have never used recovery mode with Linux, nor have I ever read anything about how to do it or how it works. I'm having a hard time recalling which method I used to change the host name but I'm relatively certain I did that through the command line. That's the only way I know how to do that. I changed the password via the gui (system > administration > users and groups > ). ![]() Note: sudo works fine, it just complains, so you can edit it with the machine running instead of having to boot into recovery mode. ![]() Did you change your user account password from the commandline or via GUI?Īs for the "unable to resolve host" thing, it happens when you change hostnames.Įdit the /etc/hosts file and replace the old name with the new name. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |