{"id":3439,"date":"2024-07-10T00:00:48","date_gmt":"2024-07-10T00:00:48","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3439"},"modified":"2024-08-04T17:35:15","modified_gmt":"2024-08-04T17:35:15","slug":"connecting-to-wifi-network-from-cli","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/","title":{"rendered":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager"},"content":{"rendered":"<div class=\"cl-preview-section\">\n<p>NetworkManager is a powerful tool designed to simplify the management of network connections on Linux systems. Whether you\u2019re working with wired connections, WiFi, or mobile broadband, NetworkManager provides a consistent and straightforward interface to configure and manage these connections. It handles various networking tasks in the background, making it easier to connect to and manage networks without delving into complex configuration files.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>One of the significant benefits of using NetworkManager is its ability to streamline network management through a unified toolset. By leveraging NetworkManager, you can manage network connections, troubleshoot issues, and configure settings efficiently. This guide will focus on using NetworkManager from the command line to connect to a WiFi network, offering a powerful alternative to graphical interfaces.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>In this guide, you will learn how to connect to a WiFi network using NetworkManager from the command line in Linux.<\/p>\n\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>To follow this guide, you should have a basic understanding of the Linux command line. Familiarity with terminal commands and navigation is essential as we will use various command-line utilities to interact with NetworkManager. If you\u2019re new to the command line, ensure you\u2019re comfortable with commands like <code>cd<\/code>,\u00a0<code>ls<\/code>, and\u00a0<code>man<\/code>\u00a0to navigate and access documentation.<\/li>\n<li>Ensure you can access a Linux system where NetworkManager is installed and running. By default, NetworkManager is typically included in most modern Linux distributions. However, if it\u2019s not installed on your system, you must install it using your distribution\u2019s package manager.<\/li>\n<li>Certain network configuration tasks require elevated permissions. Ensure you have root or sudo access to perform these actions. If you don\u2019t have sufficient permissions, you might encounter errors when attempting to configure or connect to networks. Using\u00a0<code>sudo<\/code>\u00a0will allow you to execute commands with the necessary privileges to manage network settings.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-1-verify-networkmanager-installation\">Step 1: Verify NetworkManager Installation<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Before you can use NetworkManager to connect to a WiFi network, it\u2019s crucial to verify that NetworkManager is installed on your system. You can check its presence by querying its version using the\u00a0<code>nmcli<\/code>\u00a0command, which is part of the NetworkManager package. Run the following command in your terminal:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli --version\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This command will display the version of NetworkManager if it\u2019s installed. If NetworkManager is not installed, you\u2019ll receive an error message indicating that the command is not found.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If NetworkManager is not installed on your system, you\u2019ll need to install it. The installation process varies depending on your Linux distribution. Use the appropriate command for your system:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For Debian\/Ubuntu-based distributions:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> network-manager\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For Fedora:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> NetworkManager\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For Arch Linux:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> pacman -S networkmanager\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>These commands will install NetworkManager and ensure you have the necessary tools to manage network connections from the command line.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-2-list-available-wifi-networks\">Step 2: List Available WiFi Networks<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Once NetworkManager is installed, you can use it to scan for available WiFi networks. This step will help you identify the networks within range that you can connect to. Run the following command to list all available WiFi networks:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli dev wifi list\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This command will output a list of WiFi networks detected by your system. The output includes details such as SSID (network name), signal strength, and security settings.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>The output of the\u00a0<code>nmcli dev wifi list<\/code>\u00a0command will display several columns, including:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>SSID<\/strong>: The name of the WiFi network.<\/li>\n<li><strong>SIGNAL<\/strong>: The signal strength of the network, typically shown as a percentage.<\/li>\n<li><strong>SECURITY<\/strong>: The type of security protocol used by the network (e.g., WPA2).<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Understanding this information helps you select the right network to connect to based on signal strength and security requirements.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<div class=\"cl-preview-section\">\n<h2 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Looking for reliable and budget-friendly Virtual Private Server (VPS) hosting? Look no further than\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers<\/a>. Dracula Servers offers a range of VPS hosting plans tailored to meet diverse needs. With competitive pricing, robust performance, and a user-friendly interface, it\u2019s an excellent choice for individuals and businesses alike.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers website<\/a> to discover hosting solutions that align with your requirements and take your online presence to new heights with their affordable and efficient VPS hosting services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><a href=\"https:\/\/draculaservers.com\/\"><strong>Visit Dracula Servers<\/strong><\/a>\u00a0and experience reliable VPS hosting without breaking the bank.<\/p>\n<\/div>\n<h2 id=\"step-3-connect-to-a-wifi-network\">Step 3: Connect to a WiFi Network<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To connect to a WiFi network using NetworkManager from the command line, you need the SSID (network name) and the password. The\u00a0<code>nmcli<\/code>\u00a0command provides a straightforward way to establish this connection. Use the following command structure to connect:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli dev wifi connect <span class=\"token punctuation\">[<\/span>SSID<span class=\"token punctuation\">]<\/span> password <span class=\"token punctuation\">[<\/span>PASSWORD<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Here\u2019s an example command to connect to a network named \u201cMyNetwork\u201d with the password \u201cMyPassword\u201d:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli dev wifi connect <span class=\"token string\">\"MyNetwork\"<\/span> password <span class=\"token string\">\"MyPassword\"<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Replace\u00a0<code>\"MyNetwork\"<\/code>\u00a0and\u00a0<code>\"MyPassword\"<\/code>\u00a0with the actual SSID and password of the WiFi network you wish to connect to. NetworkManager will handle the authentication and connection process.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-4-verify-the-connection\">Step 4: Verify the Connection<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Once you\u2019ve connected to a WiFi network, you should verify that the connection is active. Use the following commands to check the status of your network connections:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To see a list of all active connections:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli connection show --active\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To get a summary of device statuses, including whether they are connected:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli dev status\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>These commands will provide you with information about the current network connections and their statuses.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"troubleshoot-connection-issues\">Troubleshoot Connection Issues<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If you encounter issues connecting to the network, common problems may include incorrect passwords, network interference, or issues with NetworkManager. Here are some troubleshooting steps:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Incorrect Password<\/strong>: Ensure that the password you entered is correct and matches the network\u2019s password.<\/li>\n<li><strong>Network Interference<\/strong>: Verify that you are within range of the WiFi network and that there are no interferences.<\/li>\n<li><strong>NetworkManager Service<\/strong>: Check if NetworkManager is running properly with:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> systemctl status NetworkManager\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If the service is not running, restart it:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> systemctl restart NetworkManager\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-5-disconnect-from-a-wifi-network\">Step 5: Disconnect from a WiFi Network<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To disconnect from the currently connected WiFi network, you can use the\u00a0<code>nmcli<\/code>\u00a0command. Here\u2019s the command structure to disconnect:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli connection down <span class=\"token function\">id<\/span> <span class=\"token punctuation\">[<\/span>SSID<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For example, to disconnect from a network named \u201cMyNetwork,\u201d you would use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">nmcli connection down <span class=\"token function\">id<\/span> <span class=\"token string\">\"MyNetwork\"<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This command will terminate the connection to the specified network, and your system will no longer be connected to it.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"wrap-up\">Wrap Up<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>In this guide, we explored how to connect to a WiFi network from the command line using NetworkManager on Linux. We covered everything from verifying NetworkManager\u2019s installation to connecting, verifying, and disconnecting from WiFi networks. By following these steps, you can efficiently manage your network connections directly from the terminal.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Remember, NetworkManager simplifies network management and offers powerful command-line tools for network configuration. Regularly check your connection status and troubleshoot any issues to maintain a stable network environment.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"faqs\">FAQs<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Q: How do I find out which WiFi networks are available?<\/strong><br \/>\nA: You can use the command\u00a0<code>nmcli dev wifi list<\/code>\u00a0to scan and display a list of available WiFi networks. This command shows details like SSID, signal strength, and security type.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Q: What should I do if the connection command fails?<\/strong><br \/>\nA: Check for typos in the SSID or password. Ensure NetworkManager is running and that you have the necessary permissions. Use\u00a0<code>nmcli dev status<\/code>\u00a0to verify your network interface is up and running.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Q: How can I reconnect to a previously used network?<\/strong><br \/>\nA: Use\u00a0<code>nmcli connection up id [SSID]<\/code>\u00a0to reconnect to a network you\u2019ve connected to before, replacing\u00a0<code>[SSID]<\/code>\u00a0with the network\u2019s SSID.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Q: How do I know if I\u2019m connected to the network successfully?<\/strong><br \/>\nA: Run\u00a0<code>nmcli connection show --active<\/code>\u00a0to view active connections. This command will list all currently connected networks and their details.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"tips-based-on-user-experience\">Tips Based on User Experience<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Tip 1: Double-Check Credentials<\/strong><br \/>\nAlways double-check the SSID and password before attempting to connect. A small typo can prevent successful connection.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Tip 2: Use the Correct Syntax<\/strong><br \/>\nEnsure you use the correct syntax for commands. For example, remember to enclose SSID and password in quotes if they contain spaces.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Tip 3: Monitor Connection Status<\/strong><br \/>\nRegularly use\u00a0<code>nmcli dev status<\/code>\u00a0to monitor the status of your network interfaces and ensure they are active and functioning correctly.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Tip 4: Troubleshoot with Logs<\/strong><br \/>\nIf you encounter issues, check system logs for more detailed error messages. Commands like\u00a0<code>journalctl -xe<\/code>\u00a0can provide additional insights into connectivity problems.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Tip 5: Keep NetworkManager Updated<\/strong><br \/>\nEnsure that NetworkManager and your system are up-to-date to avoid compatibility issues and benefit from the latest features and bug fixes.<\/p>\n<p>Check out More Linux Tutorials <a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Here!<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>NetworkManager is a powerful tool designed to simplify the management of network connections on Linux systems. Whether you\u2019re working with wired connections, WiFi, or mobile broadband, NetworkManager provides a consistent and straightforward interface to configure and manage these connections. It handles various networking tasks in the background, making it easier to connect to and manage [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3440,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,172],"tags":[570,568,569],"class_list":["post-3439","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-basics","category-linux-tutorials","tag-connecting-to-wifi-on-linux-through-command-line","tag-using-network-manager-with-cli","tag-using-terminal-to-connect-to-wifi-on-linux"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>NetworkManager is a powerful tool designed to simplify the management of network connections on Linux systems. Whether you\u2019re working with wired connections, WiFi, or mobile broadband, NetworkManager provides a consistent and straightforward interface to configure and manage these connections. It handles various networking tasks in the background, making it easier to connect to and manage networks without delving into complex configuration files. One of the significant benefits of using NetworkManager is its ability to streamline network management through a unified toolset. By leveraging NetworkManager, you can manage network connections, troubleshoot issues, and configure settings efficiently. This guide will focus on&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-10T00:00:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-04T17:35:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager\",\"datePublished\":\"2024-07-10T00:00:48+00:00\",\"dateModified\":\"2024-08-04T17:35:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/\"},\"wordCount\":1320,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-33.png\",\"keywords\":[\"Connecting to Wifi on linux through command line\",\"Using Network Manager with cli\",\"Using terminal to connect to wifi on Linux\"],\"articleSection\":[\"Linux Basics\",\"Linux Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/\",\"name\":\"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-33.png\",\"datePublished\":\"2024-07-10T00:00:48+00:00\",\"dateModified\":\"2024-08-04T17:35:15+00:00\",\"description\":\"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-33.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-33.png\",\"width\":1280,\"height\":720,\"caption\":\"Connecting to WiFi Network from the Command-Line Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/connecting-to-wifi-network-from-cli\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials","description":"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/","og_locale":"en_US","og_type":"article","og_title":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials","og_description":"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.","og_url":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-07-10T00:00:48+00:00","article_modified_time":"2024-08-04T17:35:15+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager","datePublished":"2024-07-10T00:00:48+00:00","dateModified":"2024-08-04T17:35:15+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/"},"wordCount":1320,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png","keywords":["Connecting to Wifi on linux through command line","Using Network Manager with cli","Using terminal to connect to wifi on Linux"],"articleSection":["Linux Basics","Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/","url":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/","name":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png","datePublished":"2024-07-10T00:00:48+00:00","dateModified":"2024-08-04T17:35:15+00:00","description":"Learn how to use the command line to work with network manager and connect to a wifi network on a linux based machine.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-33.png","width":1280,"height":720,"caption":"Connecting to WiFi Network from the Command-Line Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/connecting-to-wifi-network-from-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Connecting to WiFi Network from the Command-Line on Linux Using NetworkManager"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3439"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3439\/revisions"}],"predecessor-version":[{"id":3441,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3439\/revisions\/3441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3440"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}