<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>NetworkManager on Documentation</title><link>https://docs.ayshell.dev/tags/networkmanager/</link><description>Recent content in NetworkManager on Documentation</description><generator>Hugo -- 0.147.5</generator><language>en</language><lastBuildDate>Sun, 23 Feb 2025 18:16:08 +0530</lastBuildDate><atom:link href="https://docs.ayshell.dev/tags/networkmanager/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started with nmcli (NetworkManager CLI)</title><link>https://docs.ayshell.dev/posts/nmcli/nmcli/</link><pubDate>Sun, 23 Feb 2025 18:16:08 +0530</pubDate><guid>https://docs.ayshell.dev/posts/nmcli/nmcli/</guid><description>&lt;h1 id="what-is-nmcli">What is &lt;code>nmcli&lt;/code>?&lt;/h1>
&lt;p>The &lt;code>nmcli&lt;/code> means &lt;strong>NetworkManager Command Line Interface&lt;/strong>. It&amp;rsquo;s command-line utility tool used for controlling &lt;code>NetworkManager&lt;/code> and reporting network status.&lt;/p>
&lt;p>&lt;em>In simple terms, we use that to interact with network related devices.&lt;/em>&lt;/p>
&lt;h2 id="how-to-use-it">How to use it?&lt;/h2>
&lt;p>I don&amp;rsquo;t have proper way to explain, but let&amp;rsquo;s learn it with a case-scenario:&lt;/p>
&lt;h3 id="connect-to-a-wifi-network">Connect to a wifi network:&lt;/h3>
&lt;ol>
&lt;li>Turn on the &lt;code>wifi&lt;/code> module:&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>sudo nmcli radio wifi on
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="2">
&lt;li>List the available networks:&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>sudo nmcli device wifi list
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>In case, it didn&amp;rsquo;t display any network, please &lt;code>rescan&lt;/code> the available network and list it:&lt;/p></description></item></channel></rss>