![]() When he isn't working on a computer or DIY project, he is most likely to be found camping, backpacking, or canoeing. He has designed crossovers for homemade speakers all the way from the basic design to the PCB. He regularly repairs and repurposes old computers and hardware for whatever new project is at hand. Im trying to run the following command: curl It fails with error: curl: (6) Could not resolve host: I have tried something else, and it worked, e.g. ![]() Why would this be Samba & Miredo are installed windows samba Share Follow edited at 18:27 Braiam 66. 9 I have installed Ubuntu 20.04 LTS on WSL. Your /etc/hosts and /etc/hostname files will look like this, cat /etc/hostname HP-Pavilion cat /etc/hosts 127.0.0.1 localhost 127.0.1. 24 When I ping any local windows hostname from my Ubuntu machine I get 'unable to resolve host', but when I ping from a windows machine it works fine. So try to add the name to /etc/hosts file and also dont forget to add it to /etc/hostname file. He enjoys DIY projects, especially if they involve technology. 69 You changed the host name to HP-Pavilion, but its not in the file /etc/hosts. He also uses Proxmox to self-host a variety of services, including a Jellyfin Media Server, an Airsonic music server, a handful of game servers, NextCloud, and two Windows virtual machines. Add an entry for Wetter-Pi in /etc/hosts (e.g. He has been running video game servers from home for more than 10 years using Windows, Ubuntu, or Raspberry Pi OS. 19 Im setting up a Raspberry Pi for the first time, and have been SSHing into it on a Mac on the same network like so: ssh piraspberrypi.local However on my Windows 10 box (also on the same network) this hostname does not resolve. Ignore the error, I dont think it stops sudo working. Nick's love of tinkering with computers extends beyond work. 1 Answer Sorted by: 5 Sometimes, even if youve changed the host name via raspi-config, the settings dont stick. lookups would have to resolve every host name mentioned in nf during every. In college, Nick made extensive use of Fortran while pursuing a physics degree. local database user auth-method auth-options host database user. Before How-To Geek, he used Python and C++ as a freelance programmer. Host name is changing both hosts and hostname files in /etc. ![]() under Network Settings window, in the first tab named General. ![]() He has been using computers for 20 years - tinkering with everything from the UI to the Windows registry to device firmware. By the way, I find a much more easier way to change your Host name without any problems. Usually, this error occurs after changing the hostname of your system. Nick Lewis is a staff writer for How-To Geek. Sometimes we encounter an error sudo unable to resolve host. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |