Turn your RaspberryPi into a WiFi Router!

preview_player
Показать описание
In this video we are going how to turn your RaspberryPi into a WiFi router! This allows you to take an ethernet cable and share it with multiple devices using wifi!

Note to get better performance you can also get an external wifi router using the same steps here!

#WiFi #RaspberryPi #Tutorial

Stuff Mentioned in video:
sudo DEBIAN_FRONTEND=noninteractive apt install -y netfilter-persistent iptables-persistent
Amazon Links:
*These are Amazon affiliate links, which means that if you purchase a product through one of them, I will receive a small commission (at no additional cost to you). Thank you for supporting my channel!
Рекомендации по теме
Комментарии
Автор

Just what I was looking for to remote into my RPi from VNC Viewer on my iPhone -- Thank you for this amazing documentation!

andydeidre
Автор

I did something like this years ago. Then RASPAP came out and it's so easy to setup but I like this cause it feels like I have more control and I understand how it works.
Great video!

cjlowe
Автор

Man your RaspberryPi 4K Tutotials series is OP!! Really helpful. Thanks a ton man.

Prasanna_Naik
Автор

This is a good, comprehensive guide. I like that you have covered all the snags such as unmasking the hostapd service, which other such videos seem to have forgotten to include.

stuartbell
Автор

This is exactly what I've been looking for, but I have a few questions that I'm not sure I can answer myself.
1. Would it be possible to use this as a sort of repeater? For example using a wifi dongle to add another wifi interface, and connecting that to an existing wifi network using that instead of eth0 for internet connection.
2. What about a hotspot using mobile data through a usb sim adapter?
3. Assuming the above is possible could you dynamically switch between Ethernet, Wireless, and mobile based on what was available?
4. Could you use vlans on the eth0 interface to allow for a wired LAN network and a wired WAN using a vlan aware switch?

jacobm
Автор

i got stuck at 5:53!
what do i type??!!? i did that and i brings me a blank page
also there is only one file directory which is Bookshelf

rocketguy
Автор

Thank you for making this video! I tried to do it earlier and run into trouble because of my limited knowledge of Linux. Now I will try to do it again.

AI-PhotographyGeek
Автор

It worked. But many a times I have restart the pi in order to connect a new device.

Still it works. 👍👍👍

JanendraYadav
Автор

Hi,
Great guide for setting up a wifi router, but it seems to have a limitation of needing to be on a wired ETH0 line for access to internet. I was hoping to be able to use this as a wireless hub linking to a home/work/travel wifi using a second USB wifi link on WLAN1. Then create a simple PHP to choose detected wifi routers. Hopefully this is an easy fix, and what I'm thinking will work out. Thanks

jackchaney
Автор

Thanks! I've been looking for a travel router/hotspot. This way I might even be able to firewall in front of my laptop. Hotel Wi-Fi is so spotty, but most still have ethernet ports in rooms.

Gryfang
Автор

The DHCP lease time doesn't necessarily mean they'll get a new IP address after that. It's up to the client to say "I already had this lease and I want it renewed" which should go smoothly and let it keep its IP and I believe this works even if it has disconnected in between, the client just has to have that claim of lease and the IP has to obviously still be ok for it to use. I don't know under which circumstances clients throw away this information and that may vary by client but it would typically cause an unexpired lease to be thrown away too.

Autotrope
Автор

Great video, easy to follow and just what I was looking for. Subscribed!

bokami
Автор

Thank you very much! Your great, informative walkthrough helped me set up a working AP and router on my Raspberry Pi. I honestly thank you because this made so much sense and resulted in a working Wi-Fi AP, whereas the other guide on the web resulted in me not being able to ssh into Pi anymore. That's pretty much why it took me a whole evening to set this up, I'm glad I found your guide, I only wish that I found it first. But anyway, I learned a lesson or two while messing with this. Thanks again!

sashamc
Автор

Not completely what I looked for but it was a perfect base for it. In my scenario, I've got a 4G LTE stick which provides an ethernet interface for WAN, and eth0 and wlan0 is bridged. Thanks!

Since I didn't find a complete solution, I considering making an install script or deb package.

MrLarryl
Автор

At 17:10 do I change “interface=wlan0” to “interface=eth0” if I was making wifi to Ethernet?

UNX
Автор

Good video. Sets itself apart from all the "here are the steps" videos that don't explain why you are doing all these steps

Autotrope
Автор

Nice to see that sub number going up. Congrats

zerocool
Автор

When I wrote this, none of the "I'll put it in the description below" was in the description.

DavidOster
Автор

Hi mate, I have followed you every line of code, but after configuring all and rebooting the raspberry pi, the sid is not visible in the wifi search, could you please help to investigate it.

danielrawat
Автор

Hi SpaceRex,
what a great project! It works properly.
I would like to setup a MQTT project with one ESP32 as a subscriber and another ESP32 as publisher. The broker should be a local RasPi standalone as Broker-Server creating its own WLAN without connection to the Internet via Router or Access Point.
Can you give me hints how to do this?
The handling of the ESP32 should be easy. But with the RasPi I have got my problems to combine the installed Mosquitto and the WLAN-Server capabilities.
Do you have this setup described in one of your courses? (Please without NodeRed.)
Thanks!
Oli

os-channel