I'm new in the world of linux and have used raspberry pi to get started. I'm a disaster preparedness consultant, trying to build a small device for computer communications; a secure travel router being first on my list of necessary items. Thus far this video has proven to help with merging a travel router with a linux OS and next will be a media server, all in one. Thanks for this video, it seems to be a direction I'll need to go; however I still need to confirm how secure it is versus using OpenWRT. I like the RaspiAP GUI because it's more user friendly than OpenWRT. I did get the Panda dual band USB dongle to work (it wasn't easy, but I did it). Now I just need to move forward with getting the media server installed and see if it'll work. Let me know if you're interested in looking over my build. Until next time, and don't forget to embrace those evil dice ;-)
RasAP is on top of Debian. Search for DLNA server. Alternatively, openwrt has a minidlna server that works with minimal setup. Make surd you have sufficient storage for your media files.
FYI... I'm working on a 2025 version of this video and this is probably the most common question. In short... the RaspAP software itself can't handle it, at least the free version and even if you get the "Insiders" addition you won't be able to handle all captive portals. I do have a workaround, but it's hard to explain but I have hope to have the updated video out very soon.
Thanks for this great video, really helpful Just wondering if you can take it further one more step and explain how to install and connect travel NAS to it this will be the ideal scenario for someone traveling long distances (10-14 hours) with family, so they can use on a plane for example to share media privately
2 things that I think is risky: 1. You should definitely change the admin password... (and admin user name as well if possible). 2. Login seems to send unencrypted user/password when you are simulating connecting to a public AP hot spot - this is my warning signal that it should not be used - unless that behavior can be changed! So maybe 1 and a half. I really like your video since it is down to earth, everybody should be able to understand it, and accelerating the time spending watching installations ... Thank you - and I hope that my couple of risky issues are not hurting your feelings (they were not meant to!) Keep up the good work!
Thank you. A number of people have commented on the changing of the admin. I was more concerned about getting the steps conveyed but I definitely think I should have included that along with a number of other security measures that I could have taken. Thanks for the feedback and the kind words.
Does the RaspAP software allow for "secondary login" i.e. after you've connected to, say, Starbucks' Wifi, or a hotel network, it requires a subsequent login or confirmation?
Just to share my experience, I just spent hours trying to set this up and when I finally tried to connect to the Comfort Inn WiFi network which is open with no password, it would not even connect, let alone connect with no internet. So I'm not sure this is even useable as a travel router solution. I'm trying to turn a Pi 5 4gb into a travel router and media streaming box simultaneously so I need software for both that you can install on Pi OS or OS Lite together.. it's made this project tough. Meanwhile I KNOW the pi 5 can handle it so it's frustrating
I bought the panda wireless AC adapter since it seems to be universally compatible according to raspberry pi documentation. Working great. I also skipped all that stuff about switching the wlan0 and wlan1 connections. I tried it on an earlier build and couldn't get it to connect to the internet for some reason afterwards, so I redid it all from scratch, letting it default the devices.
Hi, thanks for the informative video. I have done everything, my RasAP is up. Then after a few hours, wifi disconnected and I couldn’t re-connect in raspi-webgui until I rebooted forcely again and again. Until the system was corrupted. Could you please advise what to do, thanks in advance.
Great video and very well explained. Thank you. I use a USB 3 gigabyte Ethernet adaptor as the connection to the internet, where there is a cable available but switch it to a USB 3 wifi 6 adaptor when there is no cable but use your set up for the Wlan0 connection for the devices.
Very cool. will it work with 2 of the ac wifi dongles to get you connected on the lan side at ac speeds instead of just the n speeds of the built-in adaptor?
I worked on this the last few days and had moved on. I read that the uap0 AP as repeater is virtual and is experimental. I just found that it wasn't a reliable solution. I found the wifiAP built into Bookworm worked but needed to be run as a computer with mouse keyboard and monitor. So if WRT or RaspAP would work I would prefer it. So with your thoughtful and timely update I may give RaspAP another shot. Thanks. (Not Working) Everything was exactly as explained. Could connect but the DNS on WAN1 wasn't able to access the internet. WAN0 could however. I may plug a way a little but now I'd have to reimage and start over. Looked like my adapter was registered and seen by RaspAP. I wonder how little consumer travel router's firmware is so dependable.
Sorry to hear that it isn't working. I'm wondering if you can get it to work first by following the RaspAP steps. docs.raspap.com/repeater/. The reason why I did it the way I outlined in the video is so that WLAN0 can be the one to connect to the internet. Make sure that your routing tables are properly set as well. The interface with the internet connection needs to be before the hotspot interface. That routing table is mentioned also in the documentation. Good luck. Let me know what happens. These things are a bit finicky some times. This is why I had to do an update video. If things change even more, then I might have to make more update videos 😋
@ayTechTVI Didn't have to re-image. Did a reset and I think it's working now. I'm a little nervous about rebooting. But it's currently working as it should. Thanks for your reply and the videos. Thumbs up!
Hi, i came from the outdated video.. i was wondering what exactly do I need to setup this rsp pi router? i know the pi.. an ethernet.. so do we need two dongles?? ... and then a sd card.. how do I know which dongles are compatible??
Question since your home wifi network has a password and lets you connect and it doesn't have a gate in front it's easy. Public WiFi hot spots often have a website where you must either login or agree to some terms before you have a valid internet connection. How can this be achived with RasAP?
Maybe, but it's cheaper, more feature rich, and easier to buy a glinet travel router. This is a neat project....but there are better off the shelf travel routers out there.
@everydaytechtv, how would you set up the RaspAP to work with a hotel’s captive portal? Does it have the capability to allow you to register? That’s what I’m beating my head against the wall with. I don’t want my clients to deal with that login.
Yeah, I really need to know this, too. I read that you either have to log in with say your mobile and then use the MAC adress of that for your pi or tinker with scripting to fill in the necessary information
I can definitely plan for it. It'll take a little time to get to it. I honestly use a dedicated travel router now. I think this is a great project to get practice with Linux, Raspberry Pi, and just networking in general.
Thanks for the video. Followed you instructions and can connect to the raspap. Can not get local networks to show up. My wlan0 shows down which I assume is preventing me any connection to the internet. Any suggestions on how to get wlan0 up and connected. Thanks
Hi, excellent tutorial! Very useful! I would like to use this to share with further at a CoderDojo is there a way to set this up using captive portal so that when a kid shows up they can connect to an open WiFi network, be authenticated locally then get filtered access to the wider internet?
Not advisable. That's the "management" interface on the internal LAN. You can stick a USB/RJ45 adapter if your WAN "host" network is providing Ethernet internet connection.
Thanks for the video! There is a hell of a lot more to any wifi (or radio) performance than just its type standards. With any radio, and wifi is just a radio, it is all about the antenna. In the military, we regularly transmitted across the planet with just a few watts of power...with the correct antenna. I dont see what wifi dongle you are using, but if it's a separate antenna (vs those ones that just look like a thumb drive) it should perform much better than wlan0's on board antenna. Ideally you'd also want to crossband repeat (in otherwords use 2.4g to connect to the hotel wifi or other internet access point and 5g setup your travel router hot spot. (or vice versa.) If not, youd at least want to make sure the channels being used are as far apart as possible or you will only be overloading wlan0 when wlan1 transmits, or vice versa. You'd also prefer to have as much separation as possible between the two antenna (meaning wlan0's on board antenna and wlan1's usb attached antenna). There are times you'd want to use the superior range of wlan1 with a good antenna as your hotspot and there are times you'd probably want it as the connection to the access point providing internet.
I totally agree with your comments. I could get a USB wifi dongle with an actual bigger antenna that would perform better as well but I wanted to keep this as cheap and compact as possible. The RaspAP software that I was demonstrating here... it's not the most simple thing to switch the hotspot back and forth, although not too difficult. Overall, this was more of an exercise to see if I could do this and try to get the most of what I already have. If people are needing a travel router and they don't have anything, I would still recommend getting a dedicated travel routers, like one from GL.iNET. I'm actually in the process of reviewing more travel routers from them. Thanks for your input and the knowledge.
@@EverydayTechTV I meant to put that. My WLAN1 antenna setup is large, and detached with a USB connecting it. Obviously, some people are fine with a small stubby USB thumb type antenna and wouldnt want the bulk of something large regardless if it is a more effective antenna.
what i noticed is that if you have the wifi dongle in when doing this it will use that automatically but if you plug it in after raspap is installed it uses it as the hotspot
Cool Video! Many thanks. Setup was easy with it and it worked! But what about securying the PI with a Firewall? When using it in "public Wifi". As far as I can see, everything is open, inbaoun and outbound
Sorry about that.. I saw the alert come through my phone but I couldn’t find the comment on my iPad. As far as Firewall is concerned, this is a yes and no answer. Doing some search on this, there is a Firewall feature, but it’s only for “Insider” or “Sponsor”. I personally am just using the regular version. This means that it should eventually be released in future versions. There are at least 1-2 other features that I’m waiting to be released into the regular version. With that said, you can install a Firewall on the Raspberry Pi, but just not through the RaspAP software. If having a Firewall is a deal breaker for you, then I would suggest getting a GL.iNET travel router, which does have a Firewall. I’m eventually going to do a video on OpenWRT, which I know has a built in Firewall, which actually the GL.iNET travel routers use.
When i try to change wlan0 to wlan1 in the hotspot it turns off the channel option It just greys it out and says - - And then i cant save settings Any ideas?
Hi and thank you for this update. Im having an Issue no internet for connected clients. I followed your instructions to a T... my pi connected to a wifi client and has internet. But when connecting to the raspi_webgu SSID, clients dont have internet. I noticed clients connected dont appear in the Dashboard > connected clients either... I tried everything in the FAQ but no dice. Any advice?
found the issue, installing some other packages cleared the iptables I used these 2 commands to add the masquerade back and its working again sudo iptables -t nat -L -n -v ### show current table sudo iptables -t nat -A POSTROUTING -j MASQUERADE ### adds MASQUERADE 0.0.0.0/0 --> 0.0.0.0/0 sudo iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE ### adds MASQUERADE 192.168.50.0/24 --> !192.168.50.0/24
Can u still use Ethernet cable at the end, so I use Ethernet on the router to the pi, or won’t that work? Also can I use an Ethernet cable from raspberry pi to a laptop? Do I need an adapter so usb to Ethernet or does the Ethernet port work already for it?
I've been using the build Network Chuck did a while back (OpenWRT based, which is fine, I'm an OpenWRT user). I did watch your first RaspAP video and built one out real quick... but went back to Chuck's build because of the single radio issue.. Now that the RaspAP is using a secondary radio (usb) I really want to give this another look. BUT!!! with Chuck's build and this one I've found an issue. If you connect to the RaspAP and attach the WLAN1 to a travlel network... how do you navigate a captive portal if your hotel or coffeshop is using one? Because it is your Raspberry PI that needs to talk to that network before your devices can get on. Or is there a switch for CP passthru?
I think I saw somewhere that if you connect the router to the wifi, connect to the router, and then try to go to a website, you'll get the captive portal prompt for the router on your device. If this works, could you let me know?
Not working for me. As soon as the wlan1 is switched over on RaspAP and the wlan0 settings are deleted in terminal the SSID (raspi-webgui) is not visible on any devices. Repeated the process three times verbatim and still doesn't work.
If I have the old Rasap and do updates to the OS will it still work? Also can you get the older version if you don't want to buy a dongle? Although I only used ethernet on my setup but will be traveling soon and want a portable one for hotel wifi.
That's a great idea. I'll have to get a hold of one and try it out. I have the original Pi Zero W and I'm pretty sure it's not going to be able to keep up.
While the geek in me wants to try this; I have some GL.inet devices that do essentially the same thing but far less involved to get rolling. I'll probably try it once for the experience on a day where I get bored. I have noticed that while my devices like my laptop and tablet work well in most cases, in some fringe areas where signal is low'ish, the GL.inet devices do pull in better signals; This RaspAP has a similar promise to a degree; who knows what I'll do .. ( I carry my gl.inet router in a small waterproof case in the car, complete with powerbank and cables. ). If you don't have a travel router, making one does sound like a nice option. What I like about the RaspAP concept: Separate radios where the gl.inet devices use a single radio; If it works well, I can certainly adopt it. Having separate radios is a good reason to give it a whack.
I totally agree with you on this. I say, only do this if the geek in you wants to. 😊 I just wanted to give an option for people who already have a raspberry pi. Another use case for using the raspberry pi for other things. For example I’m used the Raspberry pi as a web server so I could do programming while using my iPad at the coffee shop. This way I only needed to bring one device with me. Thanks for dropping by.
You are right. It is probably smarter to just buy a travel router. However, first it is a learning experience and teaches you about networking. Secondly, it gives you a Pi that you might later convert to another use when you don't need the router. Third, it's fun to be a geek.
It’s not a simple answer. It depends on the captive portal. Hotels are the toughest ones to get around. Some captive portals rely on a cookie on your browser, which means each device will have to agree to the portal, no matter if you connect through RaspAP or not. Then, some captive portals record the device’s MAC address, in which case, you need to be able to do something called MAC Cloning, which you can’t do on the “free” version of RaspAP, which implies that there is a paid version of it, which is officially called their “Insiders” membership. I’m not an “Insider” so I’ve never verified this works. If this is all confusing to you, let me break it down this way… if you are trying to get around captive portals, RaspAP is probably not the best solution. I would get a dedicated travel router from GL.iNET or TP-Link. I hope this helps.
When I reboot the system, my wlan1 gets disconnected. What should I do? I have to access the RaspAP interface and connect the Wi-Fi every time I reboot the system... Thank you for the video!!
I know this isn't a help desk and I like the video and I can follow along as I have watched it maybe 6 times and counting. BUT I get everything set-up and configured, I can connect to the hotspot, but I get no internet from the wifi I am connected to on the Pi...so the pi is connected to wifi and I am connected to the pi, but it says no internet connection.
It took me about a day but I finally figured out it was the network routing and the "metric" values. I write this follow-up in the event anyone else runs into my issue. I found it takes a lot of patience to set this up. After I got it working on a RPi4, I built a tiny version on the PiZero2W for shiggles. Got that working too. thanks for the video update
Just as a general curiosity question... if you had 2 old Raspberry Pi's 2B (gosh I can't tell the specs straight from my head...google... 0.9GHz, 1GB SDRAM) what would you use them for nowadays?
I'm assuming it will work... I can't speak to the performance. RaspAP even works with Raspberry Pi Zero W's... so I'm assuming it'll work with the 2B, but I don't think the 2B has built-in Wifi, so it becomes a little more complicated.
Because a travel router can be setup to mirror your home wifi so you only deal with one connection and all devices (wife phone, kids tablets, your phone and laptop) can connect, plus you can use VPN to keep all of it secure at the same time.
Yes - I uderstand that. And OpenWRT is able to do that since quite some time, on a le variety of hardware, including the Pi... and it i s probably more mature and better tested... But in the end, I agree, this is a question of personal prefference. And we all have to be gratefull for open source spoiling us with multiple great choices.
802.11ac (5Ghz) has shorter (not longer) range than 802.11n (2.4Ghz). 802.11n signals are heard over longer distances than 802.11ac. However 802.11n cannot achieve the throughput of 802.11ac so 802.11ac is better when the client device has a good signal from the AP (i.e. is physically close enough to the AP).
So this is nice. Love the video. But, why? What’s the benefits? Why not just connect to the public WiFi? I have ideas but curious why you don’t offer any benefits…?
Some places charge you per connection and this will allow you to connect one device while sharing that connection to all of your devices. It can also be a direct line to your home network/servers using VPN. Also, if you're somewhere with a weak wifi signal, you can place this somewhere nearby that gets the signal and it can repeat it to you farther away.
I didn't outline the benefits in this video, mainly because of the length of the video (although, what's another minute 😂). I've outlined the benefits in the first version of this video and in my other video I did on the GL.iNET travel router, but basically the benefits are... more secured connection, ability to connect to a VPN, and if you are traveling with multiple devices, this is an easy way of getting all those devices connected all at once. These benefits may or may not fit your needs. I would say the last benefit is... just to try stuff on the Raspberry Pi and learn a little bit more of how Linux works.
I went to dongle company website and I've found how to install drivers for Linux, Then simple copy and past command and install after Raspberry pi OS upgrade. Dongle needs to be plugged in.
good video but regretfully all links are US related links to Amazon...same stuff cannot be found in europe and finding a good usb dongle is a formidable quest
It depends on the captive portal. I've had success with most captive portals because most of the time it depends on the device connecting to the internet. When I'm connected to the travel router, my device often still has to go through the captive portal. With that said, I was just at a hotel this past weekend and it didn't let me get past it. Your mileage may vary.
For the most part.. you should be able to. A lot of captive portals rely on the individual devices (computer, phone, etc.) to connect to the portal, so connecting through the travel router doesn't make a difference. With that said, it depends on how the portal is setup. I recently was at a hotel and that particular portal didn't allow the travel router to connect.
@@EverydayTechTVI have activated VNC on the router, so I can access it with my iPad using screen sharing. This way I can start a browser on the PI and fill in if needed the information for the captive portal. Also handy to do computery things my iPad can't do.
No reason other than I have a few Raspberry Pi's and they are the most popular. I do have a Banana Pi though and I will get around to eventually trying this on it.
Can you please make an updated video on this one. And also include tailscale setup such that the raspberry router acts as a subnet router. I want to learn
Why is this better than just connecting to hotel wifi using your VPN? I’m not dissing this. Don’t get me wrong. I’m going to make one 😂. Just curious about one vs the other.
Thanks for the updated video - much appreciated and can't wait to try. I'm curious what anyone's experience has been with the RaspAP software itself? On my last installation, it was *super* unstable.. I'd get everything working, try to change one lil thing and it would all fall to pieces. Fingers crossed RaspAP on this installation. THX for the guide!
Sadly no luck. It's up, it's down. Can't connect hotspot, then I can. But wont route to internet. For me, I guess the RaspAP software isn't ready for me. Appreciate the vid though.
This would definitely help.. but I would say.. depends on how you are setting it up. There are definitely other solutions out there with better performance but if you already have a RPi, then try it out.
Haha. I go back and forth on this one. Believe it or not there are people who want the bright mode. I promise to use dark mode on the next, which is actually my preferred way I usually use terminal.
Great video; I've been trying to get RaspAP to work consistently on a Raspberry Pi 5 so that I can use it as a Travel NAS (Emby Server, SAMBA, Navidrome and Syncthing via Docker Containers) but it just seems soo inconsistent to get the Hotspot to actually function; I'm getting close to just buying a Travel Router.
Not really a travel router when you still need to connect it to the internet to share the connection. If you could use a SIM card and 4g modem then yeah not bad but rasp ap cannot
Make it wide enough to hold a credit card or two, back it with those plates to block credit card scanners, add the coins. You would a have a “legal” and court defendable wallet … that has an extra feature or two.
You are correct. I was hoping this would be just a guide and people would automatically know to do it, but I can't assume anything. I'll make sure to add that in future videos.
FYI... I'm working on an updated 2025 video. This upcoming video will address the question of captive portals and other Wifi Adapters.
No it still works made it yesterday - only change i made is 64 bit version
And used monitor and keyboard to install eveything
I failed to the get the original set up working on a one WiFi setup :(
Awesome. I just received my PCIe X1 Hat and my mPCIe hat. Both work with the 2.5gbps dual Eth cards. Cant wait to try this build
I'm new in the world of linux and have used raspberry pi to get started. I'm a disaster preparedness consultant, trying to build a small device for computer communications; a secure travel router being first on my list of necessary items. Thus far this video has proven to help with merging a travel router with a linux OS and next will be a media server, all in one. Thanks for this video, it seems to be a direction I'll need to go; however I still need to confirm how secure it is versus using OpenWRT. I like the RaspiAP GUI because it's more user friendly than OpenWRT. I did get the Panda dual band USB dongle to work (it wasn't easy, but I did it). Now I just need to move forward with getting the media server installed and see if it'll work. Let me know if you're interested in looking over my build. Until next time, and don't forget to embrace those evil dice ;-)
RasAP is on top of Debian. Search for DLNA server. Alternatively, openwrt has a minidlna server that works with minimal setup. Make surd you have sufficient storage for your media files.
This just helped me so much. I had a problem and didn’t know what to do but this updated one really helped me so much. Thanks so much!!
Thank you, Great video and you make the process so easy.
Much appreciated for the updated video.
How do you get around a Capture portal at a hotel or starbucks
FYI... I'm working on a 2025 version of this video and this is probably the most common question. In short... the RaspAP software itself can't handle it, at least the free version and even if you get the "Insiders" addition you won't be able to handle all captive portals. I do have a workaround, but it's hard to explain but I have hope to have the updated video out very soon.
@@EverydayTechTV Can use a text based browser or similar to trigger the captive portal?
Thanks for this great video, really helpful
Just wondering if you can take it further one more step and explain how to install and connect travel NAS to it
this will be the ideal scenario for someone traveling long distances (10-14 hours) with family, so they can use on a plane for example to share media privately
2 things that I think is risky:
1. You should definitely change the admin password... (and admin user name as well if possible).
2. Login seems to send unencrypted user/password when you are simulating connecting to a public AP hot spot - this is my warning signal that it should not be used - unless that behavior can be changed!
So maybe 1 and a half.
I really like your video since it is down to earth, everybody should be able to understand it, and accelerating the time spending watching installations ...
Thank you - and I hope that my couple of risky issues are not hurting your feelings (they were not meant to!)
Keep up the good work!
Thank you. A number of people have commented on the changing of the admin. I was more concerned about getting the steps conveyed but I definitely think I should have included that along with a number of other security measures that I could have taken. Thanks for the feedback and the kind words.
If the admin password is sent in the clear then surely it would be sent over the trusted LAN side connection, not over the public WiFi?
Thank you. I know you didn't change the admin password because this wasn't a security tutorial.
Does the RaspAP software allow for "secondary login" i.e. after you've connected to, say, Starbucks' Wifi, or a hotel network, it requires a subsequent login or confirmation?
Yeah I really need to know this, too. What about those wifis where you have to open a login page on your browser first :(
that is the external "landing page", not under personal control, it is the company's wifi asking, depends on each site you visit.
Just to share my experience, I just spent hours trying to set this up and when I finally tried to connect to the Comfort Inn WiFi network which is open with no password, it would not even connect, let alone connect with no internet. So I'm not sure this is even useable as a travel router solution. I'm trying to turn a Pi 5 4gb into a travel router and media streaming box simultaneously so I need software for both that you can install on Pi OS or OS Lite together.. it's made this project tough. Meanwhile I KNOW the pi 5 can handle it so it's frustrating
incredibly thankful for this video
hello, great guide, I was wondering if I can install tailscale on top of this? Thanks
I bought the panda wireless AC adapter since it seems to be universally compatible according to raspberry pi documentation. Working great. I also skipped all that stuff about switching the wlan0 and wlan1 connections. I tried it on an earlier build and couldn't get it to connect to the internet for some reason afterwards, so I redid it all from scratch, letting it default the devices.
Hi, thanks for the informative video. I have done everything, my RasAP is up. Then after a few hours, wifi disconnected and I couldn’t re-connect in raspi-webgui until I rebooted forcely again and again. Until the system was corrupted. Could you please advise what to do, thanks in advance.
Great video and very well explained. Thank you. I use a USB 3 gigabyte Ethernet adaptor as the connection to the internet, where there is a cable available but switch it to a USB 3 wifi 6 adaptor when there is no cable but use your set up for the Wlan0 connection for the devices.
Awesome. Please share the brand/model of your USB devices
Very cool. will it work with 2 of the ac wifi dongles to get you connected on the lan side at ac speeds instead of just the n speeds of the built-in adaptor?
Before buying an USB AC adapter make sure it has built in driver in the Linux kernel.
I worked on this the last few days and had moved on. I read that the uap0 AP as repeater is virtual and is experimental. I just found that it wasn't a reliable solution. I found the wifiAP built into Bookworm worked but needed to be run as a computer with mouse keyboard and monitor. So if WRT or RaspAP would work I would prefer it. So with your thoughtful and timely update I may give RaspAP another shot. Thanks. (Not Working) Everything was exactly as explained. Could connect but the DNS on WAN1 wasn't able to access the internet. WAN0 could however. I may plug a way a little but now I'd have to reimage and start over. Looked like my adapter was registered and seen by RaspAP. I wonder how little consumer travel router's firmware is so dependable.
Sorry to hear that it isn't working.
I'm wondering if you can get it to work first by following the RaspAP steps.
docs.raspap.com/repeater/.
The reason why I did it the way I outlined in the video is so that WLAN0 can be the one to connect to the internet. Make sure that your routing tables are properly set as well. The interface with the internet connection needs to be before the hotspot interface. That routing table is mentioned also in the documentation.
Good luck. Let me know what happens. These things are a bit finicky some times. This is why I had to do an update video. If things change even more, then I might have to make more update videos 😋
@ayTechTVI Didn't have to re-image. Did a reset and I think it's working now. I'm a little nervous about rebooting. But it's currently working as it should. Thanks for your reply and the videos. Thumbs up!
Hi, i came from the outdated video.. i was wondering what exactly do I need to setup this rsp pi router? i know the pi.. an ethernet.. so do we need two dongles?? ... and then a sd card.. how do I know which dongles are compatible??
Question since your home wifi network has a password and lets you connect and it doesn't have a gate in front it's easy. Public WiFi hot spots often have a website where you must either login or agree to some terms before you have a valid internet connection. How can this be achived with RasAP?
Great question and exactly what I wanted to ask as well. Were you able to find a solution?
@@TepChantra I have not found an answer but this would be a game changer for saving money on a cruise.
Can this works on those hotel WiFi that has another login webpage that need us to key in username n password separately?
Maybe, but it's cheaper, more feature rich, and easier to buy a glinet travel router. This is a neat project....but there are better off the shelf travel routers out there.
@@russg4313 Have fun with your off the shelf travel router that has outdated software on it.
@everydaytechtv, how would you set up the RaspAP to work with a hotel’s captive portal? Does it have the capability to allow you to register? That’s what I’m beating my head against the wall with. I don’t want my clients to deal with that login.
Yeah, I really need to know this, too. I read that you either have to log in with say your mobile and then use the MAC adress of that for your pi or tinker with scripting to fill in the necessary information
Can I use a pi zero w?
Can you please make a updated tutorial because some stuff has changed
I can definitely plan for it. It'll take a little time to get to it. I honestly use a dedicated travel router now. I think this is a great project to get practice with Linux, Raspberry Pi, and just networking in general.
@@EverydayTechTV Ok, Thanks for the fast reply!
does this allow connecting to a captive portal hotspot?
How do you NAT the traffic?
Hello , good video. Is it possible to use open wifi for wifi client and built a wpa2 hotspot. It doesn't work for me in this combination.
Thankyou for your help, I can build easyly.
Thanks for the video. Followed you instructions and can connect to the raspap. Can not get local networks to show up. My wlan0 shows down which I assume is preventing me any connection to the internet. Any suggestions on how to get wlan0 up and connected.
Thanks
Hi, excellent tutorial! Very useful! I would like to use this to share with further at a CoderDojo is there a way to set this up using captive portal so that when a kid shows up they can connect to an open WiFi network, be authenticated locally then get filtered access to the wider internet?
Nice video, What about if I want to use the build in network adapter instead of wifi?
Not advisable. That's the "management" interface on the internal LAN.
You can stick a USB/RJ45 adapter if your WAN "host" network is providing Ethernet internet connection.
Thanks for the video! There is a hell of a lot more to any wifi (or radio) performance than just its type standards. With any radio, and wifi is just a radio, it is all about the antenna. In the military, we regularly transmitted across the planet with just a few watts of power...with the correct antenna. I dont see what wifi dongle you are using, but if it's a separate antenna (vs those ones that just look like a thumb drive) it should perform much better than wlan0's on board antenna.
Ideally you'd also want to crossband repeat (in otherwords use 2.4g to connect to the hotel wifi or other internet access point and 5g setup your travel router hot spot. (or vice versa.) If not, youd at least want to make sure the channels being used are as far apart as possible or you will only be overloading wlan0 when wlan1 transmits, or vice versa. You'd also prefer to have as much separation as possible between the two antenna (meaning wlan0's on board antenna and wlan1's usb attached antenna).
There are times you'd want to use the superior range of wlan1 with a good antenna as your hotspot and there are times you'd probably want it as the connection to the access point providing internet.
I totally agree with your comments. I could get a USB wifi dongle with an actual bigger antenna that would perform better as well but I wanted to keep this as cheap and compact as possible. The RaspAP software that I was demonstrating here... it's not the most simple thing to switch the hotspot back and forth, although not too difficult. Overall, this was more of an exercise to see if I could do this and try to get the most of what I already have.
If people are needing a travel router and they don't have anything, I would still recommend getting a dedicated travel routers, like one from GL.iNET. I'm actually in the process of reviewing more travel routers from them.
Thanks for your input and the knowledge.
@@EverydayTechTV I meant to put that. My WLAN1 antenna setup is large, and detached with a USB connecting it. Obviously, some people are fine with a small stubby USB thumb type antenna and wouldnt want the bulk of something large regardless if it is a more effective antenna.
I’ll use hostapd, dhcpcd, dnsmasq and ip commands if I got time and mood or just OpenWRT if I just want a travel router.
what i noticed is that if you have the wifi dongle in when doing this it will use that automatically but if you plug it in after raspap is installed it uses it as the hotspot
Thank you so much for this!
when i delete wpa_supplicant and other file, after reboot it says error in httpd or something and hotspot is not appearing. What do i do?
Cool Video! Many thanks. Setup was easy with it and it worked! But what about securying the PI with a Firewall? When using it in "public Wifi". As far as I can see, everything is open, inbaoun and outbound
no answer?
Sorry about that.. I saw the alert come through my phone but I couldn’t find the comment on my iPad. As far as Firewall is concerned, this is a yes and no answer. Doing some search on this, there is a Firewall feature, but it’s only for “Insider” or “Sponsor”. I personally am just using the regular version. This means that it should eventually be released in future versions. There are at least 1-2 other features that I’m waiting to be released into the regular version. With that said, you can install a Firewall on the Raspberry Pi, but just not through the RaspAP software. If having a Firewall is a deal breaker for you, then I would suggest getting a GL.iNET travel router, which does have a Firewall. I’m eventually going to do a video on OpenWRT, which I know has a built in Firewall, which actually the GL.iNET travel routers use.
@@EverydayTechTV : Does UFW work? And RaspAP has firewall rules implemented, but no GUI for it
This is great!!
What about those capture portal sites on public networks?
Hi, fantastic tutorial here.
Does this works with ethernet instead of the Wlan0 side and the wifi hotspot for the..herm.. wifi part (wlan 1) ?
Thx !
Thank you
Does this with with a captive portal?
is there any way/trick how to only use the on board wifi interface?
How do we get connected to the Hotel network? They have that authentication page that comes up.
what kind of speeds do you get from a setup like this ?
Very open question. It depends ...
Can i connect my pihole and wireguard to the conection of RASPAP?
When i try to change wlan0 to wlan1 in the hotspot it turns off the channel option
It just greys it out and says - -
And then i cant save settings
Any ideas?
Is there an easy way to BLACKLIST almost all domains except for specific domains on the hotspot side??
Hi and thank you for this update. Im having an Issue
no internet for connected clients.
I followed your instructions to a T... my pi connected to a wifi client and has internet. But when connecting to the raspi_webgu SSID, clients dont have internet. I noticed clients connected dont appear in the Dashboard > connected clients either... I tried everything in the FAQ but no dice. Any advice?
found the issue, installing some other packages cleared the iptables
I used these 2 commands to add the masquerade back and its working again
sudo iptables -t nat -L -n -v ### show current table
sudo iptables -t nat -A POSTROUTING -j MASQUERADE ### adds MASQUERADE 0.0.0.0/0 --> 0.0.0.0/0
sudo iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE ### adds MASQUERADE 192.168.50.0/24 --> !192.168.50.0/24
Can u still use Ethernet cable at the end, so I use Ethernet on the router to the pi, or won’t that work? Also can I use an Ethernet cable from raspberry pi to a laptop? Do I need an adapter so usb to Ethernet or does the Ethernet port work already for it?
Short answer Yes. As a DIYer, experimenting is part of the journey. IMHO, you could have answered your question 😊
any suggestions for a 802.11ac usb 3 or greater dongle?
I've been using the build Network Chuck did a while back (OpenWRT based, which is fine, I'm an OpenWRT user). I did watch your first RaspAP video and built one out real quick... but went back to Chuck's build because of the single radio issue.. Now that the RaspAP is using a secondary radio (usb) I really want to give this another look. BUT!!! with Chuck's build and this one I've found an issue. If you connect to the RaspAP and attach the WLAN1 to a travlel network... how do you navigate a captive portal if your hotel or coffeshop is using one? Because it is your Raspberry PI that needs to talk to that network before your devices can get on. Or is there a switch for CP passthru?
I think I saw somewhere that if you connect the router to the wifi, connect to the router, and then try to go to a website, you'll get the captive portal prompt for the router on your device. If this works, could you let me know?
@@uberneint3297 any update on this? or luck with connecting your wan connection from your RaspAP to a captive portal?
Not working for me. As soon as the wlan1 is switched over on RaspAP and the wlan0 settings are deleted in terminal the SSID (raspi-webgui) is not visible on any devices. Repeated the process three times verbatim and still doesn't work.
how does this work with channel bonding?
On the Ethernet side or the WiFi side?
Great video. I wanted to add cyberGhost using openvpn addon. No success. Is RaspAP safer than public wifi with basic setting without VPN? Thanks
can i connect to my own wiregourd server i don't want rasap to be a server for wireguard
How can I implement this with docker
I cannot ssh into raspberry pi using rasAP
If I have the old Rasap and do updates to the OS will it still work? Also can you get the older version if you don't want to buy a dongle? Although I only used ethernet on my setup but will be traveling soon and want a portable one for hotel wifi.
Seems like this would be attractive to try on a Pi Zero 2 W, which is wonderfully small and uses little power.
That's a great idea. I'll have to get a hold of one and try it out. I have the original Pi Zero W and I'm pretty sure it's not going to be able to keep up.
While the geek in me wants to try this; I have some GL.inet devices that do essentially the same thing but far less involved to get rolling. I'll probably try it once for the experience on a day where I get bored.
I have noticed that while my devices like my laptop and tablet work well in most cases, in some fringe areas where signal is low'ish, the GL.inet devices do pull in better signals; This RaspAP has a similar promise to a degree; who knows what I'll do .. ( I carry my gl.inet router in a small waterproof case in the car, complete with powerbank and cables. ). If you don't have a travel router, making one does sound like a nice option.
What I like about the RaspAP concept: Separate radios where the gl.inet devices use a single radio; If it works well, I can certainly adopt it. Having separate radios is a good reason to give it a whack.
I totally agree with you on this. I say, only do this if the geek in you wants to. 😊 I just wanted to give an option for people who already have a raspberry pi.
Another use case for using the raspberry pi for other things. For example I’m used the Raspberry pi as a web server so I could do programming while using my iPad at the coffee shop. This way I only needed to bring one device with me.
Thanks for dropping by.
You are right. It is probably smarter to just buy a travel router. However, first it is a learning experience and teaches you about networking. Secondly, it gives you a Pi that you might later convert to another use when you don't need the router. Third, it's fun to be a geek.
Quick question to save me a google. Does the raspap connect to captive portals like in hotels
It’s not a simple answer. It depends on the captive portal. Hotels are the toughest ones to get around. Some captive portals rely on a cookie on your browser, which means each device will have to agree to the portal, no matter if you connect through RaspAP or not. Then, some captive portals record the device’s MAC address, in which case, you need to be able to do something called MAC Cloning, which you can’t do on the “free” version of RaspAP, which implies that there is a paid version of it, which is officially called their “Insiders” membership. I’m not an “Insider” so I’ve never verified this works.
If this is all confusing to you, let me break it down this way… if you are trying to get around captive portals, RaspAP is probably not the best solution. I would get a dedicated travel router from GL.iNET or TP-Link. I hope this helps.
Would it be a pi zero enough to run this?
I believe so because there is reference to the Pi-Zero in the documentation but I have not tried it.
Could i use the network cable to connect to the hotel socket and have the build-in wlan from the pi 3B to setup as my hotspot?
That's what I'm trying to do too! Will try and test in my home lab to see if possible
must it be pi os lite ..cant i use the full raspberry pi os
When I reboot the system, my wlan1 gets disconnected. What should I do? I have to access the RaspAP interface and connect the Wi-Fi every time I reboot the system...
Thank you for the video!!
sudo nano /etc/network/interfaces
in the end
auto wlan0
iface wlan0 inet dhcp
wpa-ssid your ssid
wpa-psk your psk
This is awesome, thank you for this informative video. Does RaspAp work with captive portals like a hotel wifi?
It should.. Captive portals usually have to do with the computer itself and not the router / repeater.
I know this isn't a help desk and I like the video and I can follow along as I have watched it maybe 6 times and counting. BUT I get everything set-up and configured, I can connect to the hotspot, but I get no internet from the wifi I am connected to on the Pi...so the pi is connected to wifi and I am connected to the pi, but it says no internet connection.
It took me about a day but I finally figured out it was the network routing and the "metric" values. I write this follow-up in the event anyone else runs into my issue. I found it takes a lot of patience to set this up. After I got it working on a RPi4, I built a tiny version on the PiZero2W for shiggles. Got that working too. thanks for the video update
@@the_mad_swimbaiter455…”it was the network routing & … “metric” values…”
Could you share these, please?
Just as a general curiosity question... if you had 2 old Raspberry Pi's 2B (gosh I can't tell the specs straight from my head...google... 0.9GHz, 1GB SDRAM) what would you use them for nowadays?
I'm assuming it will work... I can't speak to the performance. RaspAP even works with Raspberry Pi Zero W's... so I'm assuming it'll work with the 2B, but I don't think the 2B has built-in Wifi, so it becomes a little more complicated.
@@EverydayTechTV…no WiFi on RPi 2B v2. Use two USB WiFi dongles?
With RaspAP, can you force all your internet traffic through a VPN?
must use 802.11ac usb dongle also, not just 802.11n
After deleting the network manager and what, my pi isn't showing up anywhere and nor did that ip address you said work. Any suggestions?
Yes, same issue here. This tutorial doesnt work.
He work now ?@@dux6553
Why not just instal OpenWRT on the Pi?
Because Raspap is super mega easy to use and just... works
Because a travel router can be setup to mirror your home wifi so you only deal with one connection and all devices (wife phone, kids tablets, your phone and laptop) can connect, plus you can use VPN to keep all of it secure at the same time.
Yes - I uderstand that. And OpenWRT is able to do that since quite some time, on a le variety of hardware, including the Pi... and it i s probably more mature and better tested... But in the end, I agree, this is a question of personal prefference. And we all have to be gratefull for open source spoiling us with multiple great choices.
I want to use this as 5G modem router, but the waveshare m.2 5G hat alone is too expensive
802.11ac (5Ghz) has shorter (not longer) range than 802.11n (2.4Ghz). 802.11n signals are heard over longer distances than 802.11ac. However 802.11n cannot achieve the throughput of 802.11ac so 802.11ac is better when the client device has a good signal from the AP (i.e. is physically close enough to the AP).
So this is nice. Love the video. But, why? What’s the benefits? Why not just connect to the public WiFi? I have ideas but curious why you don’t offer any benefits…?
Some places charge you per connection and this will allow you to connect one device while sharing that connection to all of your devices. It can also be a direct line to your home network/servers using VPN. Also, if you're somewhere with a weak wifi signal, you can place this somewhere nearby that gets the signal and it can repeat it to you farther away.
I didn't outline the benefits in this video, mainly because of the length of the video (although, what's another minute 😂). I've outlined the benefits in the first version of this video and in my other video I did on the GL.iNET travel router, but basically the benefits are... more secured connection, ability to connect to a VPN, and if you are traveling with multiple devices, this is an easy way of getting all those devices connected all at once. These benefits may or may not fit your needs. I would say the last benefit is... just to try stuff on the Raspberry Pi and learn a little bit more of how Linux works.
The USB wifi dongle in the description does not show as wlan1 - how did you install the driver?
I went to dongle company website and I've found how to install drivers for Linux, Then simple copy and past command and install after Raspberry pi OS upgrade. Dongle needs to be plugged in.
raspap cannot combine with casaos even though the port has been changed. It seems like raspap blocks services running on systemctl how i can fix?
good video but regretfully all links are US related links to Amazon...same stuff cannot be found in europe and finding a good usb dongle is a formidable quest
does it work with captive portals?
It depends on the captive portal. I've had success with most captive portals because most of the time it depends on the device connecting to the internet. When I'm connected to the travel router, my device often still has to go through the captive portal. With that said, I was just at a hotel this past weekend and it didn't let me get past it. Your mileage may vary.
Most Access points now have restrictive portals, does this solution have the ability to join them?
For the most part.. you should be able to. A lot of captive portals rely on the individual devices (computer, phone, etc.) to connect to the portal, so connecting through the travel router doesn't make a difference. With that said, it depends on how the portal is setup. I recently was at a hotel and that particular portal didn't allow the travel router to connect.
@@EverydayTechTVI have activated VNC on the router, so I can access it with my iPad using screen sharing. This way I can start a browser on the PI and fill in if needed the information for the captive portal. Also handy to do computery things my iPad can't do.
Can i make it that the raspberry pi is its own wifi network and doesn’t rely on my home wifi
Absolutely … cable between your internet portal and the RPi, then the RPi WiFi becomes your WiFi network.
I’ve done it.
why not chose Banana Pi BPI-R3 Mini
No reason other than I have a few Raspberry Pi's and they are the most popular. I do have a Banana Pi though and I will get around to eventually trying this on it.
I love the fact that rpi's do not feature emmc storage in its default version.
Can you please make an updated video on this one. And also include tailscale setup such that the raspberry router acts as a subnet router. I want to learn
Why is this better than just connecting to hotel wifi using your VPN?
I’m not dissing this. Don’t get me wrong. I’m going to make one 😂. Just curious about one vs the other.
ssh: Could not resolve hostname pi-hotspot: Name or service not known. Now what?
can one setup a VPN with this?
You can use an entry level glinet router which is cheaper than a raspberry pi
love u man
Thanks 👍
Thanks for the updated video - much appreciated and can't wait to try. I'm curious what anyone's experience has been with the RaspAP software itself? On my last installation, it was *super* unstable.. I'd get everything working, try to change one lil thing and it would all fall to pieces. Fingers crossed RaspAP on this installation. THX for the guide!
Sadly no luck. It's up, it's down. Can't connect hotspot, then I can. But wont route to internet. For me, I guess the RaspAP software isn't ready for me. Appreciate the vid though.
Pls help it was giveing my phone or devices a ip
Thanks for sharing this, wondering if this might help with extending our home network....
This would definitely help.. but I would say.. depends on how you are setting it up. There are definitely other solutions out there with better performance but if you already have a RPi, then try it out.
Please use dark mode in a terminal. Otherwise good video
Haha. I go back and forth on this one. Believe it or not there are people who want the bright mode. I promise to use dark mode on the next, which is actually my preferred way I usually use terminal.
@@EverydayTechTV thanks XD
Great video; I've been trying to get RaspAP to work consistently on a Raspberry Pi 5 so that I can use it as a Travel NAS (Emby Server, SAMBA, Navidrome and Syncthing via Docker Containers) but it just seems soo inconsistent to get the Hotspot to actually function; I'm getting close to just buying a Travel Router.
Pero cuando estás viajando puedes hacer daño a tu raspberry
Not really a travel router when you still need to connect it to the internet to share the connection. If you could use a SIM card and 4g modem then yeah not bad but rasp ap cannot
Make it wide enough to hold a credit card or two, back it with those plates to block credit card scanners, add the coins. You would a have a “legal” and court defendable wallet … that has an extra feature or two.
Note: The default username NEEDS to be newuser, I spent hours of my day pulling hair figuring that out.
But you never changed the default password from secret. Now anybody can get in there.
You are correct. I was hoping this would be just a guide and people would automatically know to do it, but I can't assume anything. I'll make sure to add that in future videos.