My understanding from previous conversations was that Raspberry Pi 4 was not supported in large part due to the old kernel along with the variety of patches that had been applied. Does the latest update make it possible to use a Raspberry Pi 4 given that the kernel has now been updated?
Did I miss that announcement somewhere? Can I assume with the additional power in a Pi 4, I can enable a few of the more costly features like intrusion detection?
I have no idea if this a problem with the sd card or because I forgot to change the serial console to off.
And since I could not fix it, or reboot or shutdown and get away from dracut, I just re-flashed the same SD Card and tried again. Easy peasy!
So the moral to the story is:
• If using HDMI & USB Keyboard: edit the uENV.txt file and change SERIAL-CONSOLE=ON to OFF
I did a quick speedtest using the pakfire addon and I was pleasantly surprised at the upload/download speeds. I pay for 200Mbit/s by 10 Mbit/s and I saw 192 Mbit/s by 9.4 Mbit/s.
Thank you Arne for your hard work on the new kernel!! I do appreciate it!
I will add more info soon!
EDIT: added another speedtest
[root@ipfireC159RPi4B ~]# speedtest
Retrieving speedtest.net configuration...
Testing from <redacted> Cable (<redactedIP>)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by <redacted> [36.50 km]: 16.581 ms
Testing download speed................................................................................
Download: 204.96 Mbit/s
Testing upload speed......................................................................................................
Upload: 9.89 Mbit/s
EDIT2: Turning on Intrusion Prevention System (IPS) may be too much for the RPi4B. The speedtest download drops from 200 Mbit/s to 40 Mbit/s with IPS enabled.
Thank you for the clarification. A few more questions if I could…
Will a backup from a Pi 3B+ work fine with the new architecture?
I would be interested in trying to set this up while leaving the current Pi in place on the edge of my network. Does the networking support for the adapter tie to the MAC address? I’m wondering if I can set up with one USB network adapter and then switch to a different after setup? Are there any other gotchas I should consider if I try to do things this way?
If you are referring to a IPFire backup you should be fine.
Read through this Wiki article about migration:
I’ve done this a few times and it all works A-OK. You need to run through setup. See the first paragraph in above Wiki.
I don’t know the real answer to this. To me the more options and add-ons you have the more RAM you’ll need.
If you are thinking to double the RAM and suddenly IPS/IDS will start working better I doubt that will help IPS/IDS. The RPi4B is just not powerful enough.
I think the minimum recommended RAM size is 2 GB. But someone else should really answer this question.
If you are just using IPFire as a firewall with no additional options like Web Proxy or IPS turned on then the minimum is 512MB with the recommended being 1GB. However if you turn on IPS them you really need something like 4GB but also with active network adaptors that can do their own processing for throughput combined with firmware that spreads the network load to the adaptors across all available cores in the cpu.
The lack of the latter two items is the usual reason people end up having big reductions in throughput rate when IPS is turned on.
Thank you. I’m not really having any issues with basic firewalling with a Pi 3b+. I’m interested in enabling IPS, but if a Pi 4b isn’t going to manage that then maybe I’m better off just leaving things as-is.
On a whim, I decided to grab a Pi 4B+ and see how things work. Unfortunately, I’m not having any luck on first boot. I’m using a serial console and I am caught in an infinite U-Boot loop. Does anyone have any suggestions on what might be going on here?
I grabbed the flash image for aarch64 based on this thread. That is what is flashed to the SD card and showing the errors. I appreciate any input or suggestions.
Thanks for the updates. I guess at this point, I need to wait for more direction on this front. Happy to try other builds, but not sure I know how to do much more with this image.
If I connect a monitor, I’m able to get further in the boot sequence. It gets to the point where it says that it is loading the kernel and then hangs at that point. It does look like the issues referenced in those issues I linked to are related. In the end, this device needs to be headless since it is normally nowhere near a monitor.
I will add that I was able to cleanly boot a recent RaspiOS image without issues, so thankfully this is not a hardware issue.
I will keep poking at this as I have time. If anyone has any suggestions or things that I should try, I’m happy to do that.
I am assuming you are getting these errors BEFORE you get to the IPFire setup. But I am having trouble figuring out where in the boot sequence you are seeing the issue. Can you take a few pictures?
I’m going to load up a new SD Card and image and record some video with my iPhone. Maybe we can figure out where things go sideways!
If you read back a bit, this may be due to me trying to set this all up without a monitor attached using the serial console. I’m not even getting the kernel loaded, so nowhere near IPFire setup. Do you have a monitor and keyboard connected?