MENU

Fun & Interesting

Building a Better Raspberry Pi Router // RPi Compute Module 4, OpenWrt, DFRobot Carrier Board

Dev Odyssey 13,049 lượt xem 2 years ago
Video Not Working? Fix It Now

​Shout out to @JeffGeerling for helping to make this video possible by fixing an RPI CM4 bug with OpenWrt!

Get a discount on Ekster Products
https://shop.ekster.com/devodyssey or discount code "DEV" at checkout!
(PAID Link)

Follow me on Twitter and Facebook

https://twitter.com/Dev_Odyssey
https://www.facebook.com/Dev0dyssey

A Raspberry Pi 4B router is cool, but whats even better is a Raspberry Pi 4 router, with the I/O of your choice, or as I like to say "bring your own interfaces" (BYOI). Well in this video, I take a step up from my Raspberry Pi 4B Router video, and I make a custom Raspberry Pi Router using a Compute Module 4 (CM4), DFRobot's IoT Router Carrier Board Mini, and of course, OpenWrt 21.02.3. With this carrier board, you get two, 1 GB Ethernet NICs, 2 USB C ports (one for power, and one for data), 26 GPIO pins, a microSD card slot, a reset button, and LED indicator lights. This board is already more powerful than a Raspberry Pi 4B router, as it has two ethernet ports, as opposed to one. It has the a small form factor for a low footprint, making it easy for travel. Lastly, you can chose the right CM4 for your resource needs. Overall, this makes a CM4 an ideal system to not only build routers, but anything where you need to customize your interfaces beyond USB, Ethernet, GPIO, and HDMI. Explore the possibilities of a Raspberry Pi CM4, by watching this video to create a router with your choice of interfaces!

Links

Hardware

Raspberry Pi CM4
https://www.raspberrypi.com/products/compute-module-4/?variant=raspberry-pi-cm4001000

DFRobot IoT Router Carrier Board Mini / Wiki
https://www.dfrobot.com/product-2555.html
https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767

Software

Custom OpenWrt Image for DFRobot Carrier Board (8/16/32 GB)
https://github.com/odevodyssey/dfrobot-router-openwrt

OpenWrt Forum Discussions
https://forum.openwrt.org/t/reset-button-troubleshooting-dfrobot-iot-mini-router-cm4-32-gb-emmc-wifi-8-gb-ram/126688
https://forum.openwrt.org/t/raspberry-pi-cm4-wifi-not-working/90280

Jeff Geerling Youtube Channel
https://www.youtube.com/c/JeffGeerling

Jeff Geerling's DFRobot Router Testing Video
https://www.youtube.com/watch?v=w7teLVwi408

Jeff Geerling DFRobot IoT CM4 Github Issues
https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/114

Raspberry Pi USB Boot (flashing eMMC)
https://github.com/raspberrypi/usbboot

Balena Etcher
https://www.balena.io/etcher/

00:00 Intro
00:56 Carrier Board Benefits
01:38 Hardware
02:58 Software
03:15 Assembly / Config
14:55 DFRobot OpenWrt Review
20:30 Overall Thoughts
21:24 Outro

Attributions

Music | "Get Away" by LiQWYD
Watch: https://youtu.be/UHyuQBoiVq0
License: https://www.liqwydmusic.com/how-to-use
Download/Stream: https://hypeddit.com/liqwyd/get-away

Raspberry Pi trademark of Raspberry Pi Trading
OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)

#RaspberryPi #CM4 #Router #HomeNetwork #OpenWrt

Comment