{"id":66962,"date":"2024-11-22T09:43:59","date_gmt":"2024-11-22T08:43:59","guid":{"rendered":"https:\/\/ekiwi-blog.de\/66962\/linux-wireguard-failed-to-resolve-interface-2\/"},"modified":"2024-11-22T09:43:59","modified_gmt":"2024-11-22T08:43:59","slug":"linux-wireguard-failed-to-resolve-interface-2","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/66962\/linux-wireguard-failed-to-resolve-interface-2\/","title":{"rendered":"Linux Wireguard: Failed to resolve interface"},"content":{"rendered":"<p>After updating to the 22 version of Linux Mint, an error message appeared in Wireguird.<\/p>\n<p><!--more--><\/p>\n<p>Yesterday I updated to the new Linux version of Linux Mint. This is based on Ubuntu 22 and it looks like an <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/wireguard\/+bug\/1992491\" target=\"_blank\" rel=\"noopener noreferrer\">error has crept in<\/a>. In any case, there is this unsightly error message:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_0.png\" alt=\"\" width=\"866\" height=\"488\" class=\"aligncenter size-full wp-image-66954\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_0.png 866w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_0-300x169.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_0-768x433.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><\/p>\n<pre>\r\nerror\r\nexit status 1\r\nwg-quick's output:\r\n[#] ip link add wg_config type wireguard\r\n[#] wg setconf wg_config \/dev\/fd\/63\r\n[#] ip -4 address add 192.168.178.206\/24 dev wg_config\r\n[#] ip link set mtu 1420 up dev wg_config\r\n[#] resolvconf -a tun.wg_config -m 0 -x\r\nFailed to resolve interface \"tun.wg_config\": No such device\r\n[#] ip link delete dev wg_config\r\n<\/pre>\n<p>The workaround is to remove &#8220;resolvconf&#8221; with &#8220;purge&#8221; and then restart the computer.<\/p>\n<pre>\r\nsudo apt purge resolvconf\r\n<\/pre>\n<p>Then it worked again.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_1.png\" alt=\"\" width=\"487\" height=\"243\" class=\"aligncenter size-full wp-image-66958\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_1.png 487w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wireguird_1-300x150.png 300w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>After updating to the 22 version of Linux Mint, an error message appeared in Wireguird.<\/p>\n","protected":false},"author":1,"featured_media":23180,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682,2629],"class_list":["post-66962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en","tag-vpn-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=66962"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66962\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/23180"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=66962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=66962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=66962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}