{"id":327993,"date":"2021-08-20T15:00:04","date_gmt":"2021-08-20T12:00:04","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/"},"modified":"2021-08-20T15:00:04","modified_gmt":"2021-08-20T12:00:04","slug":"how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/","title":{"rendered":"#How to Manage Linux Wi-Fi Networks With Nmtui \u2013 CloudSavvy IT"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2fb41ae8b7e\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2fb41ae8b7e\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/#Main_Menu\" >Main Menu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/#Connecting_to_a_Network\" >Connecting to a Network<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/#Viewing_Saved_Connections\" >Viewing Saved Connections<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-manage-linux-wi-fi-networks-with-nmtui-cloudsavvy-it\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#How to Manage Linux Wi-Fi Networks With Nmtui \u2013 CloudSavvy IT&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<figure style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage size-full wp-image-13867\" srcset=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/2fec7793.jpg?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/2fec7793.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/2fec7793.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Photo of hands typing on a laptop\" width=\"1200\" height=\"675\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.shutterstock.com\/image-photo\/hands-on-laptop-keyboard-dark-room-698056201\">herrvonfuchs\/Shutterstock.com<\/a><\/span><\/figcaption><\/figure>\n<p>Nmtui is a terminal <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lication which lets you manage your Wi-Fi connections on Linux distributions that use NetworkManager. It exposes most of the functionality of the Nmcli CLI in a basic graphical interface.<\/p>\n<p>Nmtui is short for Network Manager Text User Interface. It presents a curses-based TUI containing interactive prompts. Whereas nmcli commands can be complex and tricky to remember, a single <code>nmtui<\/code> invocation drops you into a set of menus that help you configure your connections.<\/p>\n<h2 id=\"main-menu\"><span class=\"ez-toc-section\" id=\"Main_Menu\"><\/span>Main Menu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Running <code>nmtui<\/code> with no arguments displays a menu of three options. Use your arrow keys to highlight an item, then press enter to select it.<\/p>\n<ul>\n<li><strong>Edit a connection<\/strong> \u2013 This sub-menu provides options to add, edit, and delete known connections.<\/li>\n<li><strong>Activate a connection<\/strong> \u2013 This screen shows the Wi-Fi networks you\u2019re within range of and lets you open a connection.<\/li>\n<li><strong>Set system hostname<\/strong> \u2013 Displays a popup prompt that lets you edit your machine\u2019s hostname. This change will take effect across your system.<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13874\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/7d3cc700.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"888\" height=\"510\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can jump straight to one of these menus by supplying <code>nmtui<\/code> an appropriate argument:<\/p>\n<ul>\n<li><code>nmtui edit<\/code> or <code>nmtui-edit<\/code>\u2013 Show the edit screen.<\/li>\n<li><code>nmtui connect<\/code> or <code>nmtui-connect<\/code> \u2013 Show the connections screen.<\/li>\n<li><code>nmtui hostname<\/code> or <code>nmtui-hostname<\/code> \u2013 Launch the hostname editing prompt.<\/li>\n<\/ul>\n<p>You can get out of the menu by highlighting the \u201cQuit\u201d option or pressing Esc. When you\u2019ve <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/trip-and-travel\/\" data-internallinksmanager029f6b8e52c=\"10\" title=\"Trip &amp; Travel\" target=\"_blank\" rel=\"noopener\">travel<\/a>ed down through multiple screens, keep pressing Esc to navigate back up and eventually leave the program.<\/p>\n<h2 id=\"connecting-to-a-network\"><span class=\"ez-toc-section\" id=\"Connecting_to_a_Network\"><\/span>Connecting to a Network<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Connections are enabled via the \u201cActivate a connection\u201d screen. You\u2019ll see a list of all the nearby Wi-Fi networks, including a bar graph indication of signal strength.<\/p>\n<p>Use the up and down arrow keys to select the network you want to join. Either press Enter or tab across to the \u201cActivate\u201d button to complete the connection. You\u2019ll be prompted to enter the network\u2019s password if it has protection.<\/p>\n<p>One limitation of the connection screen is the absence of a \u201cscan for available networks\u201d button. The list does refresh periodically but it can take up to a minute to present a network you\u2019ve just come within range of.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13873\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/3bedbafe.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"964\" height=\"537\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can use nmtui\u2019s CLI-based counterpart, <code>nmcli<\/code>, to force an im<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">media<\/a>te rescan. Drop out of nmtui and run <code>nmcli rescan<\/code> in your terminal. Run <code>nmtui connect<\/code> again to launch back into the graphical network selection screen which should now be refreshed with up-to-date options.<\/p>\n<p>Nmtui\u2019s activation screen also lets you disconnect from networks. Scroll to your connection in the list and hit Enter to go offline. You don\u2019t need to manually deactivate if you\u2019re switching to another network: find the new one in the list and press Enter to connect in one step.<\/p>\n<h2 id=\"viewing-saved-connections\"><span class=\"ez-toc-section\" id=\"Viewing_Saved_Connections\"><\/span>Viewing Saved Connections<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The \u201cEdit a connection\u201d menu lists all the Wi-Fi networks known to your device. Select a connection for editing by highlighting it with the arrow keys, pressing Tab to get to the right sidebar menu, and then highlighting the \u201cEdit\u2026\u201d option. Press Enter to display the connection\u2019s details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13876\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/b92e19d5.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"964\" height=\"537\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Use the form to adjust your network\u2019s properties. The \u201cprofile name\u201d field at the top changes the network\u2019s display name within Nmtui. This is independent of the Wi-Fi SSID which is set two fields down. It\u2019s followed by a \u201cPassword\u201d field so you can apply any Wi-Fi password changes you\u2019ve made on your router.<\/p>\n<p>The following sections, IPv4 Configuration and IPv6 Configuration, give you advanced control over network access and routing. Use the arrow keys to highlight the \u201cShow\u201d button, then press Enter to access these sections. You\u2019ll see new fields that let you assign a static IP address, set a gateway IP, and customize your DNS servers.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13878\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/a9674448.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"932\" height=\"552\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Checkboxes at the bottom of the screen control the network\u2019s availability. Clear the \u201cAutomatically connect\u201d field to stop your device using the network whenever it\u2019s in range. This is ideal for infrequently used or potentially insecure networks. The \u201cavailable to all users\u201d checkbox controls whether other Linux user accounts can access this network using your stored credentials.<\/p>\n<p>Once you\u2019re done with your edits, use the arrow keys to reach the Cancel and OK buttons at the bottom of the form. Tab across to \u201cOK\u201d and press Enter to save.<\/p>\n<p>Nmtui\u2019s list of stored connections also lets you add new networks without connecting to them first. Select the \u201cAdd\u201d link in the right sidebar, above the \u201cEdit\u2026\u201d button used above, to get a blank connection details form that lets you fill out the SSID and password to save. Known networks can be deleted by selecting them in the list, tabbing across to the right sidebar, and using the arrow keys to highlight \u201cDelete\u201d.<\/p>\n<h2 id=\"summary\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Nmtui is a simple interface to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/wiki.debian.org\/NetworkManager\">NetworkManager<\/a>, the system daemon responsible for initializing and maintaining network connections. Nmtui lets you take control of your networks without leaving your terminal or learning long command strings. You can activate connections, edit their properties, and remove them from your system using Nmtui\u2019s interactive menus.<\/p>\n<p>While we\u2019ve focused on Wi-Fi connections in this article, Nmtui is also compatible with wired and virtual networking devices. You\u2019ll see these at the bottom of the \u201cEdit a connection\u201d menu. Selecting any of the connections will let you edit its IP addresses and DNS settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13875\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/6e8024ec.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"966\" height=\"539\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>For more advanced control, you\u2019ll need to look behind the scenes and use <code>nmcli<\/code> directly. This command-line tool exposes all the capabilities of NetworkManager, including hardware controls for your system\u2019s network devices.<\/p>\n<p>You can get detailed guidance on using both Nmtui and Nmcli by reading their respective manual pages. <code>man nmtui<\/code> and <code>man nmcli<\/code> contain instructive information on the available commands and flags.\n<\/div>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.cloudsavvyit.com\/13866\/how-to-manage-linux-wi-fi-networks-with-nmtui\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How to Manage Linux Wi-Fi Networks With Nmtui \u2013 CloudSavvy IT&#8221; herrvonfuchs\/Shutterstock.com Nmtui is a terminal application which lets you manage your Wi-Fi connections on Linux distributions that use NetworkManager. It exposes most of the functionality of the Nmcli CLI in a basic graphical interface. Nmtui is short for Network Manager Text User Interface. It&#8230;<\/p>\n","protected":false},"author":1,"featured_media":327994,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/08\/2fec7793.jpg","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-327993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/327993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=327993"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/327993\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/327994"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=327993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=327993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=327993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}