Just what I was looking for to remote into my RPi from VNC Viewer on my iPhone -- Thank you for this amazing documentation!
@SpaceRexWill Жыл бұрын
Thank you!
@cjlowe16502 жыл бұрын
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!
@Prasanna_Naik3 жыл бұрын
Man your RaspberryPi 4K Tutotials series is OP!! Really helpful. Thanks a ton man.
@SpaceRexWill3 жыл бұрын
Haha thanks man!
@stuartbell70783 жыл бұрын
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.
@jacobm0073 жыл бұрын
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?
@jackchaney98292 жыл бұрын
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
@JanendraYadav3 жыл бұрын
It worked. But many a times I have restart the pi in order to connect a new device. Still it works. 👍👍👍
@Autotrope2 жыл бұрын
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.
@AI-PhotographyGeek3 жыл бұрын
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.
@SpaceRexWill3 жыл бұрын
Great to hear!
@rocketguy2 жыл бұрын
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
@real_mddiamond8 ай бұрын
sudo apt install dhcpcd sudo systemctl enable dhcpcd sudo systemctl start dhcpcd This worked for me.
@sashamc3092 жыл бұрын
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!
@Gryfang4513 жыл бұрын
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.
@MrLarryl793 жыл бұрын
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.
@bokami344511 ай бұрын
Great video, easy to follow and just what I was looking for. Subscribed!
@DavidOster3 жыл бұрын
When I wrote this, none of the "I'll put it in the description below" was in the description.
@SpaceRexWill3 жыл бұрын
whoops lol added
@tysonnguyen22732 жыл бұрын
@@SpaceRexWill when I created the network, it showed a “no wireless interface founded” with an up and down arrow, do you happen to know how to fix it?
@Autotrope2 жыл бұрын
Good video. Sets itself apart from all the "here are the steps" videos that don't explain why you are doing all these steps
@UN7X3 жыл бұрын
At 17:10 do I change “interface=wlan0” to “interface=eth0” if I was making wifi to Ethernet?
@os-channel Жыл бұрын
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
@roshansuranga6929 Жыл бұрын
Create uap0 access point.
@zerocool18843 жыл бұрын
Nice to see that sub number going up. Congrats
@SpaceRexWill3 жыл бұрын
Thanks man! means a lot!
@chivainmanfoumbi90263 жыл бұрын
very very clear explanations... what about if a want tout add another route ? I mean if I connect a USB TO RJ45 adapter (eth1) wich is connected to another network like 172.16.14.0 . what sould be the command line for this new route??? ...thanks
@marcusfarrell2423 жыл бұрын
Hey man I got a question I believe I did everything right and it shows that I can connect to it but when I try to it says there’s no connection could you possibly help me figure this out thanks man and good video
@sararara32773 жыл бұрын
and did you fixed it have the same issue
@danielrawat91142 жыл бұрын
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.
@salehmir92053 жыл бұрын
Very useful. Thanks man. Keep up the good work!
@морс-ф3д Жыл бұрын
Thank you for your tutorial! very informative!!
@QuanNguyen-og6pq3 жыл бұрын
great quality! Keep it up, dude.
@opijkkk49185 ай бұрын
can you explain how to get adblocker with pi as wifi router
@russdibennetto85912 жыл бұрын
Have a problem and a question. I have multiple Raspberry Pi's from Model b to Pi4. I also have an old Series 2 Tivo that connect to my Primary router using WEP though an old Linksys USB wireless B adapter. I want to convert my Primary router to WPA and somehow till connect the Tivo though it using WEP. Using one of my Raspberry Pi's would be a good solution and hence my question. How do I configure the Wireless AP on the Raspberry Pi to support WEP? And which Raspberry Pi's will support this. I know my Pi-4 won't support WEP to connect to an AP and is hard wired. Can't this be done and any information will be greatly appreciated. Thanks and Loved you video.
@KurtSelf10 ай бұрын
definitely going to give this a try (but with 2 Wifi's - not sure any value of Ethernet since our phones don't have jacks) but this will be a great tutorial for wlan0 and wlan1. THANKS!
@andrzeyknapik57323 жыл бұрын
Awesome tutorial as always, but how can I turn this into a straight access point, no DHCP or routing, this will be provided by my router for home use. I just want to create another access point in the house.
@abc20723 Жыл бұрын
Hi SpaceRex. For a research project, i have to do the same process but on a Intel NUC with a 5G modem for internet instead of ethernet. Could you give me some guidance how can i do that?
@tmotten Жыл бұрын
This awesome. Even though I only understood parts of it (I'm a Linux and code weenie). Would I be able to use this setup with a pi connected to a public wifi through a Ubiquity nanostation antenna connected via ethernet to the pi? The pi would need to be able to sign up to the public network through a webpage with login credentials.
@owenmarganski67313 жыл бұрын
I am trying to get Ethernet working with this setup, and don't quite get what else I have to change in the text to make it work. Can I get some help?
@Autotrope2 жыл бұрын
hostapd defaults to not enabling any of the higher speeds unique to wireless N or AC so it'll be stuck at 54Mbit and a 20Mhz channel. There is a wealth of settings you have to add and on the Pi 3+ and later it is possible to get wireless AC at 433Mbit speeds which is an 80MHz wide channel with single stream AC speeds but the setup is eye wateringly complex.
@bruceb81403 жыл бұрын
Can you clarify between eth0 and WLAN0 if the devices on the network will be on ethernet ? Do we swap WLAN with eth at every step? I'd like to connect a tablet via pi wifi to the pi to see devices on the pi Ethernet wired to unmanaged isolated switch
@simbarasheandrea46867 ай бұрын
Can i use the wifi router to access lets say I have installed a webserver like Apache2 on Raspberry Pi
@andrei.00162 жыл бұрын
Easy to follow and a grate tutorial but for some reason I did all the steps but the network doesn’t show up. Any idea how to fix it?
@BrennerEraFan2 жыл бұрын
This is such an amazing tutorial. Perfect intro by the way :). I was wondering what the difference is between hardware modes b and g.
@BrennerEraFan2 жыл бұрын
Also, how would I set up both 2.4 and 5GHz bands?
@SpaceRexWill2 жыл бұрын
so b is 2.4g and g is 5g. I don't know if you could setup both bands... have not tried it
@BrennerEraFan2 жыл бұрын
@@SpaceRexWill I thought you said a was 5G
@LocalTrashyt2 жыл бұрын
@@BrennerEraFan a was 5GHz
@mwasylewski96 Жыл бұрын
Can I connect rasberrypi to some local wifi instead of connecting to Ethernet and do everything the same in this tutorial and will be ok?
@DiyintheGhetto3 жыл бұрын
I think having a better external USB 3 wifi with external antenna would be better for something like this. That would give better speeds. But over all awesome Job Rex man you did.
@Oamaruastro6 ай бұрын
I found this just now since I’m trying to set up my Raspberry Pi to work as an AllSky camera out in the field where I have no internet connection, but want to be able to go out there and connect wirelessly to the RSP with my laptop to see what images have been captured. So there’ll be no router, just me with my laptop or phone trying to connect. Is there a way to do that?
@johnnyjoubert95832 жыл бұрын
How do i setup the pi so i can access a wifi network from the ethernet port? I want to connect a server to have wifi access through the pi.
@livebythebay Жыл бұрын
How would I use the onboard wifi card as a access point, but have my internet coming from 2 wifi dongles on the raspberry pi?
@brcosmin3 жыл бұрын
Thank you very much for the in depth guide, it was the only one that worked for me. I only have one small issue, if I install and run NordVPN, the minute I connect my Pi to a VPN, the internet no longer works for the clients, it does work for the raspberry pi if I connect via HDMI and a keyboard. Is there any way to keep this working with a VPN?
@gurt.yuri33782 жыл бұрын
How would I connect my rapsberry pi 3 b+ to wifi and use it to for an ethernet cable to connect another pc in a location where I cant hard wire the second pc to the router directly.
@TheLordGuy-55 Жыл бұрын
Could you use this to host Lan games using the raspberry pi and connecting other laptops with Ethernet ?
@donaldhoudek28892 жыл бұрын
Hi again, Another GREAT video, I left a comment on your other video regarding Pi router but I believe this one is much closer to meeting my needs and those of other remote access VPN connections. I have an RV in the Georgia mountains and a Unifi UDM-Pro (VPN - Subnet 70) at home here in central Florida. I am able to connect to the UDM-Pro via VPN on my iPhone and Windows laptop so I know the VPN works fine. The RV has access to only a campground 5GHz Public Wi-Fi AP for internet access up to 100Mbps. I am trying to figure out how to set up the Raspberry Pi to access the Campground Wi-Fi and automatically connect to the UDM-Pro VPN (Subnet 70) at home. I have 2 BrosTrend AC650 5.8GHz USB Wi-Fi adapters that the Pi will be using to connect to the Campground Wi-Fi and as an AP for the RV. The reason for this Pi setup is that I have Wi-Fi devices in the RV that can not be setup to connect to a VPN setup without the help of the Pi. I guess I will need to somehow setup a VPN client on the Pi to accomplish this along with some auto logging for the secret pw and regular password. Your thoughts, Don
@dangatonegro Жыл бұрын
Nice job! Good, aesthetic IT tutorials are not really easy to find ;)
@christiancabrera9495 Жыл бұрын
Allegedly 802.11ac is supported, I wonder what would be the settings for the hostage.conf file?
@TimothyPersad2 жыл бұрын
Do you remember that scene from Find Nemo when Squirt is telling Dory and Marlin the exit instructions? "It's like he's trying to speak to me. I know it.“
@cesarantonio1884 Жыл бұрын
will this work if i have the waveshare 7600X 4G hat on the raspberry ?
@carnby242 жыл бұрын
Really an excellent tutorial!!!!!
@RacinMason773 жыл бұрын
This is very helpful. I'm trying to create a mobile offline network to host a plex server on. I want to use a pi3+, have it act as a router as well as host local files on plex. From there it needs to work offline and send the media to a streaming device like Roku. Can a plex server be installed on top of this?
@fredericogoncalves37043 жыл бұрын
Hi, did you already try to setup this WiFi Router as WireGuard VPN client and use it as a travel router ?
@MiguelMarinho3 жыл бұрын
this #spacerex @spacerex it would be really nice to show how to adjust this to wireguard VPN client (here's your video kzbin.info/www/bejne/np-9f6WfgdiSnpY&ab_channel=SpaceRex)
@Jmotorev3 жыл бұрын
Do you know how to setup the Raspberry PI 4 as a Dual home... Meaning I can connect to WiFi for all internet activity and then my Eth0 for all private network traffic that is on a different subnet... like for example my home network over WiFi is 192.168.1.0/24 and the Eth0 is 192.168.50.0/24. I want to be able to log into the Raspberry (not headless) to use it to connect to WiFi and my private network at the same time.
@pavlegaming42633 жыл бұрын
do i have to connect ethernet to raspberyry pi so it can be a router, or i can go wireless?
@newbbeat Жыл бұрын
great concept now what if i hook a battery to the pi
@jeetvanii3 жыл бұрын
will it create it without etehrnet like just in case to use a access point
@troybenson2119 Жыл бұрын
I can see my raspberrypi as a possible wireless network but it says checking network requirements and then says cant connect to this network? Anything i can do to determine why?
@ericilkwatson55573 жыл бұрын
What if I added another eth card and created a bridge for eth1 and wlan0. How can I add it to this router if I want it to use this bridge instead of the wlan0 to connect to eth0? Is there an easy way to do this?
@19OEmer24 күн бұрын
Thank you. It´s nice video
@dlohnes Жыл бұрын
Hello, I don't get it, I followed your directions to a "t" and now the Raspberry Pi 4B works as a wireless router...BUT...only when the ethernet cable is plugged in. I would like to be able to do both, but most of the time I just want to use it as a wireless router, without the ethernet cable. Is there a solution?
@xmash15272 жыл бұрын
Hello, I have a question, I already have the AP of the raspberry, however when I try to connect from any device, it stays "getting the IP address" and after that does not connect. Do you know what solution may have this problem or what is due? PD: Sorry for my English
@Davidlavieri9 ай бұрын
Does it have to be raspberry os? Could it be simple Ubuntu
@tjrjcj2 жыл бұрын
Can you have both 2.4 and 5 instead of just 1 of them?
@rodrigogarciana3 жыл бұрын
Thanks for the video. Just a trickier question. I've successfully installed two things separately: hostapd (for the access point/router) and tailscale (to connect to an exit node that I have running in a different country [where isp has me behind a NAT]), in the raspberry pi if I switch on the tailscale VPN the thing rpi connects to the vpn, but the AP [hostapd] stops working. And if I switch off the tailscale VPN then I'm able to use it as a normal AP [obviously no VPN routing]. Tailscale creates 2 new interfaces [tailscale0 and lo] and sets some forwarding tables. A bit dark for my knowledge. Do you have any recommendation or quick pointer? Thanks again!
@thechezanimations90533 жыл бұрын
When my phone tries to connect it says something about a MAC address and in the totorial you said to look it up but I can’t find anything, can you help me out?
@vitanuevo2 жыл бұрын
It works fine for me using hw_mode=a but not with hw_mode=b or g, what could it be? i want to router a 2.4ghz AP not 5ghz
@josephtsangko35582 жыл бұрын
Sorry, what is the os installed on Rpi?
@kaiwanbillimoria2 жыл бұрын
Excellent, thank you!
@johnmock82312 жыл бұрын
I'd completely disregarded the fact that you require two interfaces in order to make this work, I tried create an AP using wlan0 and also connecting to the main router using wlan0. :D
@sbeve36693 жыл бұрын
Hey dude when I tried to connect to it is said that I connected but it said that the internet was unavailable I didn't plug in an ethernet cable that could be the issue by the way what do I do with the ethernet cable
@hunterrogue85913 жыл бұрын
Have you done a video on CardDAV Server? If so I haven't seen it. I have multiple platforms and want them to all be synced together.
@suryadharshan70483 жыл бұрын
great tutorial sir, worked like a charm for my raspberry pi 4. But now, I have another issue, how to revert back to normal raspberry pi WIFI usage? because I am using pi's WIFI to get internet from home router for my raspberry Pi for normal internet browsing (ethernet cable is not an option here) and I need to use my pi as a router without internet for my other raspberry pi for my D.I.Y Project. Need to go back and forth in using pi as WIFI and wireless routed access point. is there a way for that?
@SpaceRexWill3 жыл бұрын
The easiest thing if you are going to do this often would be to have two different SD cards, then manually switch them out
@suryadharshan70483 жыл бұрын
@@SpaceRexWill Thank you for the excellent idea sir 😊.
@ji10463 жыл бұрын
@@SpaceRexWill how to actually revert this though?
@kadenc663 жыл бұрын
so this is an internet connection i can take with me places right? like a router with no modem and i can stream videos and stuff on in the car or smth?
@bootleg25433 жыл бұрын
Yes
@kadenc663 жыл бұрын
@@bootleg2543 damn thats sick, though i unfortunately never could get it to work, idk if i did smth wrong or what, but i had no connection on the pi and no signal going out, i was also not using ethernet or usb dongle. Its a 3b+
@dmmikerpg3 жыл бұрын
@@kadenc66 With this setup, you'd need a wired connection coming through the Pi's ethernet port to get an Internet connection. Without it, the clients could still connect to the router and each other. So you could host a file server on the Pi and connected devices could access it.
@trackiestained2 жыл бұрын
So do I need to have wifi already for this work.....or does this method make wifi out of thin air (I'm an idiot)
@SpaceRexWill2 жыл бұрын
This will work like a WiFi router. You have to plug it in
@Wojtek_177711 ай бұрын
Can this work with parrot security edition?
@Samuel-yh5lh2 жыл бұрын
when i ping the pi, it says "destination net unreachable". What is the problem here? i did everything like said in the video
@tr45933 жыл бұрын
Doesn’t work on sudo iptables command I get an error🤷
@PickleWarrior2 жыл бұрын
same
@dannyhiczful Жыл бұрын
I formatted my SD, reinstalled the OS, and made it all the way through only to find that none of my devices can find it on the network list.... any troubleshooting advice???
@thomasnemschick51753 жыл бұрын
which os do i install fopr the raspberry pi
@UN7X3 жыл бұрын
would this work on a raspberry pi 0 w?
@SpaceRexWill3 жыл бұрын
It would, however you would need a wired Ethernet port in
@josh16662 жыл бұрын
I'm struggling to get this to work even after following the guide. I am able to connect to the wifi, but it doesn't actually allow me to access anything (websites, etc). Any suggestions on what might be causing the issue?
@Jack-002 жыл бұрын
Does anyone know how to set up Pi Hole or something similar to work with this?
@kboy51893 жыл бұрын
Great video, to the point, no BS. That's why I give 5 * if ratings are done in stars
@SpaceRexWill3 жыл бұрын
Thanks!
@mateja176 Жыл бұрын
I've installed Rasbian OS Lite 64 Bit on a Raspberry Pi 4 and there is no /etc/dhcpcd.conf file available. Instead there is an /etc/dhcp folder, containing /etc/dhclient.conf among other files. Does the change conflict with this setup?
@pierresterling11 ай бұрын
I am having the same issue. Anyone know how to proceed?
@mynguyenvan38599 ай бұрын
@@pierresterling bạn có thể cài bo pi bulleyes
@cyphercrypto89222 жыл бұрын
I followed this tutorial to the T and my raspberry pi 4 32-bit still now showing my SSID after I reboot. If I wanted to do it with a lan cable. Put eth0 . Interface=eth0 domain=eth address=rt.eth/ip address? Also I tried it with standard wlan and it didn't work for me. I was creating it within my raspberry pi 4 terminal.
@booshnelli78413 жыл бұрын
awesome!! perfect timing too, i was literally looking for guides on this just yesterday haha. can't wait to try this! 🤘
@SpaceRexWill3 жыл бұрын
Hey glad the timing worked out lol
@mecrivan3 жыл бұрын
What an awesome video, thank you so much. I have seen some routers launch a web page when we connect to the network, is there a possibility we can do that with a raspi? If it is,where can i get some info about it? Again thank you for all the information.
@SpaceRexWill3 жыл бұрын
Hmmmm I bet someone has built a similar project in the past. I would look at Ubuntu guest WiFi or something like that
@dannyhiczful Жыл бұрын
I tried this on my Pi 4 model B and it says "not found" and "does not exist" so is this outdated??? Please advise!
@zainalishammat2866 Жыл бұрын
i tried to do the iptables but it doesn't work because the command -t is not included
@villocity57943 жыл бұрын
so when i connect to the internet or wifi i made it says connected without internet :/ and when i go into tiktok as a test (im using samsung (mobile)) it loads vids but i cannot like and it will not load my pfp like it has no internet when it should do you know what i should do
@ActionParsnip2 жыл бұрын
After the touch command, run can run: sudo nano! $ and it'll open
@cjlowe16502 жыл бұрын
Do you have this written out some where?
@russchristensen38082 жыл бұрын
These instructions seem to work to connect from Windows but when I connect from an Android Tablet it says "connected without internet". It has something to do with the DNS settings. I mean I have no idea this is a guess. Is there something else that needs to be done to setup the DNS?
@robsyv3 жыл бұрын
is there possible to do it so you get wifi in, and make it so the pi sends out signal over both wifi and ethernet?
@SpaceRexWill3 жыл бұрын
I am not sure if you could receive and transmit wifi at the same time
@donaldhoudek28892 жыл бұрын
@@SpaceRexWill You need to add an additional WiFi dongle and set it up
@l3tsfabi3 жыл бұрын
My WiFi say that i have no internet conection What did i wrong?
@TheSokodelic3 жыл бұрын
Total Noob here; I recently installed Windows 10 on my Pi 4s sd card (prior, it was Raspian). My question is, if I purchase another sd card, can I do this wifi setup as well on the new card and just swap out cards whenever I want to change the Pis purpose? Or even, can I do both on the same card? Thank you for time!
@SpaceRexWill3 жыл бұрын
So I am not aware of a legit version of windows 10 that you can install on a pi, and these instructions would not work for windows 10. What I would guess is that you have installed a skin that looks like windows 10. Either way you will have to setup the wifi in whatever sd card is in the pi
@notez420_3 жыл бұрын
why windows
@Jonas_Jones2 жыл бұрын
After following the tutorial, when trying to connect to it, it couldn't, giving back that it couldn't get the IP adress. how do I fix this?
@fuchs_der_nacht814311 ай бұрын
wehn i put in "sudo iptables -t nat -A POSTROUTING -o 0 -j MASQUERANDE" then it comes "iptables v1.8.7 (nf_tables): Chain 'MASQUERANDE' does not exist Try `iptables -h' or 'iptables --help' for more information. " waht have i did wrong ?
@redshepard53063 жыл бұрын
I don't have a dhcpcd.conf in /etc Im on ubuntu mate for clarity. I have an /etc/dhcp/dhclient.conf Could that be the file i need to edit?
@saltdad52633 жыл бұрын
no, you just gotta create the new file. some programs just dont always create the config files automatically
@redshepard53063 жыл бұрын
@@saltdad5263 thx for the reply. I made the file but it didn't work. I figured out i didn't have it installed and that's why i couldn't fix the config. Sudo apt install dhcpcd5
@saltdad52633 жыл бұрын
@@redshepard5306 ah, okay that makes sense lol. glad you got things figured out :)