Reasons a Raspberry Pi Belongs in Your Network Lab
blogs.cisco.com
blogs.cisco.com
If one really wants small form factor and lower power consumption why not choose a pine64, orange pi or radxa boards? Yes, certain features like hdmi(on Quartz64), or hardware accelerated video encode/decode is only supported in older kernels, but if one needs a generic network box even fairly new Linux kernels work.
So in conclusion, it is time to sell our remaining Rpi's to scalpers that want them and move to other things.
To not play "what the fuck doesn't work on it" lottery. Over years I had a bunch of different boards and it is always something that needs proprietary drivers that inevitably are pinned to some old kernel, or just something doesn't work very well.
Now rPi4 still isn't 100% supported in upstream kernel but just installing raspbian just works.
Same with all expansion boards, they will generally need only a little configuration on rPi but anything else is crapshoot.
> but if one needs a generic network box even fairly new Linux kernels work.
There are dedicated ones with multiple NICs for that purpose, both ARM and x86.
The two other Raspberry Pi that I have are Model 3B+. On one of these I run Raspbian. On the other one I run FreeBSD.
I would like to buy a few more Rapsberry Pi, but they are not so easy to come by.
I would especially like to buy the following:
- Raspberry Pi 4
- Raspberry Pi Compute Module 4 (CM4)
If anyone has one or more RPi 4 or RPi CM4 that they are not using, I would be interested to buy them so that I can put them to use. I have an address in Norway, and an address in Spain. So if anyone in any countries nearby (Norway, Sweden, Denmark, Finland, Spain, France, Germany, Portugal, etc) have some RPi 4 or RPi CM4 that they are not using and willing to part with for a reasonable price, please let me know :)
To me, the very point of RPi is to be cheap, slow, and hacking-friendly, with all these GPIO pins to control peripherals like a 3D printer, or a toy car / robot platform, etc. It was intended and initially promoted as an educational toy for schoolchildren, I remember it well. It fits fits to that purpose, and has nothing to do with higher-performance compute.
[1]: https://www.hardkernel.com/shop/odroid-n2l-with-2gbyte-ram/
[2]: https://www.hardkernel.com/shop/odroid-n2l-with-2gbyte-ram/
[3]: http://www.orangepi.org/html/hardWare/computerAndMicrocontro...
I have an Odroid XU-3 as well, and intend to buy some more Odroids also. But this thread is specifically about RPi and I still want more RPis because they have a much much bigger community than anything else :)
Community support is best for the original RPi. There are enough of them around to make sure that you can run them with a modern OS and supported kernel in a decade, with knockoffs you can never be sure when (or if!) bugs will be fixed or how long someone will maintain a kernel fork.
Linux works, also FreeBSD and OpenBSD.
Typical example here:
https://www.ebay.com/itm/185684535368?_trkparms=amclksrc%3DI...
Many Lenovos are bios locked to prevent upgrading the system to either products that Lenovo doesn't personally sell or specific products that are in a hard-coded whitelist in the BIOS.
The system will boot loop with a warning message if it detects a non-whitelisted device attached to the PCIe bus.
I do not know if they have discontinued this practice, but if you want to, say, add a 10gig ethernet adapter to the device or upgrade the WiFi for use as a media pc you should check the specific system to see if that is an issue with it before buying this system and go with an HP or Dell or something first.
https://en.wikipedia.org/wiki/Lenovo#Security_and_privacy_in...
Apparently, the only solutions are to either use only approved lenovo devices for that specific hardware or to export, edit, and reimport the BIOS after removing the bootloop protections from it, which while feasible isn't worth the time and effort to me just to have a small PC to use as a media player on my TV.
I don't see how that's comparable with a Pi in either price or reliably (or sanitation, really). Seems like buying other people's junk. I don't find compelling.
Pussy! Turn it on with a fire-extinguisher next to you...whats the problem?
Can you even run gns3 on a rpi? This is especially interesting when dealing with NACs and wireless clients (eap-*,.1x,client identification). Linux works too well sometimes in a lab, it will hapilly route traffic or have a trunk interface, the hostility of windows makes it a better (or rather required) lab client especially since you can just bridge linux VMs in my opinion.
The main points that are probably missing from the people here is that the low cost nature of RPI and it cheaper clones for examples Banana Pi (MediaTek ARM) and Lichee Pi (RISC-V) are great for networking labs [5],[6]. As of now, if you want to learn hands-on computer networking you go straight to the big vendors equipment from Cisco, Juniper, Huawei, etc. This is not the current practice for properly learning car driving or plane piloting where the new learners will start form the most basic vehicles. Starting learning with the big vendors is like learning to drive with a Mercedes car or piloting with a Boeing plane, where the normal practice is to use entry level Daihatsu or Caessna [7]. This article coming from big vendor like Cisco is a big endorsement for this sane approach from the industry albeit subtly.
[1]P4Pi: P4 on Raspberry Pi for Networking Education:
https://www.cs.yale.edu/homes/soule/pubs/ccr2021.pdf
[2]P4Pi: P4 on Raspberry Pi for Networking Education (slides):
https://opennetworking.org/wp-content/uploads/2021/05/2021-P...
[3] P4Pi codes:
https://github.com/p4lang/p4pi
[4] Building an Internet Router with P4Pi:
https://dl.acm.org/doi/abs/10.1145/3493425.3502762
[5] Low Cost Banana Pi BPI-R2 Pro 5-Port Gigabit Ethernet Router Board:
https://news.ycombinator.com/item?id=28440718
[6] Lichee Pi 4A:
https://news.ycombinator.com/item?id=34137185
[7] Why the Cessna is such a badass plane (2019):
A raspberry Pi costs up to 1€/month in electricity to keep running as a server, while any used computer will cost quite a bit more. When suggesting old hardware for server use, make sure to consider the total cost, not just the cost of the hardware itself.
It's just the top, not how low it can go on idle. My VM server has ~35W TDP but gets 20W with SSD/dual NIC and acting as WiFi accesspoint. CPU usage is less than half of that, at those levels motherboard is often the element with highest power consumption and it is hard to get data on which motherboard is most power efficient.
Probably easier with laptops as in theory you can just get run time on battery, battery size and calculate power usage off that.
I actually bought a Lenovo M910Q with i5 6500T, 256GB SSD and 8GB of RAM for ~£100 in the last year.
It'll absolutely demolish a Pi 4 at CPU & GPU performance, can take much more RAM than a Pi, idles at <10W on 230V mains, you get the bonuses of easy software compatibility as it just runs any mainstream Linux distro & and it runs x86_64 code, it has real storage interfaces (SATA & NVMe), and has an Intel NIC.
For home server uses, they're really nice machines.
Some people use power banks for that, but that's not really proper use and some power banks don't allow seamless power switch.
There are also few simpler ones that do "just" supply power and "power good" signal.
There is also plenty of DC UPSes, although often targeting the industry, which means "expensive"
In-between is [2] OpenUPS but I didn't used it. It's just pretty niche product and niche is also one of the "it will be expensive" keywords.
Soo yeah, they are out there and work fine, go and buy one. Oh, don't want to spend more than rPi ? Well, that's the price of niche products, even if parts are not super expensive it need to cost enough for NRE costs to amortize.
Or, slap a power strip and few power supplies into normal UPS and call it good enough
It has an important caveat though: both the USB and 12v outputs are unregulated, so the device you're feeding into must be able to handle a wider voltage range, or you can buy a fairly cheap ($15 or so) step up/down converter to put in-line with it.
I'd really like an affordable 5v/12v UPS though. Maybe it will happen when more things adopt USB-C and there's more of a market for power banks designed for seamless switching.
In place of them, I got a barebones Intel Nuc that I populated with some DDR4 and an M.2 NVMe drive I had laying around. The performance from the Core i5 is great and leaps ahead of the most powerful Pis, and the footprint and cost is only a little more than a fully heatsinked and encased Raspberry Pi. My Intel Nuc is running Linux Mint flawlessly so far.
https://www.amazon.in/Intel-Core-Mini-NUC8i5BEH-500GB/dp/B07... (INR 52K or US$ 600) https://www.amazon.in/Intel-Performance-NUC11PAHI5-Thunderbo... (INR 42K or US$ 488)
or you can get a celeron https://www.amazon.in/Intel-NUC7CJYH-NUC-Kit-BOXNUC7CJYH/dp/... (INR 12K or US$ 139)
https://robu.in/product/raspberry-pi-3-model-a-with-official... (inr 2800 or US$32)
or https://robu.in/product/raspberry-pi-3-model-a/ (INR 2500 or US$29)
so the NUC are being sold at obscene prices....
i am very much interested in buying old tech because
1. it is cheaper and has seen a lot so it usually isnt flimsy. 2. no need for warranty as the local repair scene is pretty good with aftermarket spares readily available.
i broke 4-5 Pis last year because of a bad usb cable that was transferring data and i didnt realize until later the cause. anyway, i am stuck with pis with USB overcurrent problem.
A question I keep asking is what happened to the cheap NUC's?
This question has been bothering me since the $199 J1900 NUC disappeared years back and was never replaced by a comparative low power and low cost NUC. Instead we got $400+ i3/5/7 NUC's and some silly $1200 NUC with a skull on it for gaming. They were at one point cost effective but that suddenly stopped.
Few weeks back I picked up an i5 NUC on sale for $300 from Newegg which is the lowest I've seen a quad core NUC in a long time (maybe I'm not looking hard enough). It's hooked to my TV and is just another desktop that also happens to play Hulu.
If you don't mind buying used, the prices drop even further.
Ironically, I'd be happy to pay much more than the cost of a entire Pi4 to get the same GPIO as an add-on for a fast, reliable amd64 machine.
I for one run a Pi with PiHole, Wireguard, Unifi controller, NVR, MQTT, etc. and a few more GPIO trinkets like Zwave. No ESP could practically handle all that, an x86 would be overkill in terms of size, noise, temperature, and power consumption.
On the other hand I use ESPs for things like "smartening up" my door intercom where even a Pi Zero would be overkill.
You probably would be surprised what they can handle... See these examples:
I must have a lower tolerance than most, but the idea of typing on a used keyboard seems gross. Besides, how do I know how well was it handled? That the power supply will not fry a few weeks in, just after I set everything up.
I have a Raspberry Pi running nonstop for over a decade. No fans, just working.
First party refurbished are usually as good as new.
It takes up more space, and uses more power, but no paying scalper prices for hardware dependent on a dodgy microSD, wallwart, USB SATA adapter, improvised chassis, etc.
Better than buying brand-new perhaps but not what I would call a great deal and certainly not a replacement for a pi4 in terms of price and power consumption.
I was quite surprised how not only it managed to fit, it loaded routes to Linux kernel much faster than the new shiny expensive Juniper box managed to.
I have resisted temptation to put it in black box with red LED on the top. * [1] https://bird.network.cz/
I'd actually love "enterprise raspberry", some small machine that we could shove 3-6 of them in 1RU, but once you add enterprise tax and all of the doodas to make it manageable (OOB management), it gets expensive enough to rival "just an old server".
Assuming you already have a pi (lol) that's a really cheap accessory upgrade. Just needs a hdmi capture dongle and usb-c power/data splitter.
Around 30 bucks of gear. Commercial kvm...500+
Do you recommend any? The one that I saw (recommended by PIKVM DIY site) is 40+ USD just for the capture dongle
https://smile.amazon.co.uk/gp/product/B0B6CBBP8R
Also got myself a hdmi to DP cable but pure hdmi seems more stable.
The usb power thing was a bit more tricky. I went with this one
What you want is retired laptop or thin client with optional arduino clone plugged into USB/serial for low level IO.
The only reason I'd recommend dhcpd/bind over dnsmasq for a small lab is if you are trying to familiarize yourself with the former pair for use in larger networks with more expansive requirements.
(a charitable read of your parent comment is that for users of FTX, their cryptocurrency isn't acceptable)
It's a bit of a duct-taped solution at the moment but it's been working flawlessly to monitor a property without wifi, I hope to clean it up into something I can present to the world eventually.
I’ll definitely read your write up if you get the chance to work on it!
After you buy rPi, camera, IR light, case, power supply it will cost same or more
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protoco...
I run mine on the linode hosting my blog. The web interface is generated by stagit.
For example works great on networked file share with no proper git server required.
you can simply self-host git in any ssh server as long as you don't need to share access.
in the remote server just "git --bare init" a directory, in your local computer "git remote add myorigin ssh://server/path/to/dir" and start pushing.
you could also do the same thing for a dropbox directory adding a file:// remote.
git is just some files lying around, no weird binary formats or servers needed, it's brilliant
but if you have one, this article might interest you.
similarly, an article about having a snail in your aquarium is not about you, needing an aquarium. skip that too if you don't have an aquarium.