<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>create hotspot on linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/create-hotspot-on-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 16 Dec 2019 08:44:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Create Wi-Fi Hotspot on Ubuntu / Debian / Fedora / CentOS / Arch</title>
		<link>https://www.osradar.com/how-to-create-wi-fi-hotspot-on-ubuntu-debian-fedora-centos-arch/</link>
					<comments>https://www.osradar.com/how-to-create-wi-fi-hotspot-on-ubuntu-debian-fedora-centos-arch/#comments</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Mon, 16 Dec 2019 08:44:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[create hotspot on linux]]></category>
		<category><![CDATA[share hotspot on linux]]></category>
		<category><![CDATA[wi-fi hotspot]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16623</guid>

					<description><![CDATA[<p>Today we are going to learn that how we can create a Wi-Fi Hotspot on our Linux systems including the major versions as Ubuntu, Debian , Fedora , CentOS and Arch. For these purposes we will use the nmcli command line network management tool(recommended). Also there are many Desktop environments are also available but we [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-wi-fi-hotspot-on-ubuntu-debian-fedora-centos-arch/">How To Create Wi-Fi Hotspot on Ubuntu / Debian / Fedora / CentOS / Arch</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that how we can create a Wi-Fi Hotspot on our Linux systems including the major versions as Ubuntu, Debian , Fedora , CentOS and Arch. For these purposes we will use the nmcli command line network management tool(recommended). Also there are many Desktop environments are also available but we will prefer the CLI method as it is generic and will work on any Decent Linux Operating System.</p>



<p>The nmcli (Network Manager Command Line Interface) is used to control the network Manager &amp; for the purpose of reporting status of network. We can use nmcli to activate, deactivate, display, edit or create a network connection and to control &amp; display network status. Follow the below steps to learn how we can perform this.</p>



<p>Create Wi-Fi HotSpot on Ubuntu / Debian / Fedora / CentOS / Arch<br>Let&#8217;s proceed further to get started </p>



<h2><strong>Step 1 : Identifying Network Device</strong></h2>



<p>Run the below command to get the name of Network interface.</p>



<pre class="wp-block-verse">[sabi@localhost root]$ ip link show<br> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000<br>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br> 2: ens33:  mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000<br>     link/ether 00:0c:29:d4:17:18 brd ff:ff:ff:ff:ff:ff<br> 3: virbr0:  mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000<br>     link/ether 52:54:00:44:7f:7e brd ff:ff:ff:ff:ff:ff<br> 4: virbr0-nic:  mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000<br>     link/ether 52:54:00:44:7f:7e brd ff:ff:ff:ff:ff:ff<br> [sabi@localhost root]$ </pre>



<p>My network interface name is ens33 , and it will vary from machine to machine. If it is working, the following command should give you output</p>



<pre class="wp-block-verse">$ iw list</pre>



<h3><strong>Step 2: Creating a new Hotspot</strong></h3>



<p>First of all create a network profile for your hotspot</p>



<pre class="wp-block-verse">$ IFNAME="ens33"<br>$ CON_NAME="sabihotspot"<br>$ nmcli con add type wifi ifname $IFNAME con-name $CON_NAME autoconnect yes ssid $CON_NAME</pre>



<h3><strong>Step 3: Set Connection Method </strong></h3>



<p>Now, set the connection method as shared below.</p>



<pre class="wp-block-verse">nmcli con modify $CON_NAME 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared</pre>



<h3><strong>Step 4: Set HotSpot Password</strong></h3>



<p>Definitely you&#8217;ll be sharing your hotspot to your knowing one so you need it to be secure to avoid public to use your hotspot. So let&#8217;s encrypt it with a strong password.</p>



<pre class="wp-block-verse">mcli con modify $CON_NAME wifi-sec.key-mgmt wpa-psk<br>nmcli con modify $CON_NAME wifi-sec.psk "<strong>W1r#4y^oo&amp;sabi(Replace with your pass)</strong>"</pre>



<p>Now it&#8217;s time to start up your connection by running the below command</p>



<pre class="wp-block-verse">$ nmcli con up $CON_NAME<br>Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)  </pre>



<p>You can check the connection information by typing the following command</p>



<pre class="wp-block-verse">$ nmcli connection show $CON_NAME</pre>



<h3><strong>Last Step: Confirm IP Information</strong></h3>



<p>You can check interface &amp; IP information by running the below command:</p>



<pre class="wp-block-verse">nmcli connection show<br>nmcli connection show <br>NAME                     UUID                                  TYPE      DEVICE    <br>Hostspot                 ad31dc08-9175-4fe2-85e3-9f33324e1447  wifi      ens33    <br>ip ad show ens33<br> 3: wlp6s0:  mtu 1500 qdisc noqueue state UP group default qlen 1000<br>     link/ether 20:79:18:5e:4b:60 brd ff:ff:ff:ff:ff:ff<br>     inet 10.42.0.1/24 brd 10.42.0.255 scope global noprefixroute ens33<br>        valid_lft forever preferred_lft forever<br>     inet6 fe80::a119:b393:761c:d740/64 scope link noprefixroute <br>        valid_lft forever preferred_lft forever</pre>



<p>Congratulations! You&#8217;ve successfully created hotspot.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-wi-fi-hotspot-on-ubuntu-debian-fedora-centos-arch/">How To Create Wi-Fi Hotspot on Ubuntu / Debian / Fedora / CentOS / Arch</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-create-wi-fi-hotspot-on-ubuntu-debian-fedora-centos-arch/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
