Тёмный

Raspberry Pi 4 as a Home Router: OpenWRT + AdGuard Home 

Gateway IT Tutorials
Подписаться 8 тыс.
Просмотров 62 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@madinho3099
@madinho3099 3 года назад
Hello, do you have an update about storj earning since the 2020 video ?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
I've completely reset my nodes, and now for the 3rd month in a row they didn't earn a single dollar, because within this time period each node only received 200 gigabytes of data. Either there is too many hosting nodes on the network and very little demand from users, or they've changed something in the algorithm so now you need more time to prove that your node is reliable. One way or another, it became harder to join the network.
@MatthewN8OHU
@MatthewN8OHU 2 года назад
This is a very nice tutorial for this. One thing that I noticed is that, as of some point after you created this, a change was made that allows the Adguard Home database to be retained even when rebooting.
@GatewayITTutorials
@GatewayITTutorials Год назад
Thanks for letting me know. I'll make a video about the fresh OWRT version some time this week.
@antonbochevsky5986
@antonbochevsky5986 Год назад
Very helpfully! Especially about configs and about port 553
@alexpascu1985
@alexpascu1985 3 года назад
Thank you very much for the tutorial, you got yourself a sub 👍
@MhNetSecurity
@MhNetSecurity 2 года назад
Hello, Thank you for the video, I have a question pls, everything work fine , from my LAN subnet I can go to the WAN, however when I install and configure AdGuard , (change port to 553) and start AdGuard, DNS doesn't work , I ping google IP address but not the domain name. even from the router I'm not able to ping google.fr. Any idea plz?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Is the service running at all? Did you check AdGuard logs?
@guayabito6946
@guayabito6946 3 года назад
Hi Yarislav. Can you tell me which USB3 to Ethernet adapter are you using? which brand and model number? Also in the video you mentioned the adapter is an rtl8153 but you loaded drivers for an rtl8152, is this correct?
@andygonzalez7012
@andygonzalez7012 2 года назад
HI./ question. My install didn't have this entry in the adguard file. It had mention of WORK DIR and I am not sure where to edit to put the directory we created in the PI. It had config_get WORK_DIR config workdir and also after the /etc/adguardhome.yaml instead of the tmp directory it had "WORK_DIR"
@GatewayITTutorials
@GatewayITTutorials Год назад
I'll deploy a fresh version of OpenWRT+AdGuard soon, keep an eye on the new videos this week ;)
@amolm3811
@amolm3811 3 года назад
Hello, I followed your steps. Able to follow till ip change, however further not able to connect to internet. I connected Raspi to ISP Fiber Optic router (192.168.1.1) thru' LAN port. Tagged my Raspi as 192.1681.4..however still not able to connect to internet. I am able to SSH raspi, however not able to get thru' it to internet
@GatewayITTutorials
@GatewayITTutorials 3 года назад
I replied to your email, seems like you didn't get it. Could you please post the issue on our subreddit? I'll need some screenshots from WebUI or network config
@kaushik36
@kaushik36 Год назад
Tried many times with this version of the build and every time there is a 502 nginx error. did anyone here had the same issue.
@danluckner
@danluckner 2 года назад
Hello and thank you for the video. I have used your video as a guide to my OpenWRT with RPi. But mine has a difference: I have another interface for a VLAN (used for Guest WIFI). If I change the DNS port (14:02) to 553, the devices connected to the guest VLAN can't get connected to the internet. I've made Firewall rules allowing that VLAN zone to reach port 53 in the router, but I still can't get those devices connected to the internet. What am I doing wrong?
@TheTrapani95
@TheTrapani95 3 года назад
hi i need to use a usb thethering of my phone instead of a modem, i've installed the drivers for tethering and set up open wrt, but i can't figure out how to set up the router, and in the new build the partition isn't ext4 but unknow and it's impossible to resize.. i've solved but ad guard not block any ad
@GatewayITTutorials
@GatewayITTutorials 3 года назад
I'll have to check, might be that they only use squashfs images now. Will update the article shortly if this is a case. Never tried tethering, but the idea sounds interesting, will probably give it a go.
@Pkemarco
@Pkemarco 2 года назад
Hi ! Thanks for the video. I have a little issue, I use the RPi 400 and the wlan isn't working, do you have any clue ? I don't find anything interesting on internet. Thanks again !
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Check the official image for RPi400, there is a separate release for it :)
@Pkemarco
@Pkemarco 2 года назад
@@GatewayITTutorials Thanks !
@paldo771
@paldo771 3 года назад
Followed your guide, but when I connected to the internet..it would close ssh connection ..and now ssh access is denied..
@GatewayITTutorials
@GatewayITTutorials 3 года назад
You must be accessing SSH service on the WAN port, which is not allowed by default
3 года назад
Thank you Yaroslav, I will give it a go. Have you tried any WireGuard tests? Also I am thinking about cutting away the AdGuard Home bit and bake in my own Unbound DNS solution to deal with that part of the problem. Everything else seems like a good and viable solution. Greetings from Scandinavia. Heill auk Sæll!
@r.p.mcmurphy6115
@r.p.mcmurphy6115 2 года назад
awesome! 👍
@electron_ij
@electron_ij 3 месяца назад
Thanks for the tutorial, I want to add a Realtek WiFi key, but I can't always do it.
@scottrussell4467
@scottrussell4467 11 месяцев назад
can you make a video from start to finish please. I am looking for a setup for WAN on my usb enet adapter, and LAN network on the internal and the wireless adapter.
@calvinwhoa
@calvinwhoa Год назад
I don’t get it, is this free internet? How does it really work?
@knechter
@knechter 3 года назад
When in try to rezize it there is an Error grow file system to Fill the partition
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Your image might be damaged (not fully downloaded). Did you try to re-download the image?
@knechter
@knechter 3 года назад
@@GatewayITTutorials yes i Tried it 3 Times with every time New Download. Maeby because i used the Raspi imager?
@knechter
@knechter 3 года назад
Or because i used an old gparted Version. Because the newest can Not be installed in raspi
@tazsamir8281
@tazsamir8281 3 года назад
great video
@tony001212
@tony001212 2 года назад
I did everything you did exactly as you did, this works sometimes but somehow ads find a workaround, it blocks some ads that's all, not near as efficient as using the chrome extension, a waste of time imho.
@GatewayITTutorials
@GatewayITTutorials 2 года назад
It can only block what's in the DNS database. Extension is much more efficient, I agree, but you can't install the extension on top of the IoT devices unfortunately.
@aakash9475
@aakash9475 2 года назад
Hi mate - I have a spare RPi 3 b+. I wonder how is the performance of Internet if I use that instead of Rpi4?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
RPi 3 is not a great fit due to USB speed limitations and ethernet speed limitations: it will be nowhere near 1g. On the other hand, if your internet line is slower than that, you might as well give it a go.
@aakash9475
@aakash9475 2 года назад
@@GatewayITTutorials thanks I’ll give it a try
@aakash9475
@aakash9475 2 года назад
@@GatewayITTutorials I got it working on RPi 3 b+ with the help of your instruction in video. I was able to achieve the highest speed of my internet around 60Mbps. However I couldn't reach to the adguardhome UI in browser. Not sure if anything changes? I changed the DNS to 553 and try exactly instructed in video. Any idea what could be issue?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Congrats on the first part :) Is the service running?
@francocastilloAR
@francocastilloAR 3 года назад
When installing nginx, it is already enabled at boot.
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Thanks man :) I'll keep it in mind.
@srimathi7074
@srimathi7074 Год назад
Can i implement this using raspberry pi 0w
@georgepitaru
@georgepitaru 3 года назад
can a network switch connected to the RPI ethernet port be used instead of a usb to ethernet adapter?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
You absolutely can, but then if you'd want to use VLANs your potential throughput will be 500mib each side, not full 1Gi
@georgepitaru
@georgepitaru 3 года назад
@@GatewayITTutorials thanks a lot for the fast reply! I'll get an adapter :D
@GatewayITTutorials
@GatewayITTutorials 3 года назад
NP mate :) The setup you see in this video worked for the past 6 months with only one issue: SD card goes into read-only mode randomly after a powercut (sometimes it works fine, other times I have to SSH in and fix the issue). But other than that it's been solid. Now thinking about trying a squashfs image, which could solve the problem :)
@georgepitaru
@georgepitaru 3 года назад
@@GatewayITTutorials way too complicated for me what you're saying. Waiting for my adapter to try this experiment and hopefully replace my ISP router with that spare RPI 4 I have.
@Teleon19
@Teleon19 2 года назад
@@GatewayITTutorials Running pi4 with pppoe connection to my isp just Fine with usb nic have 250/42 (down up) and i Sync with Full Speed It replaced my FRITZ!Box Fully (just Need a Modem ) Squash Would be Nice But in unable to Extend the filesytem The very Great Thing is the the cappbility of lxc on openwrt Im Running a Omada Controller on my openwrt pi inside lxc Very very very Nice Feature
@arvinthm8610
@arvinthm8610 3 года назад
Nice
@amyrparker6313
@amyrparker6313 3 года назад
can we run mwan openwrt package with 4 wan from 4 usb modem? thanks sir 🙏
@GatewayITTutorials
@GatewayITTutorials 3 года назад
That's a lot of work, but the answer is yes. RPi4 supports mwan package :)
@amyrparker6313
@amyrparker6313 3 года назад
@@GatewayITTutorials thank u so much for quick response sir, ill try 👍👍👍
@Dillixx
@Dillixx 2 года назад
Do you *NEED* a usb to ethernet adapter?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
You do, unless you want to use smart switch and VLANs
@Dillixx
@Dillixx 2 года назад
I bought a USB adapter and also my Pi already has an ethernet port. I'm just testing it now.
@Dillixx
@Dillixx 2 года назад
@@GatewayITTutorials It turns out this didn't work, at least that's how it seems. Would I change *eth0* to *wlan1*?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Wlan is wireless interface. What does ifconfig command prints out?
@Dillixx
@Dillixx 2 года назад
@@GatewayITTutorials It shows wlan0 and wlan1
@luapmartin
@luapmartin 2 года назад
Hi Yaroslav, nice content here !! One quick question, can RBpi4 handle SQM and QoS to reduce bufferbloat? Cheers
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Usually normal FIFO is enough, if you are using the aftermarket router like OpenWRT, because there is enough RAM to fit the extra packets. If you want to use codel queue, it would really depend on the number of clients and uplink speed. I can't imagine RPi4 doing codel for more than 10-15 clients on 1Gb link. But this is all just speculation, I never actually tried to do it :) Post your findings here, if you end up getting it up and running, so I can let more people know about it ;)
@luapmartin
@luapmartin 2 года назад
@@GatewayITTutorials thanks for your reply atm I am using the ISP router/modem/AP and the optic fibre is definitely suffering some buffer bloat issues and I am looking for solutions (mikrotik, ASUS, raspberry pi…) I am searching something that could handle one client (Xbox series S) with the best latency possible and then allow wifi for phones/tablets/laptop. ISP connection is 600/600 mb , do you think Raspberry would be recommended? I can bridge the isp router and setup the vlan setup the ap and the one wired client and I am good to go.
@GatewayITTutorials
@GatewayITTutorials 2 года назад
Raspberry would probably be the best out of the 3 you've listed. Especially now, when OpenWRT team finally released official firmware for the RPi4.
@luapmartin
@luapmartin 2 года назад
@@GatewayITTutorials is it already released or is it coming soon ? How much ram would you recommend? Where could I found wifi and Ethernet compatible usb3 dongles ? Thanks
@berkopasa9349
@berkopasa9349 3 года назад
Hi, I have a zero w device. There is no Ethernet port. There is only wifi. How do I get the ip after installing Openwrt? There is USB to Ethernet. But is it perceived directly when wearing it? According to my research, it is necessary to install a driver for him, but how do I connect zero w to the internet?
@berkopasa9349
@berkopasa9349 3 года назад
Can we download the usb to ethernet adapter driver and add it to the openwrt file? driver inject openwrt firmware ... How to...
@GatewayITTutorials
@GatewayITTutorials 3 года назад
You'll probably have to compile your own firmware for Pi W, I have never played with it.
@berkopasa9349
@berkopasa9349 3 года назад
@@GatewayITTutorials Yes, I have no information on this subject. can you help me?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Try this guide on GitHub: github.com/smeathers/lede-pi0w-usb/blob/master/README.md
@berkopasa9349
@berkopasa9349 3 года назад
@@GatewayITTutorials I tried a lot but couldn't. :/
@amdeus
@amdeus 2 года назад
What would happen if you don’t resize the sd card?
@GatewayITTutorials
@GatewayITTutorials 2 года назад
You'll end up having a very little amount of storage left to install additional packages, like wireguard, etc.
@amarbs3287
@amarbs3287 3 года назад
Which terminal are you using?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
I was using "tilix" in this video
@cryptoshorts161
@cryptoshorts161 3 года назад
It is woth to farm storj right now?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Please wait for the follow up video, should be up in the next few weeks :)
@tastymacification
@tastymacification 3 года назад
Can you make a video on running openwrt in docker on rp4?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
I'll look into it, thanks for the suggestion
@llkunti7552
@llkunti7552 3 года назад
Can I use USB 3.0 to Ethernet Gigabit Adapter D-LINK (DUB-1312)?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Unfortunately I can't tell. The only way to find out is to try :(
@llkunti7552
@llkunti7552 3 года назад
@@GatewayITTutorials what is command?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Package name is: kmod-usb-net-asix-ax88179
@exilde923
@exilde923 2 года назад
how to add the config file?
@MrDabango
@MrDabango 3 года назад
Can I use raspberry pi 3 instead of rpi4?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Yes, you can, just don't expect gigabit speeds
@MrDabango
@MrDabango 3 года назад
Sorry for my ignorance but I plug in 2-3 devices via Ethernet. Can that still be done if I use rpi?
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Yes, absolutely
@MrDabango
@MrDabango 3 года назад
@@GatewayITTutorials last clarification. What speeds will I get on the devices plugged via Ethernet on the rpi3? I’m assuming they won’t get gigabit speeds on rpi3? Thanks for your help and time.
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Depending on the model, you might get up to 300mbit
@UmitSeyhan75
@UmitSeyhan75 3 года назад
You have a clean accent! I just melted against it.
@GatewayITTutorials
@GatewayITTutorials 3 года назад
Thank you :) That's very flattering
@AnthonyDigi1205
@AnthonyDigi1205 Год назад
LuCI works easier
@enthusiast526
@enthusiast526 2 года назад
OpiumSense 😅
Далее
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 2 млн
You call THAT a router?! 2 Tiny Raspberry Pi Routers
14:56
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45
🍏 Устарели ОФИЦИАЛЬНО! 🤡
00:32
Они захватят этот мир🗿
00:48
Просмотров 899 тыс.
Decompress small game, have time to play it!
00:35
Просмотров 4,8 млн
Raspberry Pi Travel Router - RaspAP (2024)
15:06
Просмотров 112 тыс.
I ditched my Raspberry Pi for this
18:45
Просмотров 510 тыс.
Which Router is best for OpenWrt in 2021?
22:43
Просмотров 143 тыс.
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45