<?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>Network Manager Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/network-manager/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/network-manager/</link>
	<description></description>
	<lastBuildDate>Mon, 29 Sep 2025 11:02:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>Network Manager Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/network-manager/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setting Up a Raspberry Pi Wi-Fi Repeater &#8211; Scene 4: IP Forwarding &#038; Access Point</title>
		<link>https://www.NeuralLantern.com/setting-up-a-raspberry-pi-wi-fi-repeater-scene-4-ip-forwarding-access-point/</link>
					<comments>https://www.NeuralLantern.com/setting-up-a-raspberry-pi-wi-fi-repeater-scene-4-ip-forwarding-access-point/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Mon, 29 Sep 2025 11:02:17 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[DIY Networking]]></category>
		<category><![CDATA[Firewall Setup]]></category>
		<category><![CDATA[IP Forwarding]]></category>
		<category><![CDATA[IP Masquerading]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[Network Configuration]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[Networking Tutorial]]></category>
		<category><![CDATA[Raspberry Pi projects]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[tech tutorial]]></category>
		<category><![CDATA[Wi-Fi Access Point]]></category>
		<category><![CDATA[Wi-Fi repeater]]></category>
		<category><![CDATA[Wireless LAN]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=234</guid>

					<description><![CDATA[<p>Set up a Raspberry Pi Wi-Fi repeater with IP forwarding &#038; access point configuration. Step-by-step guide for network extension. #RaspberryPi #WiFiRepeater</p>
<p>The post <a href="https://www.NeuralLantern.com/setting-up-a-raspberry-pi-wi-fi-repeater-scene-4-ip-forwarding-access-point/">Setting Up a Raspberry Pi Wi-Fi Repeater &#8211; Scene 4: IP Forwarding &amp; Access Point</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Setting Up a Raspberry Pi Wi-Fi Repeater - Scene 4: IP Forwarding &amp; Access Point" width="1380" height="776" src="https://www.youtube.com/embed/bEizT2Lm2q4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">In Scene 4 of our Raspberry Pi Wi-Fi Repeater series, we dive into setting up IP forwarding, installing a firewall with iptables, and configuring a Wi-Fi access point. Learn how to forward packets, set up IP masquerading, and debug with tcpdump. Perfect for tech enthusiasts looking to extend their network range! Subscribe for more step-by-step tutorials and check out our website for additional resources. #RaspberryPi #WiFiRepeater #Networking #TechTutorial</p>



<p class="wp-block-paragraph">New Scene Introduction 00:00:00<br>Video Editing for Recording Time 00:00:04<br>Camera Battery Concern 00:00:10<br>IP Forwarding Setup 00:00:12<br>IP Forwarding Explanation 00:00:34<br>Configuration File Access 00:01:24<br>Editing System Control File 00:01:40<br>Enabling IP Forwarding 00:02:03<br>Firewall Installation 00:02:40<br>IP Tables Installation 00:03:04<br>IP Masquerading Setup 00:03:33<br>IP Tables Rules Configuration 00:03:49<br>Making Firewall Rules Persistent 00:05:03<br>Access Point Setup Introduction 00:06:11<br>Network Manager Configuration 00:06:32<br>Setting SSID and Password 00:07:14<br>Wireless Security Settings 00:08:24<br>IP Address Configuration 00:10:17<br>Verifying Connection Settings 00:11:43<br>Debugging with TCP Dump 00:12:32<br>Installing TCP Dump 00:13:39<br>Monitoring Network Interfaces 00:14:00<br>SSH Debugging Shortcut 00:15:24<br>Testing Access Point 00:16:48<br>Virtual Machine Testing 00:17:02<br>Call to Subscribe 00:17:44<br>QR Code and Website Promotion 00:18:21</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">Okay, we&#8217;ve started a new scene here.</p>



<p class="wp-block-paragraph">I just cut the video.</p>



<p class="wp-block-paragraph">I edited it a little bit so that we could, so that I could have more recording time before</p>



<p class="wp-block-paragraph">the camera dies.</p>



<p class="wp-block-paragraph">The camera is going to take a poop.</p>



<p class="wp-block-paragraph">Anyway, so next we need to set up IP forwarding because what&#8217;s going to really happen is when</p>



<p class="wp-block-paragraph">you send a request, let me see if I can find that image real fast.</p>



<p class="wp-block-paragraph">Where the heck is that?</p>



<p class="wp-block-paragraph">No, I&#8217;m not.</p>



<p class="wp-block-paragraph">It&#8217;s right here.</p>



<p class="wp-block-paragraph">So this is the after image.</p>



<p class="wp-block-paragraph">image. So if you think about it, what&#8217;s going to happen is when your clients send a signal,</p>



<p class="wp-block-paragraph">you know, to the Pi, the Pi is not the internet, the Pi is just connected to your router.</p>



<p class="wp-block-paragraph">The Pi then needs to forward the data, the packets, whatever to its other interface. So</p>



<p class="wp-block-paragraph">this is like, you know, wireless LAN one, and this is like wireless LAN zero, if you recall.</p>



<p class="wp-block-paragraph">ability to forward packets between interfaces so that we can get the packets to wireless LAN</p>



<p class="wp-block-paragraph">zero and then they&#8217;ll eventually end up being sent to the router. So that&#8217;s the basic idea of</p>



<p class="wp-block-paragraph">what we&#8217;re doing now. And then also IP masquerading. So I&#8217;m going to close this and then go back to</p>



<p class="wp-block-paragraph">Let&#8217;s see. So there&#8217;s a configuration file called system control in the etc directory.</p>



<p class="wp-block-paragraph">So we can do cat system control dot configuration.</p>



<p class="wp-block-paragraph">A lot of its stuff is a braid out or I guess like not configured by default.</p>



<p class="wp-block-paragraph">So if we edit it, what&#8217;s going on there?</p>



<p class="wp-block-paragraph">Dude, what is happening?</p>



<p class="wp-block-paragraph">You see that?</p>



<p class="wp-block-paragraph">Oh, I did pseudo nano, pseudo nano.</p>



<p class="wp-block-paragraph">That was dumb.</p>



<p class="wp-block-paragraph">So a lot of these options are just they&#8217;re commented out.</p>



<p class="wp-block-paragraph">You know, they&#8217;re not like enabled.</p>



<p class="wp-block-paragraph">commented out you know they&#8217;re not like enabled so this is a good idea for security purposes but</p>



<p class="wp-block-paragraph">we definitely need to forward so</p>



<p class="wp-block-paragraph">i&#8217;m going to uncomment net.ipv4.ip forward equals one to enable ipv ip forwarding on ipv4 and then</p>



<p class="wp-block-paragraph">i&#8217;m going to uncomment the next one for ipv6 forwarding even though no word even though we&#8217;re</p>



<p class="wp-block-paragraph">It&#8217;ll be a pain in the butt if you start trying to set up IPv6 on your own later and you forget to come back to this file.</p>



<p class="wp-block-paragraph">So that&#8217;s what I&#8217;m going to do.</p>



<p class="wp-block-paragraph">So we can immediately apply the changes with this command if we want to.</p>



<p class="wp-block-paragraph">I&#8217;m just going to put it on the screen real fast.</p>



<p class="wp-block-paragraph">But we don&#8217;t need to because I&#8217;m going to do a reboot after we set this up.</p>



<p class="wp-block-paragraph">So the next thing we need is we actually need to install a firewall so that we can keep persistent firewall rules</p>



<p class="wp-block-paragraph">that will help us IP masquerade. At least this is the way I know how to do it. So by default,</p>



<p class="wp-block-paragraph">this operating system doesn&#8217;t actually have IP tables installed. The pie is totally open and</p>



<p class="wp-block-paragraph">unprotected. Kind of weird, but okay. So I&#8217;m going to go sudo apt install IP tables so I can get a</p>



<p class="wp-block-paragraph">firewall. And then I&#8217;m going to install install IP tables persistence. Actually, let&#8217;s do persistent</p>



<p class="wp-block-paragraph">later so that we don&#8217;t have to do any other commands. When you install persistent, it&#8217;ll</p>



<p class="wp-block-paragraph">it&#8217;ll grab whatever&#8217;s already in there and just make it persistent so you don&#8217;t</p>



<p class="wp-block-paragraph">even have to remember extra commands if you&#8217;re wondering why we&#8217;re installing a</p>



<p class="wp-block-paragraph">firewall at this point it&#8217;s not necessarily to protect the PI although</p>



<p class="wp-block-paragraph">we can use that to protect the PI pretty soon or like later but it&#8217;s really so</p>



<p class="wp-block-paragraph">that we can have masquerading work which is in this case it&#8217;s very closely</p>



<p class="wp-block-paragraph">related to forwarding data from the two network adapters so I&#8217;m gonna go so we</p>



<p class="wp-block-paragraph">installed iptables I&#8217;m going to say iptables list all the rules are empty everything is open the</p>



<p class="wp-block-paragraph">firewall is really letting everything through so then I&#8217;m going to do sudo iptables network</p>



<p class="wp-block-paragraph">address translation post routing if the source is coming from oh yeah if the source is coming</p>



<p class="wp-block-paragraph">from your access point and it&#8217;s trying to go out to the to the ethernet adapter that&#8217;s wrong that&#8217;s</p>



<p class="wp-block-paragraph">that&#8217;s wrong that&#8217;s not going to work for our purposes eventually</p>



<p class="wp-block-paragraph">we&#8217;ll say the judgment is that it&#8217;s okay to masquerade</p>



<p class="wp-block-paragraph">um we should replace this with wireless LAN zero also so that they both work</p>



<p class="wp-block-paragraph">basic idea is if a client of the pi access point is sending information into the pi like it&#8217;s it&#8217;s</p>



<p class="wp-block-paragraph">making a web request then we&#8217;re saying it&#8217;s okay to masquerade as that ip address as we send the</p>



<p class="wp-block-paragraph">as that IP address as we send the data along to either the ethernet port or the wireless LAN port.</p>



<p class="wp-block-paragraph">So I put both of those in there because I want it to work for both.</p>



<p class="wp-block-paragraph">You may only need to put wireless LAN 0 or whatever your adapter is</p>



<p class="wp-block-paragraph">for the one that&#8217;s making the primary connection to the original router.</p>



<p class="wp-block-paragraph">So now let&#8217;s make the rules permanent with IP tables save.</p>



<p class="wp-block-paragraph">Oh wait, no, we don&#8217;t even necessarily need to use save if we just install persistent</p>



<p class="wp-block-paragraph">after we did it.</p>



<p class="wp-block-paragraph">Whoops.</p>



<p class="wp-block-paragraph">App install persistent because I think it&#8217;ll ask us if we want to save the rules right</p>



<p class="wp-block-paragraph">now.</p>



<p class="wp-block-paragraph">Yeah, right.</p>



<p class="wp-block-paragraph">Okay.</p>



<p class="wp-block-paragraph">So I&#8217;m going to say, yeah, so I can save myself some commands.</p>



<p class="wp-block-paragraph">Yeah, go ahead and save them.</p>



<p class="wp-block-paragraph">If you installed persistence right away, you could either uninstall them and then reinstall</p>



<p class="wp-block-paragraph">them, I guess.</p>



<p class="wp-block-paragraph">the command is basically this to take whatever rules are currently inside of iptables and then</p>



<p class="wp-block-paragraph">just send them into that saved rules file and then you would do the same thing for the v6 if</p>



<p class="wp-block-paragraph">you wanted ipv6 double check what has been saved with this command so we&#8217;ll say sudo cat and then</p>



<p class="wp-block-paragraph">that&#8217;s the file where the rules are saved so it&#8217;s telling me yeah they are saved so if i reboot the</p>



<p class="wp-block-paragraph">rules should still be there now. And then we have enough time to set up the access point.</p>



<p class="wp-block-paragraph">We are very, very, very close. Yeah, it&#8217;s probably actually going to work now.</p>



<p class="wp-block-paragraph">Set up the access point. And</p>



<p class="wp-block-paragraph">yeah, I&#8217;ll show you how to do a debug thing after this. I&#8217;m not going to do it</p>



<p class="wp-block-paragraph">so you can see, but I&#8217;ll show you how to do it. Anyway, so let&#8217;s set up the access point. Remember,</p>



<p class="wp-block-paragraph">access point. Remember, we&#8217;re only connected with one of the radios right now. So pseudo network</p>



<p class="wp-block-paragraph">manager, command line interface connection show, and we&#8217;re only connected as a client. So now we</p>



<p class="wp-block-paragraph">need to do this pseudo network manager command line interface connection add not device Wi Fi</p>



<p class="wp-block-paragraph">connect, but connection add, the type is going to be Wi Fi. And then we&#8217;re going to specify the</p>



<p class="wp-block-paragraph">interface name as wireless LAN one, that&#8217;s the dongle that we installed earlier. And then we&#8217;re</p>



<p class="wp-block-paragraph">so that&#8217;s mode AP and then I&#8217;m just gonna set the connection name to become</p>



<p class="wp-block-paragraph">access points you can obviously set this to whatever you want it doesn&#8217;t really</p>



<p class="wp-block-paragraph">matter and then we have to set the SSID probably this should be different than</p>



<p class="wp-block-paragraph">your main router because we&#8217;re not doing like WDS you know roaming access points</p>



<p class="wp-block-paragraph">or anything like that this is gonna be a totally separate access point with a</p>



<p class="wp-block-paragraph">totally separate network we&#8217;re just gonna eventually make it work so that we</p>



<p class="wp-block-paragraph">seamlessly so that it&#8217;ll feel like one network but it&#8217;s technically another</p>



<p class="wp-block-paragraph">subnet at least so choose something for your SSID that your neighbors won&#8217;t call</p>



<p class="wp-block-paragraph">the police about I&#8217;m gonna do well la de fricking and then we&#8217;ll set a password</p>



<p class="wp-block-paragraph">so I&#8217;m gonna just make up a random password right now in another window and</p>



<p class="wp-block-paragraph">This thing is not working.</p>



<p class="wp-block-paragraph">Hello?</p>



<p class="wp-block-paragraph">Okay, I&#8217;m just going to copy paste a random password.</p>



<p class="wp-block-paragraph">So I&#8217;ll set the, let&#8217;s see, what is it?</p>



<p class="wp-block-paragraph">80211 wireless security.</p>



<p class="wp-block-paragraph">Oh, you know what?</p>



<p class="wp-block-paragraph">It&#8217;s probably easier if I just do this from inside network manager.</p>



<p class="wp-block-paragraph">So I added the connection.</p>



<p class="wp-block-paragraph">The SSID is well loudy freaking dot.</p>



<p class="wp-block-paragraph">Then I can just kind of show the connections become access point is not up yet.</p>



<p class="wp-block-paragraph">So I&#8217;m going to edit it.</p>



<p class="wp-block-paragraph">Connection edit become access points.</p>



<p class="wp-block-paragraph">So now it&#8217;s, I don&#8217;t know, for me, it&#8217;s a little bit easier to edit all these things.</p>



<p class="wp-block-paragraph">So I&#8217;m going to do set 802.11.</p>



<p class="wp-block-paragraph">is kind of like you know the wireless family of standards dot band oh for the band depending on</p>



<p class="wp-block-paragraph">your dongle uh you might want 2.4 gigahertz or 5 gigahertz also depending on your country</p>



<p class="wp-block-paragraph">for me i&#8217;m gonna try to get this on 5 gigahertz so that is band a uh i think the other band is either</p>



<p class="wp-block-paragraph">actually you know what network manager will tell me yeah bg i was gonna say just g by itself yeah</p>



<p class="wp-block-paragraph">gigahertz at least for this then I&#8217;m going to do set the wireless security property of the key</p>



<p class="wp-block-paragraph">management and I&#8217;m going to set it to basically a pass pass key or like a pass phrase some of</p>



<p class="wp-block-paragraph">these settings are probably going to be out of date by the time you watch this video so you might</p>



<p class="wp-block-paragraph">want to go look up the latest or ask me a million times to provide an updated video I guess although</p>



<p class="wp-block-paragraph">kind of kind of over it to be honest i hope this works for everybody because regardless i&#8217;m eating</p>



<p class="wp-block-paragraph">an entire pizza by myself when this is finished let&#8217;s see group let&#8217;s see proto group pairwise</p>



<p class="wp-block-paragraph">um so we&#8217;re just type we&#8217;re just typing stuff now now psk so that&#8217;s the uh the password so then</p>



<p class="wp-block-paragraph">i&#8217;m gonna paste the random password that i just came up with and then uh hit enter to get that</p>



<p class="wp-block-paragraph">And then we&#8217;re going to set up the IP address.</p>



<p class="wp-block-paragraph">Remember, this is another adapter.</p>



<p class="wp-block-paragraph">We still need to set its IP address.</p>



<p class="wp-block-paragraph">So IPv4.addresses,</p>



<p class="wp-block-paragraph">I&#8217;ve got to do set, sorry.</p>



<p class="wp-block-paragraph">Addresses 192.168.5.1, which is what we decided on.</p>



<p class="wp-block-paragraph">And then block 24, yes to manual.</p>



<p class="wp-block-paragraph">And then I&#8217;m going to set its gateway to nothing.</p>



<p class="wp-block-paragraph">Oh, the gateway has to be empty.</p>



<p class="wp-block-paragraph">I made this mistake earlier.</p>



<p class="wp-block-paragraph">mistake earlier if you actually set the gateway to something like you probably want to do 192.168.1.1</p>



<p class="wp-block-paragraph">if you do that then the access point will tell all of its clients that the gateway is 1.1</p>



<p class="wp-block-paragraph">but the problem is they can&#8217;t actually access 1.1 so they&#8217;ll just be offline so you need to make</p>



<p class="wp-block-paragraph">sure probably that the gateway is empty so we&#8217;ll do print ipv4 notice how the gateway is empty</p>



<p class="wp-block-paragraph">DNS is empty DNS searches empty they all should just be empty because we want</p>



<p class="wp-block-paragraph">the information to come from elsewhere at least on that on that so uh you know we want DNS mask to</p>



<p class="wp-block-paragraph">tell them everything if those have values you can basically say remove ipv4 dot addresses and then</p>



<p class="wp-block-paragraph">it should work so let&#8217;s see what else do I have to add addresses gateway DNS DNS search and then</p>



<p class="wp-block-paragraph">11 wireless security just to double check it.</p>



<p class="wp-block-paragraph">Make sure that you&#8217;ve entered all the right values</p>



<p class="wp-block-paragraph">and then print the IPv4 block again just to double check it</p>



<p class="wp-block-paragraph">and then hit save.</p>



<p class="wp-block-paragraph">If you have an error here, you might want to type fix, verify,</p>



<p class="wp-block-paragraph">or maybe just go look at all the settings again.</p>



<p class="wp-block-paragraph">But I saved it.</p>



<p class="wp-block-paragraph">It seems to have worked.</p>



<p class="wp-block-paragraph">So I can now quit.</p>



<p class="wp-block-paragraph">And then, oh, actually, maybe I should tell it to start automatically.</p>



<p class="wp-block-paragraph">Let me just double check.</p>



<p class="wp-block-paragraph">Print the connection properties.</p>



<p class="wp-block-paragraph">properties. Does it say auto connect? Yes. Okay. So now the access point should automatically come</p>



<p class="wp-block-paragraph">up whenever, uh, whenever the pie boots, if we&#8217;re lucky, we&#8217;re incredibly close right now.</p>



<p class="wp-block-paragraph">So I&#8217;m going to do, I&#8217;m going to open up another window and I just want you to kind of see what&#8217;s,</p>



<p class="wp-block-paragraph">what&#8217;s going on here. Um, or how I was debugging my connection. Cause in the beginning, when I was</p>



<p class="wp-block-paragraph">first learning how to do this, I was like, where are the packets going? Is it even trying?</p>



<p class="wp-block-paragraph">trying so for me I made several windows like this if your terminal doesn&#8217;t split</p>



<p class="wp-block-paragraph">windows too bad for you mine is called terminator you can find it pretty easily</p>



<p class="wp-block-paragraph">it&#8217;s sudo apt install terminator but what I what you want to do is SSH into</p>



<p class="wp-block-paragraph">the Ethernet of the PI three times so I&#8217;m gonna do that and then oh god is that</p>



<p class="wp-block-paragraph">figured something out. So you want to do it three times and then you want to label each window.</p>



<p class="wp-block-paragraph">So this window is going to be wireless LAN zero. Depending on your terminal, you might have to do</p>



<p class="wp-block-paragraph">labeling differently. Wireless LAN one and then I&#8217;m going to do Ethernet zero on this one.</p>



<p class="wp-block-paragraph">So they all, we have three terminals, one for each interface, network interface. And I&#8217;m basically</p>



<p class="wp-block-paragraph">to watch packets on every single interface.</p>



<p class="wp-block-paragraph">So inside of the Pi, I&#8217;m going to first say sudo apt install tcp dump.</p>



<p class="wp-block-paragraph">That&#8217;s a special program that lets you watch packets as they&#8217;re traveling all around your</p>



<p class="wp-block-paragraph">network cards and stuff like that.</p>



<p class="wp-block-paragraph">So sudo apt install tcp dump.</p>



<p class="wp-block-paragraph">Then the command is sudo tcp dump and then dash i to specify an interface.</p>



<p class="wp-block-paragraph">And then we&#8217;ll specify ethernet zero here.</p>



<p class="wp-block-paragraph">and then uh here we&#8217;ll specify wireless LAN zero we&#8217;ll just match the windows that&#8217;s why</p>



<p class="wp-block-paragraph">i labeled the windows and then here we&#8217;ll do wireless LAN one uh and then so what you&#8217;ll</p>



<p class="wp-block-paragraph">want to do is hit enter on each of these windows and you&#8217;ll see like a huge stream of data you want</p>



<p class="wp-block-paragraph">to uh filter the data by something that&#8217;s useful for you otherwise it&#8217;ll be like way too much data</p>



<p class="wp-block-paragraph">I filtered it by ICMP echo and then what I was doing is I was basically just pinging servers like</p>



<p class="wp-block-paragraph">I was pinging inside of the Pi I was having it ping itself and then I was having it ping like</p>



<p class="wp-block-paragraph">my router then I was trying to have it ping clients and then I was having the clients ping the Pi</p>



<p class="wp-block-paragraph">and ping the router and then finally start pinging the internet you&#8217;re just doing pings all over the</p>



<p class="wp-block-paragraph">place in order to try to narrow down what might be wrong with your situation if you follow this</p>



<p class="wp-block-paragraph">tutorial probably it&#8217;ll be fine but like for me you know I like to debug and things were going</p>



<p class="wp-block-paragraph">wrong when I was first learning this so this was super super helpful I just want you to know</p>



<p class="wp-block-paragraph">here&#8217;s a problem though every time you reboot the pi let me do that right now you do sudo reboot</p>



<p class="wp-block-paragraph">every time you reboot the pi you lose connection uh connections to all the other windows so then</p>



<p class="wp-block-paragraph">you have to like log back into the pi and then type out the command all over again so instead a nice</p>



<p class="wp-block-paragraph">Instead, a nice shortcut could be something like this.</p>



<p class="wp-block-paragraph">SSH into the pie.</p>



<p class="wp-block-paragraph">SSH pie at 192.168.1.123.</p>



<p class="wp-block-paragraph">And then in quotes or single quotes,</p>



<p class="wp-block-paragraph">I&#8217;m gonna do single quotes on the outside</p>



<p class="wp-block-paragraph">and then double quotes on the inside</p>



<p class="wp-block-paragraph">because you kind of have to use different quotes.</p>



<p class="wp-block-paragraph">Now what&#8217;s gonna happen is when I go into the pie,</p>



<p class="wp-block-paragraph">it&#8217;s gonna log into the pie</p>



<p class="wp-block-paragraph">and immediately start doing the TCP dump for me.</p>



<p class="wp-block-paragraph">that means when when I get booted I just have to I just have to hit the up arrow and I can</p>



<p class="wp-block-paragraph">immediately go back into the pi and I don&#8217;t have to type out the commands again let me show you</p>



<p class="wp-block-paragraph">real fast with a slightly different way so I&#8217;m going to go ssh pi at 192.168.1.123 and then do</p>



<p class="wp-block-paragraph">a single quote and instead of doing tcp dump I&#8217;m just going to type echo by itself so notice how</p>



<p class="wp-block-paragraph">I didn&#8217;t echo anything. Hello. It logs in, it prints hello, and then it logs out. So now</p>



<p class="wp-block-paragraph">I&#8217;m kicked out of the Pi. Let&#8217;s pretend that we lost internet or network. I just hit the up arrow</p>



<p class="wp-block-paragraph">and hit enter. So it&#8217;s like so fast. You don&#8217;t have to type all those letters again.</p>



<p class="wp-block-paragraph">So I&#8217;m not going to debug here. I&#8217;ll do that in another window if I really need to, but</p>



<p class="wp-block-paragraph">I just wanted you to know. And it&#8217;s fun. It&#8217;s fun to know when things are really starting to work.</p>



<p class="wp-block-paragraph">probably rebooted. Now let&#8217;s try some, well, we know that the PI&#8217;s network works for itself. So</p>



<p class="wp-block-paragraph">now the next step is how can we prove that this access point actually works? Oh my gosh.</p>



<p class="wp-block-paragraph">I think I&#8217;m going to cut the video so that I can show you that it works</p>



<p class="wp-block-paragraph">by logging into a virtual machine that&#8217;s inside of this virtual machine that I&#8217;m recording on.</p>



<p class="wp-block-paragraph">It&#8217;s probably going to be super slow. We&#8217;ll see what happens. Okay. So I&#8217;m going to cut the scene</p>



<p class="wp-block-paragraph">Okay, so I&#8217;m gonna cut the scene right now. When I come back, we&#8217;ll be logging into a virtual machine.</p>



<p class="wp-block-paragraph">it would really mean the world to me and it&#8217;ll help make more videos and grow this community.</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos, longer videos, better videos, or just I&#8217;ll be able to keep making videos in general.</p>



<p class="wp-block-paragraph">So please do me a kindness and subscribe.</p>



<p class="wp-block-paragraph">You know, sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know somebody subscribed or followed.</p>



<p class="wp-block-paragraph">It just wakes me up and I get filled with joy.</p>



<p class="wp-block-paragraph">That&#8217;s exactly what happens every single time.</p>



<p class="wp-block-paragraph">So you could do it as a nice favor to me or you could troll me if you want to just wake me up in the middle of the night.</p>



<p class="wp-block-paragraph">if you want to just wake me up in the middle of the night, just subscribe.</p>



<p class="wp-block-paragraph">And then I&#8217;ll just wake up.</p>



<p class="wp-block-paragraph">I promise that&#8217;s what will happen.</p>



<p class="wp-block-paragraph">Also, if you look at the middle of the screen right now,</p>



<p class="wp-block-paragraph">you should see a QR code, which you can scan in order to go to the website,</p>



<p class="wp-block-paragraph">which I think is also named somewhere at the bottom of this video.</p>



<p class="wp-block-paragraph">And it&#8217;ll take you to my main website,</p>



<p class="wp-block-paragraph">where you can just kind of like see all the videos I published,</p>



<p class="wp-block-paragraph">and the services and tutorials and things that I offer,</p>



<p class="wp-block-paragraph">and all that good stuff.</p>



<p class="wp-block-paragraph">suggestion for uh uh clarifications or errata or just future videos that you want to see please</p>



<p class="wp-block-paragraph">leave a comment or if you just want to say hey what&#8217;s up what&#8217;s going on you know just send me</p>



<p class="wp-block-paragraph">a comment whatever i also wake up for those in the middle of the night i get i wake up in a cold</p>



<p class="wp-block-paragraph">sweat and i&#8217;m like it would really it really mean the world to me i would really appreciate it so</p>



<p class="wp-block-paragraph">again thank you so much for watching this video and um enjoy the cool music as as i fade into the</p>



<p class="wp-block-paragraph">into the darkness which is coming for us all.</p>



<p class="wp-block-paragraph">Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/setting-up-a-raspberry-pi-wi-fi-repeater-scene-4-ip-forwarding-access-point/">Setting Up a Raspberry Pi Wi-Fi Repeater &#8211; Scene 4: IP Forwarding &amp; Access Point</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/setting-up-a-raspberry-pi-wi-fi-repeater-scene-4-ip-forwarding-access-point/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Turn Your Raspberry Pi into a Wi-Fi Repeater: Step-by-Step Guide (Part 3)</title>
		<link>https://www.NeuralLantern.com/turn-your-raspberry-pi-into-a-wi-fi-repeater-step-by-step-guide-part-3/</link>
					<comments>https://www.NeuralLantern.com/turn-your-raspberry-pi-into-a-wi-fi-repeater-step-by-step-guide-part-3/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Sun, 14 Sep 2025 23:18:31 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[compile drivers]]></category>
		<category><![CDATA[DHCP server]]></category>
		<category><![CDATA[DNS Masq]]></category>
		<category><![CDATA[Linux networking]]></category>
		<category><![CDATA[network extender]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[Pi access point]]></category>
		<category><![CDATA[Raspberry Pi projects]]></category>
		<category><![CDATA[Raspberry Pi tutorial]]></category>
		<category><![CDATA[tech DIY]]></category>
		<category><![CDATA[Wi-Fi dongle]]></category>
		<category><![CDATA[Wi-Fi repeater]]></category>
		<category><![CDATA[Wi-Fi setup]]></category>
		<category><![CDATA[wireless networking]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=224</guid>

					<description><![CDATA[<p>Turn your Raspberry Pi into a Wi-Fi repeater! Learn to compile drivers, set up Network Manager, and install DNS Masq in this step-by-step guide. Boost your network now!</p>
<p>The post <a href="https://www.NeuralLantern.com/turn-your-raspberry-pi-into-a-wi-fi-repeater-step-by-step-guide-part-3/">Turn Your Raspberry Pi into a Wi-Fi Repeater: Step-by-Step Guide (Part 3)</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Turn Your Raspberry Pi into a Wi-Fi Repeater: Step-by-Step Guide (Part 3)" width="1380" height="776" src="https://www.youtube.com/embed/LeKpsq5pX88?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">Join us in Scene 3 of our Raspberry Pi Wi-Fi Repeater series! This step-by-step guide walks you through compiling Wi-Fi dongle drivers from source, setting up Network Manager to connect to your router, configuring the Pi’s Wi-Fi adapter, expanding the file system, and installing DNS Masq for DHCP. Whether you’re extending your network to the garage or just geeking out, this tutorial is for you. Check out our other videos for the full setup, and subscribe to join our community of tech tinkerers!</p>



<p class="wp-block-paragraph">Introduction and Recap 00:00:00<br>Wi-Fi Dongle Driver Compilation 00:00:04<br>Network Manager Setup 00:00:50<br>Connecting to Existing Router 00:01:05<br>Raspberry Pi Wi-Fi Configuration 00:03:23<br>Expanding File System 00:04:12<br>Verifying Wi-Fi Connection 00:05:05<br>Setting IP Address 00:06:39<br>Installing DNS Masq 00:08:53<br>Configuring DHCP Server 00:11:04<br>IP Forwarding Introduction 00:16:20<br>Closing Remarks and Subscription Call 00:16:44</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">Yeah, there we go.</p>



<p class="wp-block-paragraph">Okay, so we&#8217;re back.</p>



<p class="wp-block-paragraph">I went away.</p>



<p class="wp-block-paragraph">I forgot exactly what I told you before I cut the video, but I went away.</p>



<p class="wp-block-paragraph">I recorded a different video where I installed the drivers for this Wi-Fi dongle.</p>



<p class="wp-block-paragraph">I compiled them from source.</p>



<p class="wp-block-paragraph">I found them on GitHub.</p>



<p class="wp-block-paragraph">I wanted you to go to that video and use it to learn how to compile the drivers for your</p>



<p class="wp-block-paragraph">own Wi-Fi dongle.</p>



<p class="wp-block-paragraph">If you want to have the same dongle that I have, that video I should have a link to where</p>



<p class="wp-block-paragraph">a link to where you can buy the same dongle that I have.</p>



<p class="wp-block-paragraph">But if you have a different dongle, that&#8217;s okay.</p>



<p class="wp-block-paragraph">The instructions in the other video should probably help you.</p>



<p class="wp-block-paragraph">So at this point now, you&#8217;ve gone away to compile the drivers for your Wi-Fi</p>



<p class="wp-block-paragraph">dongle and you&#8217;re back, you&#8217;re ready to continue making your Pi access point.</p>



<p class="wp-block-paragraph">So what we should do is I&#8217;m logged into the Pi right now.</p>



<p class="wp-block-paragraph">And let&#8217;s use Network Manager to see what&#8217;s up.</p>



<p class="wp-block-paragraph">Let&#8217;s use network manager to see what&#8217;s up.</p>



<p class="wp-block-paragraph">Network manager connections show.</p>



<p class="wp-block-paragraph">We only have ethernet up right now.</p>



<p class="wp-block-paragraph">We want to connect as a client to your existing router.</p>



<p class="wp-block-paragraph">So remember we have two radios.</p>



<p class="wp-block-paragraph">One is going to be the internal radio of the Pi or a dongle if you wanted to buy two dongles.</p>



<p class="wp-block-paragraph">And then the other one is going to be the dongle that we&#8217;ve been talking about.</p>



<p class="wp-block-paragraph">So I mean, I&#8217;m saying you can buy two dongles and stick them in the Pi if you want a little</p>



<p class="wp-block-paragraph">bit more range.</p>



<p class="wp-block-paragraph">For me, I just use the internal of the Pi and then the dongle as the external.</p>



<p class="wp-block-paragraph">the external so the dongle is going to connect nowhere it&#8217;s just going to be an access point so</p>



<p class="wp-block-paragraph">that other clients can connect to it so I&#8217;m going to connect as a client specifically using wireless</p>



<p class="wp-block-paragraph">LAN zero because that&#8217;s the built-in ethernet sorry wireless adapter of the pie we can do this</p>



<p class="wp-block-paragraph">in network manager we don&#8217;t even need a desktop we&#8217;ll say pseudo network manager device Wi-Fi</p>



<p class="wp-block-paragraph">connect and then we just have to specify the name of your original or how about your primary</p>



<p class="wp-block-paragraph">original or how about your primary access point you know whatever it is whatever your wi-fi</p>



<p class="wp-block-paragraph">credentials are you got to put that there i&#8217;m not going to show you i&#8217;m going to type this into</p>



<p class="wp-block-paragraph">another window so that you don&#8217;t have to see the name of my access point let me go sudo network</p>



<p class="wp-block-paragraph">like that the name of the access point and then after that you have to put a couple more things</p>



<p class="wp-block-paragraph">in so you&#8217;re going to do the interface name you should name which radio you want to do the</p>



<p class="wp-block-paragraph">connecting as a client so I&#8217;m going to put WLAN zero because that&#8217;s what we just said if name</p>



<p class="wp-block-paragraph">WLAN zero in the other window and then you want to provide the password for your wi-fi access</p>



<p class="wp-block-paragraph">point so I&#8217;m just going to put password here your password here and then I&#8217;m going to type that for</p>



<p class="wp-block-paragraph">And then I&#8217;m going to type that for myself up in the other window.</p>



<p class="wp-block-paragraph">Oh, shit.</p>



<p class="wp-block-paragraph">There we go.</p>



<p class="wp-block-paragraph">Okay, I think that&#8217;s probably all we need right now.</p>



<p class="wp-block-paragraph">I&#8217;m just going to hit enter on my other window.</p>



<p class="wp-block-paragraph">You should hit enter now.</p>



<p class="wp-block-paragraph">it&#8217;s saying that it does not see the network we forgot to turn the radio on the the wi-fi adapter</p>



<p class="wp-block-paragraph">is off right now so that&#8217;s that&#8217;s a default thing with the raspberry pi so we&#8217;ll go into a tool</p>



<p class="wp-block-paragraph">called raspy config raspy config raspy config um you could use a program called rf kill to activate</p>



<p class="wp-block-paragraph">the radio but the raspberry config is more fun so what you want to do is uh after you say you know</p>



<p class="wp-block-paragraph">sudo-rasby-config, you go into localization options, and you select the wireless LAN country.</p>



<p class="wp-block-paragraph">So that&#8217;s, you know, because different countries have different regulations, they&#8217;ll restrict like</p>



<p class="wp-block-paragraph">the frequency bands you can use or whatever. I&#8217;m not sure about all the countries, but I&#8217;m going</p>



<p class="wp-block-paragraph">to find United States in the use. There&#8217;s only a few of us, only a few use. And now the Wi-Fi</p>



<p class="wp-block-paragraph">idea, I go to advanced options and select expand file system. Because if you remember, I&#8217;m going</p>



<p class="wp-block-paragraph">to do a reboot real fast. Yeah, if you recall, we, what&#8217;s going on, man, I want to ping.</p>



<p class="wp-block-paragraph">We wrote a very small image to the card. It was only like two gigabytes or something, right? So</p>



<p class="wp-block-paragraph">that means the file system is only two gigabytes, but the card is way bigger than that. And I want,</p>



<p class="wp-block-paragraph">to be able to take advantage of all the space on the card so that&#8217;s why you expand the file system</p>



<p class="wp-block-paragraph">and raspberry pi has like a nice little tool that helps you do that so it&#8217;s pinging again i should</p>



<p class="wp-block-paragraph">be able to get in there okay uh going back to my other window real fast i&#8217;m just going to check that</p>



<p class="wp-block-paragraph">the uh the connection actually worked so wireless lens zero oh it didn&#8217;t even work last time for</p>



<p class="wp-block-paragraph">sure so we&#8217;re gonna we&#8217;re gonna repeat that command because the wi-fi wasn&#8217;t on before right so</p>



<p class="wp-block-paragraph">the wi-fi wasn&#8217;t on before right so so if you recall uh we did sudo network manager device wi-fi</p>



<p class="wp-block-paragraph">connect and then the name of your access point and then if name wireless land zero and then the</p>



<p class="wp-block-paragraph">password i&#8217;m going to type that into my other window here and if we&#8217;re lucky it&#8217;ll connect</p>



<p class="wp-block-paragraph">yeah okay it seems to uh have worked and then sudo and see what you should show okay</p>



<p class="wp-block-paragraph">rename the connection real fast and then I&#8217;ll show it to you in the main terminal windows</p>



<p class="wp-block-paragraph">so you do network manager connection edit main one and set the connection ID to how</p>



<p class="wp-block-paragraph">about just like connect as client save quit show okay so now I think I can show you this</p>



<p class="wp-block-paragraph">so it&#8217;ll pseudo network manager command line interface connections show and you can see</p>



<p class="wp-block-paragraph">connected as a client to the rest of my network. At this point I could pull out the ethernet</p>



<p class="wp-block-paragraph">adapter if I wanted to, but I still don&#8217;t like doing that because it&#8217;s pretty easy to lose your</p>



<p class="wp-block-paragraph">connection and screw everything up and the ethernet is there to save you. But for now I have connected</p>



<p class="wp-block-paragraph">as a client on wireless LAN zero. Make sure you have the right one selected. And if you did it</p>



<p class="wp-block-paragraph">wrong you can do pseudo network manager connection delete and then just name the connection. But I</p>



<p class="wp-block-paragraph">So let me just edit the IP address real fast.</p>



<p class="wp-block-paragraph">Edit, connect as clients.</p>



<p class="wp-block-paragraph">You&#8217;re probably gonna wanna do this</p>



<p class="wp-block-paragraph">because remember we talked before</p>



<p class="wp-block-paragraph">about the idea of you having IP addresses</p>



<p class="wp-block-paragraph">that you had to come up with to follow this video.</p>



<p class="wp-block-paragraph">So I&#8217;m going to, oh gosh, what&#8217;s happening?</p>



<p class="wp-block-paragraph">There we go.</p>



<p class="wp-block-paragraph">Let me go to this one.</p>



<p class="wp-block-paragraph">Right, so I&#8217;m trying to set up wireless LAN 0 so it&#8217;s going to be 147 for me.</p>



<p class="wp-block-paragraph">Maybe not the same thing for you.</p>



<p class="wp-block-paragraph">So I&#8217;m going to go, let&#8217;s see, I just edited it.</p>



<p class="wp-block-paragraph">Okay, so I&#8217;m going to set ipv4.addresses as that with a 24 block.</p>



<p class="wp-block-paragraph">And yes, I want to set to manual.</p>



<p class="wp-block-paragraph">I want to set the gateway.</p>



<p class="wp-block-paragraph">Basically this is the same thing that we did with the ethernet already.</p>



<p class="wp-block-paragraph">Then I&#8217;m going to set the DNS.</p>



<p class="wp-block-paragraph">DNS, the only difference here between, you know, this connection and the ethernet connection</p>



<p class="wp-block-paragraph">is I&#8217;m just setting a different IP address, but I&#8217;m giving it the same gateway and the</p>



<p class="wp-block-paragraph">same DNS servers and everything.</p>



<p class="wp-block-paragraph">So DNS search, home, I&#8217;m going to save it and then I&#8217;m going to quit it.</p>



<p class="wp-block-paragraph">At this point you could reboot the Pi.</p>



<p class="wp-block-paragraph">Maybe I should do that so I can read my notes a little bit more.</p>



<p class="wp-block-paragraph">Let&#8217;s reboot the Pi and let&#8217;s see if we can connect on the wireless interface.</p>



<p class="wp-block-paragraph">interface so I think it was 147 I just set up let me do a ping at 147 so I&#8217;ll</p>



<p class="wp-block-paragraph">know if the Wi-Fi comes on I may have forgotten to tell it to auto connect</p>



<p class="wp-block-paragraph">like I did last time but I feel like the Wi-Fi does that already we&#8217;ll see what</p>



<p class="wp-block-paragraph">happens I&#8217;ll just give it like 10 more seconds yay it worked okay so now we&#8217;re</p>



<p class="wp-block-paragraph">through the wi-fi notice how it says i don&#8217;t recognize this remote because it&#8217;s a different</p>



<p class="wp-block-paragraph">ip address but we&#8217;re on the pi so now you&#8217;ve got two ways to get into your pi i&#8217;m actually going</p>



<p class="wp-block-paragraph">to revert because i like staying on ethernet but uh just so you know this is how the pi will get</p>



<p class="wp-block-paragraph">its internet after you eventually put this repeater somewhere where you can&#8217;t get ethernet you know</p>



<p class="wp-block-paragraph">like in your garage or on top of a china hutch or whatever so um the next thing that we need to do</p>



<p class="wp-block-paragraph">The next thing that we need to do is, um,</p>



<p class="wp-block-paragraph">we need to install a program called DNS mask. We need a DHCP server because what&#8217;s,</p>



<p class="wp-block-paragraph">what&#8217;s going to happen basically is when we connect it as a client to the primary router,</p>



<p class="wp-block-paragraph">its DHCP server gave us an IP address on the normal subnet. So that&#8217;s fine. We don&#8217;t really</p>



<p class="wp-block-paragraph">need that for the primary connection. But when we become an access point with the extra antenna,</p>



<p class="wp-block-paragraph">connects to our pi as a client is going to need ip addresses and it&#8217;s not going to be able to get</p>



<p class="wp-block-paragraph">the ip address the clients are not going to be able to get the ip address their ip addresses</p>



<p class="wp-block-paragraph">from the router anymore because they&#8217;re not even connected to the router they&#8217;re connected to the</p>



<p class="wp-block-paragraph">pi and there&#8217;s an isolation because there&#8217;s two different networks so that means we need to put</p>



<p class="wp-block-paragraph">a dhcp server on the pi so the pi can just decide what ip addresses everybody has on its network so</p>



<p class="wp-block-paragraph">I think what I&#8217;m going to do since the video is already about 15 minutes long into this particular segment</p>



<p class="wp-block-paragraph">and I think the whole video is already like over an hour for sure</p>



<p class="wp-block-paragraph">I&#8217;m going to pause the video and I&#8217;m going to go away and make another video</p>



<p class="wp-block-paragraph">where I just talk about how to install DNS mask on your Raspberry Pi</p>



<p class="wp-block-paragraph">so you should go to that other video and then come back</p>



<p class="wp-block-paragraph">when you have a DNS mask all set up</p>



<p class="wp-block-paragraph">and then maybe I&#8217;ll just copy paste the config</p>



<p class="wp-block-paragraph">config that i&#8217;m actually using for this particular project just to make it more clear this is the</p>



<p class="wp-block-paragraph">sample configuration file for dns mask it&#8217;s not too bad that that&#8217;s kind of it it&#8217;s kind of all</p>



<p class="wp-block-paragraph">you have to do so uh i think i&#8217;m just going to install dns mask right now for you what i did a</p>



<p class="wp-block-paragraph">moment ago is i said sudo apt install dns mask so it&#8217;s already installed for me and then to give it</p>



<p class="wp-block-paragraph">called etc dns mask and any file you create in this dot d directory and this is kind of typical</p>



<p class="wp-block-paragraph">for programs that recognize a dot d drop directory you can just stick configuration files in there</p>



<p class="wp-block-paragraph">and they&#8217;ll be read automatically so this is the configuration i&#8217;m going to use for my dhcp server</p>



<p class="wp-block-paragraph">on my pi you should probably use something similar but not exactly the same or not necessarily it</p>



<p class="wp-block-paragraph">I&#8217;m using my search domain of home so you don&#8217;t have to do that because you don&#8217;t even you probably don&#8217;t even have the home domain unless you want one and then I&#8217;m gonna I&#8217;m gonna specify what IP addresses should get assigned to clients that connect to the access point.</p>



<p class="wp-block-paragraph">the adapter this doesn&#8217;t work otherwise I guess it&#8217;s fine by default nobody&#8217;s</p>



<p class="wp-block-paragraph">gonna be looking at this PI I don&#8217;t know maybe I should specify the adapter I&#8217;ll</p>



<p class="wp-block-paragraph">make a note or I&#8217;ll come back in a second but anyway so we want to specify</p>



<p class="wp-block-paragraph">an IP address range if you recall our IP address range that we chose for the</p>



<p class="wp-block-paragraph">clients of the access point is going to be dot five dot something right so this</p>



<p class="wp-block-paragraph">the subnet should match what we&#8217;ve chosen.</p>



<p class="wp-block-paragraph">So all of the IPs that we give away should start with 192.168.5 and then something.</p>



<p class="wp-block-paragraph">So notice out here I&#8217;m just saying 192.168.5.10.</p>



<p class="wp-block-paragraph">So I&#8217;m saying that the first IP address that I will give away is a something.10.</p>



<p class="wp-block-paragraph">And the last one that I&#8217;ll give away is a something.150.</p>



<p class="wp-block-paragraph">I think most people don&#8217;t go up that high, but I just feel like it.</p>



<p class="wp-block-paragraph">I want to go from 10 to 150.</p>



<p class="wp-block-paragraph">and that gives me a little room to statically assign lower addresses if I really feel like it later or</p>



<p class="wp-block-paragraph">High addresses if I feel like it later</p>



<p class="wp-block-paragraph">This subnet right here. That&#8217;s the same thing as a slash 24 block</p>



<p class="wp-block-paragraph">It just means only the last number should be able to change and then the least time 24 hours</p>



<p class="wp-block-paragraph">That means if the if the PI</p>



<p class="wp-block-paragraph">DHCP server gives an IP address to a client then that IP address should last for about 24 hours before the PI has to decide</p>



<p class="wp-block-paragraph">decide um you know on another ip address or if it&#8217;s going to give it a longer lease or something</p>



<p class="wp-block-paragraph">on the same one it&#8217;ll just it&#8217;ll just redetermine what&#8217;s going to happen uh then we&#8217;ll send a dhcp</p>



<p class="wp-block-paragraph">option uh basically we&#8217;re going to tell the clients hey here&#8217;s the ip address of your gateway</p>



<p class="wp-block-paragraph">so that&#8217;s called option three for dhcp options so we say three comma and then the dhcp server is</p>



<p class="wp-block-paragraph">going to be dot five dot one at the end because that&#8217;s the number we&#8217;ve designated for wireless</p>



<p class="wp-block-paragraph">for wireless LAN one, the gateway, you know, the wireless dongle that we&#8217;re setting up.</p>



<p class="wp-block-paragraph">Then we&#8217;re going to send DNS servers.</p>



<p class="wp-block-paragraph">You need DNS servers so that your clients can actually resolve names to addresses,</p>



<p class="wp-block-paragraph">you know, like yahoo.com or google.com instead of their numbers.</p>



<p class="wp-block-paragraph">So that&#8217;s going to be option six.</p>



<p class="wp-block-paragraph">And then you basically just put every DNS server you know about,</p>



<p class="wp-block-paragraph">or you want the clients to know about, separated by commas.</p>



<p class="wp-block-paragraph">Just to point out also, we&#8217;re not covering IPv6 in this video</p>



<p class="wp-block-paragraph">covering IPv6 in this video because we&#8217;re trying to keep it short but you probably want to continue</p>



<p class="wp-block-paragraph">eventually and set up IPv6 on your own at some point but this will totally work without it</p>



<p class="wp-block-paragraph">so my DNS servers are 1.101 but again you probably don&#8217;t have those as DNS servers</p>



<p class="wp-block-paragraph">yours are probably just going to be the IP address of your router or maybe you can put in some public</p>



<p class="wp-block-paragraph">DNS servers like 8.8.8.8 whatever you do write it all down there and save it</p>



<p class="wp-block-paragraph">and before we try to run dns mask let&#8217;s watch messages and see what&#8217;s going on</p>



<p class="wp-block-paragraph">actually you know what let me just type it and i won&#8217;t show you because there&#8217;s probably</p>



<p class="wp-block-paragraph">sensitive stuff in there you use a command to watch service logs called journal control so</p>



<p class="wp-block-paragraph">you&#8217;ll say pseudo journal control dash dash unit and then you just name the unit that you&#8217;re</p>



<p class="wp-block-paragraph">interested in watching if you type if you press enter right now you&#8217;ll see all of the logs and</p>



<p class="wp-block-paragraph">you&#8217;ll be able to scroll up and down, hit Q to exit.</p>



<p class="wp-block-paragraph">But if you just wanna follow the logs in a live view</p>



<p class="wp-block-paragraph">to see maybe problems as they&#8217;re occurring,</p>



<p class="wp-block-paragraph">then you&#8217;ll do a dash F for follow.</p>



<p class="wp-block-paragraph">I&#8217;m gonna do that in my other window right now,</p>



<p class="wp-block-paragraph">just so that I can maybe catch myself</p>



<p class="wp-block-paragraph">if something goes wrong.</p>



<p class="wp-block-paragraph">So I&#8217;m gonna like copy paste this up here on a terminal.</p>



<p class="wp-block-paragraph">Blup, blup, blup, blup, blup.</p>



<p class="wp-block-paragraph">Okay.</p>



<p class="wp-block-paragraph">So it says,</p>



<p class="wp-block-paragraph">I think it actually just like reset itself once I change the config file.</p>



<p class="wp-block-paragraph">That&#8217;s kind of cool.</p>



<p class="wp-block-paragraph">So, but then the next steps you want to do just to be sure that this service is actually going to run for you.</p>



<p class="wp-block-paragraph">You&#8217;ll say sudo system control status DNS mask.</p>



<p class="wp-block-paragraph">And then it says it&#8217;s enabled on my system.</p>



<p class="wp-block-paragraph">So then I&#8217;m going to do sudo system control enable dash dash now.</p>



<p class="wp-block-paragraph">And that&#8217;ll just ensure that it&#8217;s enabled.</p>



<p class="wp-block-paragraph">so it&#8217;ll start whenever the system boots and then it&#8217;ll start it right now also and every time you</p>



<p class="wp-block-paragraph">change the configuration you probably want to do something like restart I actually I&#8217;m not sure you</p>



<p class="wp-block-paragraph">need to do this because it looks like it was picking up the config while I was typing it and</p>



<p class="wp-block-paragraph">saving it so pseudo apt sorry pseudo system control enable now and then restart and then</p>



<p class="wp-block-paragraph">the DNS server should be running let&#8217;s see how much time do we have seven before I have to cut</p>



<p class="wp-block-paragraph">So now we&#8217;re at the point where we have to set up IP forwarding because what&#8217;s going to happen is…</p>



<p class="wp-block-paragraph">Actually, you know what? Let me do a scene cut because this is going to take more than seven minutes.</p>



<p class="wp-block-paragraph">We&#8217;re almost there. We&#8217;re actually almost finished.</p>



<p class="wp-block-paragraph">Well, not quite. We&#8217;re getting closer.</p>



<p class="wp-block-paragraph">Okay, I&#8217;m going to do a scene cut.</p>



<p class="wp-block-paragraph">Hey everybody. Thanks for watching this video again from the bottom of my heart. I really appreciate it.</p>



<p class="wp-block-paragraph">really appreciate it. I do hope you did learn something and have some fun. If you could do me</p>



<p class="wp-block-paragraph">a please, a small little favor, could you please subscribe and follow this channel or these videos</p>



<p class="wp-block-paragraph">or whatever it is you do on the current social media website that you&#8217;re looking at right now.</p>



<p class="wp-block-paragraph">It would really mean the world to me and it&#8217;ll help make more videos and grow this community.</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos, longer videos, better videos, or just I&#8217;ll be able to keep making</p>



<p class="wp-block-paragraph">kindness and subscribe. You know sometimes I&#8217;m sleeping in the middle of the night and I just</p>



<p class="wp-block-paragraph">wake up because I know somebody subscribed or followed. It just wakes me up and I get filled</p>



<p class="wp-block-paragraph">with joy. That&#8217;s exactly what happens every single time. So you could do it as a nice favor to me or</p>



<p class="wp-block-paragraph">you could troll me if you want to just wake me up in the middle of the night. Just subscribe</p>



<p class="wp-block-paragraph">and then I&#8217;ll just wake up. I promise that&#8217;s what will happen. Also if you look at the middle of the</p>



<p class="wp-block-paragraph">screen right now you should see a QR code which you can scan in order to go to the website which</p>



<p class="wp-block-paragraph">which I think is also named somewhere at the bottom of this video and it&#8217;ll take you to my</p>



<p class="wp-block-paragraph">main website where you can just kind of like see all the videos I published and the services and</p>



<p class="wp-block-paragraph">tutorials and things that I offer and all that good stuff and if you have a suggestion for</p>



<p class="wp-block-paragraph">clarifications or errata or just future videos that you want to see please leave a comment or</p>



<p class="wp-block-paragraph">if you just want to say hey what&#8217;s up what&#8217;s going on you know just send me a comment whatever I also</p>



<p class="wp-block-paragraph">in the middle of the night, I get, I wake up in a cold sweat and I&#8217;m like, it would really,</p>



<p class="wp-block-paragraph">it really mean the world to me. I would really appreciate it. So again, thank you so much for</p>



<p class="wp-block-paragraph">watching this video and enjoy the cool music as, as I fade into the darkness, which is coming for us</p>



<p class="wp-block-paragraph">all.</p>



<p class="wp-block-paragraph">Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/turn-your-raspberry-pi-into-a-wi-fi-repeater-step-by-step-guide-part-3/">Turn Your Raspberry Pi into a Wi-Fi Repeater: Step-by-Step Guide (Part 3)</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/turn-your-raspberry-pi-into-a-wi-fi-repeater-step-by-step-guide-part-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
