Van, most straight forward explanation I've seen on this topic. It covered all of the necessary components to get this up. Thanks for making my day!😀
@mantacid12212 жыл бұрын
Holy crap this tutorial is a lifesaver. Due to the chip shortage, i have been unable to get a hold of a Rpi4, and have been prototyping with an old Rpi2. I had lost my only working keyboard dongle. This tutorial will help me greatly in creating a custom privacy-oriented router. Thank you for your service.
@SMCon1172 жыл бұрын
Very nice, got OpenWRT up on my own but couldn't find the drivers for my USB NIC and this was the final piece of the puzzle. Thanks!
@VanTechCorner2 жыл бұрын
Glad it helped!
@plica063 жыл бұрын
Good stuff Van. Which is the better way to configure a Pi 4 as an OpenWrt router... using a USB/Ethernet adapter to make the second network interface or using vlan to get two network interfaces on the Pi 4? Will vlan give a slower or faster network speed than using the ethernet adapter?
@VanTechCorner3 жыл бұрын
Hi, thanks for the comment. I personally prefer using a USB to Ethernet adapter because we have 2 different physical network interfaces. 1 or 2 VLANs will not really slow down the network but more will do. At the same time, there can be security issues if you don't setup the the VLAN/ firewall properly since your switch is directly connected to the internet, etc.
@manc48063 жыл бұрын
Another nice vid ! Would you say that this DLINK usb to ethernet adapter is better than others? I read lots of negative opinions on usb to adapter hence the question. Thanks.
@VanTechCorner3 жыл бұрын
It is advised use ethernet card powered by Intel chipset when you are using Linux /pfSense and Qualcomm Atheros for OpenWRT. There are issues with performance with other chipsets and people don't like them, especially Linux and pfSense users. I got the same problem with a Realtek network port. When I found this D Link USB 2 Ethernet adapter, it was a second hand unit and it supper cheap, so I bough it for some tests. It turn out that this DUB-1312 works well with Windows, MacOS, Synology and now OpenWRT. I got the speed of ~ 900 Mbps when downloading the file from the NAS to the computer with this adapter. So yeah, if you have a good budget, go with the good devices. Else, plan around with second hand stuff like me and have fun :D
@notmynameX6 ай бұрын
Hi Van Tech I have a question... I'm stuck getting this to work. If I'm plugging in from usb adapter (eth1) to an unmanaged switch do I still do exactly like you do in the video or do I make eth1 a DHCP server? I have to also make the 'modem' interface to bridge my modem/router from isp
@cjejuni7 ай бұрын
Even being a newbie electronics hobbyist, i understood it. a big thank you.
@hariskar_2 жыл бұрын
Thank you for tutorial! When I connect Raspberry with new IP to my router and ping get no response. Any idea why?
@Starcom702 жыл бұрын
Great video, thank you. The only thing was that my USB Network Adapter did not work with the driver and I had to go find the driver for my device.
@pantuflip2 жыл бұрын
Thank you, very good tutorial, and the more important I was looking how to add a ethernet port in my Raspberry pi and this work very good.
@VanTechCorner2 жыл бұрын
Glad it helped!
@blakebrickey50442 жыл бұрын
If I am wanting to set up a home VPN, would this configuration work without the need of a computer to host the VPN? Or would I still need a computer or CPU to host the VPN?
@TheMagenatto Жыл бұрын
Excellent video my friend, could you tell me if I could use the same way for other cards with only 1 LAN connection? Example : NanoPI, BananaPi and others compatible with OpenWRT!
@joshjohnson9463 жыл бұрын
i am having a bit of trouble, everything is working great until about 16:19 when i go to make RPi4 the main router. the countdown on my screen begins and just goes all the way down until it says failover. maybe i am a bit confused on where the wires go. at that point i can just move my RPi4 into the position my old router was right? have a cable going from modem to RPi4 and then usb to ethernet cable going to computer for connectivity, right?
@JeepXj-xt1yv Жыл бұрын
It's not success for me, my STB Rockchip was install for USB Hilink modem, and i follow u'r step to get USB-Ethernet but the device still missing, a'm i miss something ?
@ianjrgensen18243 жыл бұрын
Great video! Is there any limit to how many ports the dumb switch could have? Do you think the pi could support 24 ports? With low Mbs speeds?
@VanTechCorner3 жыл бұрын
Hi, sorry for the late response. When it comes to LAN to LAN traffic, it will be handled by the switch so there is no limit on the number of the ports. However, when it come to internet traffic, it will be routed to the network port on the Raspberry Pi with tested by me capped at ~ 930 Mbps. So if your internet traffic is not that high, or around 400 Mbps, this PRI can work well.
@GentleUwU3 жыл бұрын
Every time I get to 15:28 and configure then save the LAN interface changes, my PC never recognizes the ethernet connection. Stuck on "identifying" and then the changes get reverted because of the fail safe timer. Have any ideas on why this is happening/what I can do? Everything until then works perfectly
@VanTechCorner3 жыл бұрын
You will need to connect the network cable from the PC to the Pi's LAN port, and then open the LuCI page to confirm the change. This should be done fast, or else the change will be reverted.
@jameschu97293 жыл бұрын
Great video. Do you have a video setting up the WAN interface? In this video you only created a WAN interface but never showed how to set it up. thanks
@VanTechCorner3 жыл бұрын
Yes there are, you can find all sort of interface setup in this playlist kzbin.info/aero/PL58__w3t_eTbcBQ9oJ8jXCxPtBiac59vC
@limseehong3 жыл бұрын
Thanks. What I have been waiting for. Will need to get the Dlink DUB-1312 dongle.
@VanTechCorner3 жыл бұрын
Yup, this model should be popular in Malaysia. Mine is a second hand item from Carousell.
@andygonzalez70122 жыл бұрын
Hello i am trying to do something slightly different. I want to use my Pi for a travel router. The built in wifi will face the public internet and the 2nd wifi adapter will give me private IP. If I get trhis working then i will do a VPNclient also. The problem I am having is that the adapter I chose isn't recognized by the PI. I can't find the openwrt drivers. I do not know PI so I am learning along the way. The adapter is the Techkey AC1200 a Realtek chipset. The webpage says it is a 8812bu chipset. Would you know the drivers i need to load to make this work.
@TimoBirnschein3 жыл бұрын
Great tutorials! Following a bunch o them to get to a tethered, double WAN, load balancing, USB Ethernet using router setup.
@VanTechCorner3 жыл бұрын
Glad that you like it. Stay tuned as more videos come in the future. Thank you for the support!
@brodyroe78543 жыл бұрын
What’s is your internet speed? I’m thinking about using a raspberry pi to run qos on my network. We are upgrading to fiber so we will get 1000 up and down. Will the raspberry pi bottleneck the network or would it possibly be a better option just to leave all of the qos work on the router itself?
@VanTechCorner3 жыл бұрын
I have tested the WAN to LAN throughput with this USB 3.0 ethernet and the onboard port, the throughput is at ~ 920 Mbps. If you want to run 1 Gbps fiber link, I think you will need better router to do the job.
@JFinns3 жыл бұрын
Is the USB 3.0 gigabit ethernet required for WAN or can the modem and Pi4 router both plug into ports on a switch and be configured that way. It would be like the router on a stick topology.
@VanTechCorner3 жыл бұрын
Hi, you can get this done in both ways: - Use a USB to Ethernet adapter as WAN interface (this video) - Connect the RPI to a managed / VLAN supported switch (kzbin.info/www/bejne/sICwo2mNmZyYb9E)
@limseehong3 жыл бұрын
which usb3 to ethernet adapter is best for use in RPI and Hackintosh? my RPI is 4B and my Hack is running Catalina.
@VanTechCorner3 жыл бұрын
When it comes to USB ethernet adapter, I think any brand will work just fine: TP-Link, D-Link, Dell, Totolink, etc. All of them should work fine.
@limseehong3 жыл бұрын
Just ordered my Dlink 1312 USB-Ethernet device. Will redo according to your instructions when it arrived. Should I buy a managed or unmanaged switch? Do I need VLAN? and if I don't need, an unmanaged should do?
@VanTechCorner3 жыл бұрын
If you are using the USB to Ethernet adapter to setup WAN, there is no need to use VLAN (since we are not running all service on the same port). However, you will need a switch if you want to extend your network. Any switch will do, just connect it to your LAN port on the Raspberry Pi.
@limseehong3 жыл бұрын
@@VanTechCorner at present, my Huawei B618 LTE WAN port is connected to my Asus AC1200G+ WAN port. So the Raspberry OpenWrt WAN port (eth1_Dlink1312) connects to the Asus LAN port. Then I I connect my laptop to the Raspberry LAN. What is the difference if I just connect the laptop to the LAN ports of the Asus? The traffic won't pass through the OpenWrt (RPI)? And if it doesn't pass through then I must get a switch to connect the RPI LAN to the switch and connect all other LAN devices via the switch? Is that right?
@riyaz19833 жыл бұрын
Hello Van. I was able to get this working and all my home devices are able to reach the internet via the raspberry pi 4 as a router and firewall between my ISP and home network. I would like to explore more options on how to create VLANs to segregate my network into three parts which is Guest, IoT and the default LAN. I have seen many tutorials and community help but unable to get some answers in which RPi4B is involved which does not have a switch built in and LAN is via a single port. My question is, via this single LAN port how can I achieve my requirement of different networks. Played around with VLANs but still unable to get it working. I am new to openwrt on a RPi4B, so please help me. I have basic network knowledge. Thank you in advance.
@dktol563 жыл бұрын
Very nice tutorials! Well done. How about replacing the USB-to-ethernet adapter with a USB-tethered cell phone? Great for emergency situations where your internet provider goes down. Shouldn't be hard, but I'm not sure what kmod packages would be required for openwrt.
@VanTechCorner3 жыл бұрын
Hey, thanks for the comment. Your question is answered here kzbin.info/www/bejne/aIjIlpethK6SrK8. Also, we have different OpenWRT tutorials on the channel, feel free to check it out kzbin.info/aero/PL58__w3t_eTbcBQ9oJ8jXCxPtBiac59vC
@robertoinciso25673 жыл бұрын
Van great video.... exactly what i need for my personal project. Is there a file wherein all your codes are to be copied? except of course to ip addresses which i will fill up. Newbie here in openwrt. One last question - can we install zerotier in this openwrt router on rpi4b?
@VanTechCorner3 жыл бұрын
Hi Roberto, for this tutorial - nope. For other videos I do have the link the the script from Openwrt official guide. And yes, you can install zerotier on OpenWRT router. openwrt.org/packages/pkgdata/zerotier
@rekabffej2 жыл бұрын
Amazing video! Helped me get up and running! Thank you!
@VanTechCorner2 жыл бұрын
Thanks for the comment. Feel fee to check out my OpenWRT tutorial playlist if you are interested kzbin.info/aero/PL58__w3t_eTbcBQ9oJ8jXCxPtBiac59vC
@iamrage47532 жыл бұрын
great video! what about adding an access point if that is also running openwrt also, what is the setup and config? thankyou
@VanTechCorner2 жыл бұрын
Do you mean add a USB Wireless Adapter to the Pi, or install OpenWRT on an access point? (Not all access points are supported by OpenWRT)
@iamrage47532 жыл бұрын
@@VanTechCorner i meant an actual access point i have a nanohd running openwrt
@59poppN3 жыл бұрын
This is what I needed thank you keep em coming!!!!
@VanTechCorner3 жыл бұрын
Thank you! More to come!
@wowado3 жыл бұрын
Hi, great videos. I would like to ask what is the starting edit of dhcp and network configuration before connecting RPi to router? I have my router running DHCP and won't accept RPi with static IP setting as you have it in the video. How do I configure RPi to get its IP from DHCP router? Thank you.
@wowado3 жыл бұрын
Nevermind, I somehow made it work.
@ismailelayachi93373 жыл бұрын
Very Interesting. I followed all the steps and it's working fine. Thank you my friend.
@VanTechCorner3 жыл бұрын
Glad it helped. You can also check out other OpenWRT tutorials in this playlist - kzbin.info/aero/PL58__w3t_eTbcBQ9oJ8jXCxPtBiac59vC
@clonetrooper56742 жыл бұрын
Hi. love the tutorials. are you able to do one on how to install and run docker on the pi? E.g. smokeping or wifi controller container on raspberry pi 4 running openwrt? cheers
@ngthensiong Жыл бұрын
Where can I get the DUMP SWITCH? It's an extension of the LAN port for the router, right?
@VanTechCorner Жыл бұрын
Hi, a normal switch (not a smart switch / vlan /managed switch) is called a dump switch (since it is only used for switching. Example the TP-Link TL-SG105, TL-SG108, Netgear GS305, etc.
@ngthensiong Жыл бұрын
@Van Tech Corner Let’s say if I want an extension on my asus router for the port, is it possible to do so?
@VanTechCorner Жыл бұрын
I am not sure if you are using stock firmware. If the device is running OpenWRT, you can configure that.
@ngthensiong Жыл бұрын
@Van Tech Corner noted with thanks. BTW, do you mind give a tutorial on how to revert back the original gl.inet firmware of gl-ax1800 flint on the Aircove router?
@AbdulLatif-pe2jf3 жыл бұрын
Thast internet speed so crazy.!! Are you use fiber optic.? Or 4G LTE internet.?
@VanTechCorner3 жыл бұрын
Yup, I am using fiber optic. The Pi 4 has true gigabit ethernet and the USB 3.0 so I expect that they could handle at least 800 Mbps. Sad that I don't have that fast internet connection to test.
@AbdulLatif-pe2jf3 жыл бұрын
@@VanTechCorner so you use 1Gbps of fiber optic connections.?
@VanTechCorner3 жыл бұрын
No, I am using the 200 Mbps plan and normally the speedtest result will be a little bit higher.
@AbdulLatif-pe2jf3 жыл бұрын
@@VanTechCorner thats dedicated connection 1:1 great.! How much for a month.?
@VanTechCorner3 жыл бұрын
I moved to VN and the price is cheaper here. This is just normal fiber connection, not leased line. The price is around 70 MYR, comes with a dualband GPON routers with 2 nodes of mesh wifi.
@ebrambadpa Жыл бұрын
How to use mikrotik hap lit le instead of tplinl switch please help
@thoainguyen94193 жыл бұрын
Hi Van, sound like you are VietNamese. Could you tell me where to get this raspberry case in VietNam. I am really enjoy your videos, keep it going.
@VanTechCorner3 жыл бұрын
Hi, yes I am. I purchased the item from Malaysia Shopee so I don't if you can find it in Vietnam. But just search for dual fan Raspberry Pi case, maybe you will find one.
@shubhamkulkarni21473 жыл бұрын
Hi Van Tech Corner i really need your help, what you did in this video is just shared your internet through the USB to LAN adapter to LAN same way i wanna share my internet through USB thethering of mobile to LAN of the raspberry pi and want to create two WANS and make it failover please help me this Work From home is shit......
@VanTechCorner3 жыл бұрын
Hi, if you are new to OpenWRT, you are creating a big math to solve. Are you trying to setup 2 WANs connection with the USB tethering method? Follow this tutorial, you should be able to configure this. For failover, you can see my tutorial for multiwan failover video and it should get the job done.
@lakshanthadissanayake67353 жыл бұрын
Hi, I have installed the latest OpenWrt firmware on a Raspberry Pi 4, and now I am struggling to configure the network settings. Connecting the Pi directly to PC via Ethernet, it says "no network access" and I am unable to ping 192.168.1.1 Please help
@VanTechCorner3 жыл бұрын
Hi, did your PC received an IP from the Pi DHCP server? If not, verify that the PC's NIC is in DHCP mode and try to replug the cable and see if it helps. Else, most likely that something wrong with the Pi / the firmware is not properly written to the SD card. We may need monitor or TTL connection to troubleshoot it further.
@lakshanthadissanayake67353 жыл бұрын
@@VanTechCorner Thank you. Now it works.
@varinaboy192 жыл бұрын
could this handle a 1gig connection
@cincaila2 жыл бұрын
Why my software only got 98MB++? My SD card got 16 GB
@VanTechCorner2 жыл бұрын
In the default partition layout (of OpenWRT), /dev/sda2 is a 256MB. You will need to extend this partition to fully use the whole free space. See openwrt.org/docs/guide-user/installation/openwrt_x86#resizing_partitions for more information
@cincaila2 жыл бұрын
@@VanTechCorner thank you
@NgocPham-vg7fw3 жыл бұрын
Hi, nhờ AD hỗ trợ mình với, sau khi cài gói kmod-usb-net-asix-ax88179 thì mình add interface không được nhỉ, port không nhận.
@VanTechCorner3 жыл бұрын
Bạn có thể cung cấp log của lsbusb không? Mặc dù đại đa số thiết bị USB 3.0 Ethernet Adapter sử dụng chip ax88179 , một số sử dụng chip khác và cần cài driver tương thích thì mới dùng được.
@NgocPham-vg7fw3 жыл бұрын
@@VanTechCorner mình dùng loại usb-enthenet có thương hiệu thì đã nhận port, loại rẻ tiền thì sẽ ko nhận. Còn 1 issue nữa là sau khi create đc lan 1, eth1 rồi, mình thử add địa chỉ IP như port lan0 nhưng ping từ PC đến ko thấy được.
@CrossLegacyOfficial3 жыл бұрын
Can I use 2 usb Ethernet adapters to set up 2 lan outputs?
@VanTechCorner3 жыл бұрын
Yes, you can surely do that. Even plug the Gigabit Ethernet adapter to the USB 2.0 port (but the linkspeed is lower).
@limseehong3 жыл бұрын
My installation of Luci OpenWrt 19.07 was done till the WAN stage. But after I bind the WAN to eth0, I couldn't access the RPI4 anymore not even through Wifi.
@VanTechCorner3 жыл бұрын
Hi, I didn't bind WAN to eth0. We only change the LAN IP of the interface. Can you show me the the time in the video that you are talking about?
@limseehong3 жыл бұрын
@@VanTechCorner 14:38
@VanTechCorner3 жыл бұрын
@@limseehong At that time I created the WAN interface from **eth1** (the new interface for USB to Ethernet port), not eth0.
@limseehong3 жыл бұрын
@@VanTechCorner I use eth0 bcos I don't have usb2eth adaptor
@VanTechCorner3 жыл бұрын
I am not really get your point. Can you tell me what setup you want to do with the Raspberry Pi 4? Are you trying to setup the Pi 4 as an Access Point? Normally you won't be able to access the OpenWRT router from WAN. For example, if you RPI4 WAN connected to Netgear LAN port then the Dell PC from the Netgear won't be able to access to the RPI4 via Luci, but you can only ping. Please provide more info so that we can discuss this further!
@aikeerizada41453 жыл бұрын
Hi good day, this is compatible also in orange pi one?
@VanTechCorner3 жыл бұрын
Hi, if you already have OpenWRT running on the OrangePi then you can follow this tutorial and it should work. Else, you will need to find a way to install OpenWRT on the device (not all OrangePI can be installed OpenWRT).
@aikeerizada41453 жыл бұрын
Thank you so much for the information...
@eledikohabib33693 жыл бұрын
Hi DongVan...can you make a proper setup video for 4G LTE USB dongle with raspberry pi for OpenWrt?🙏😥
@VanTechCorner3 жыл бұрын
Hello, there are 2 videos - USB tethering and LTE modem setup, you can find the videos in this playlist. kzbin.info/aero/PL58__w3t_eTbcBQ9oJ8jXCxPtBiac59vC Btw, may I know the model of the USB modem that you are using?
@mohdhadzir54493 жыл бұрын
Can you make tutorial raspberry pi 3 B passwall?
@ეროვნებითქართველი3 жыл бұрын
Can I use built-in wifi instead of the second Ethernet adapter?
@VanTechCorner3 жыл бұрын
Yeah why not? However, the wifi link speed is only 150 Mbps on AC 5 Ghz and the signal is not strong.
@ეროვნებითქართველი3 жыл бұрын
@@VanTechCorner It's okay. I followed your instructions but chose wifi adapter instead of ethernet but after saving it says following: "Error: Network device is not present". Should I do something differently?
@VanTechCorner3 жыл бұрын
I am not really understand you now. What are you doing with the router? If you want to set it up as AP client, do it in the wireless section instead.
@VanTechCorner3 жыл бұрын
For further question, please join the FB group "Van Tech Corner & Friends" and we will discuss further!
@ეროვნებითქართველი3 жыл бұрын
@@VanTechCorner Thanks!
@MehmetKollayan3 жыл бұрын
Thanks, good job. We expect more
@VanTechCorner3 жыл бұрын
Thanks! More to come!
@PHPTutorsPT3 жыл бұрын
Nice vice ! Can you do a test with OpenVPN client on the Raspberry Pi, to see if it supports a good bandwidth?
@VanTechCorner3 жыл бұрын
Sure. I will do a Wireguard & OpenVPN test with this Raspberry Pi. Stay tuned!
@VietnamShorts3 жыл бұрын
Great tutorial. Thank you.
@VanTechCorner3 жыл бұрын
Glad it was helpful!
@mohdzulhazmi53573 жыл бұрын
Possible to use vlan(621) for my fiber connection?
@VanTechCorner3 жыл бұрын
Please see the OpenWRT PPPoE VLAN video on the channel, it is possible to do and I have done it before.
@mohdzulhazmi53573 жыл бұрын
@@VanTechCorner thank you!. This same tutorial can also can be use to add usb lan to mini pc usb3 running x86 openwrt?
@VanTechCorner3 жыл бұрын
For VLAN configuration - yes, you just need to create the VLAN interface and the status will be tagged by default (no way to change it).
@mohdzulhazmi53573 жыл бұрын
@@VanTechCorner ok noted on vlan. How about the usb lan adaptor? Is it applicable only to raspberry? Or is it can be used in other x86 route? Ie mini pc etc..thanks
@VanTechCorner3 жыл бұрын
It apply for all, as long as you are using the USB 3.0 interface.
@arepiet693 жыл бұрын
Please make a new project .New Beelink gk mini only has single lan port . Make it use openwrt as a router and usb to ethernet as a Lan/Wan . I need your tutorial . Thank you sifu
@VanTechCorner3 жыл бұрын
Hi, there were some tutorial for single port network setup, including Raspberry Pi and x86 computer. You can go to the channel page and find them on the OpenWRT Tutorial playlist.
@struggle375 Жыл бұрын
Thanks!
@davidwu07093 жыл бұрын
thanks, this is help me a lot.
@VanTechCorner3 жыл бұрын
Glad it helped!
@anhphuc3934 Жыл бұрын
Hi bro, bro living in vietnam?
@VanTechCorner Жыл бұрын
Hi, yes I am.
@chuc2rk3 жыл бұрын
please share link buy usb to ethernet
@VanTechCorner3 жыл бұрын
Hi, the item was purchased when I was in Malaysia. You can search it on Google, the model is "Dlink DUB-1312"
@ncsmusic85993 жыл бұрын
Đo speedtest của viettel mà nói toàn tiếng anh vậy.
@marianofevola52612 жыл бұрын
why putty ask me a ID and PASSWORD ? i don put anyting