Your Raspberry Pi Projects

I'm waiting for the Pi4 to upgrade my mediaserver/download manager
The Pi4 will be way better, I'm just wondering if I have a use for a Pi4. I guess I could use it as a DNS server, but that is overkill, my normal Pi B will work fine. My Pi3 runs Unifi already. I wonder if the Pi4 has enough grunt to run a network monitoring tool.
 
Has anyone tried installing freePBX on their Pi? Its for a small home setup with 2 phones and a cellphone using Zoiper

I've got an issue where after a week or two the installation corrupts itself... Super annoying as I need to rewrite the image file to the SD card, never mind the phones stop working

Obviously compared to a dedicated installation on a PC the Pi version is VERY slow when using the UI, but considering the power saving, and the fact I hardly need to use the UI this isn't really an issue for me

Any ideas?
 
Has anyone tried installing freePBX on their Pi? Its for a small home setup with 2 phones and a cellphone using Zoiper

I've got an issue where after a week or two the installation corrupts itself... Super annoying as I need to rewrite the image file to the SD card, never mind the phones stop working

Obviously compared to a dedicated installation on a PC the Pi version is VERY slow when using the UI, but considering the power saving, and the fact I hardly need to use the UI this isn't really an issue for me

Any ideas?
Better quality SD card?
 
Genuinely thinking of this... But wondering why the current installation is giving issues, surely it can't purely be the SD card? :unsure:
When there are lots of writes to a SD card, it can corrupt. Usually the better quality cards this is less of an issue. You can minimize the chances of this happening by reducing the amount of writes to the SD card. Mostly this would be to try and disable all logging, any temporary files ect. You literally want to end up where the only writes, would be to a database and config files.
 
Any ideas?

What I have had, although on Armbian on my orange pi's, was that the partition created for logging (/var/log ) is too small and a simple or very repetitive error clogs it up making it hang.
Easy to fix if you know about it, but not so easy to figure out if you don't, as it could be an obscure log file.
Rasbian might do the same, I'm not sure though.

Flashing your backup image does not have all the junk there and therefore works fine until it fills up again.

What also helps me sometimes is to make an image of the "broken" card and then compare it to the working image, diff works well for that as it filters out the clutter.

But as @Tinuva pointed out, a bad SD card does funny things as does a bad power supply.
 
How is Ethernet speed over USB? I can't imagine it's ideal on the Pi 3b... Pi 4 on the other hand...
That said, I guess for LTE in SA it only need max out at 100Mbps.
For me it is not an issue, still get +-5MB/s download speeds which is the same as connecting a laptop directly to the LTE router with a lan cable
 
OK, that'll do just fine for LTE!
Also a nice solution if you want to use another provider and then switch to Telkom after midnight for your big downloads.
The main reason I ask is I was thinking of a pfsense, smoothwall or ipcop box with RPi.... I wonder if those images are around...
zeroshell was the only one for RPi I could find, rest were all x86. Specifically one that supports the failover/lb.
 
What I have had, although on Armbian on my orange pi's, was that the partition created for logging (/var/log ) is too small and a simple or very repetitive error clogs it up making it hang.
Easy to fix if you know about it, but not so easy to figure out if you don't, as it could be an obscure log file.
Rasbian might do the same, I'm not sure though.

Flashing your backup image does not have all the junk there and therefore works fine until it fills up again.

What also helps me sometimes is to make an image of the "broken" card and then compare it to the working image, diff works well for that as it filters out the clutter.

But as @Tinuva pointed out, a bad SD card does funny things as does a bad power supply.

I used log2ram to help reduce this issue.

See here:

https://www.raspberrypi.org/forums/viewtopic.php?t=237735
 
Has anyone tried installing freePBX on their Pi? Its for a small home setup with 2 phones and a cellphone using Zoiper

I've got an issue where after a week or two the installation corrupts itself... Super annoying as I need to rewrite the image file to the SD card, never mind the phones stop working

Obviously compared to a dedicated installation on a PC the Pi version is VERY slow when using the UI, but considering the power saving, and the fact I hardly need to use the UI this isn't really an issue for me

Any ideas?

Do you have a link for the guide you followed? I would like to also get FreePBX setup.

Regarding your issue, what class SD card are you using? I usually only use Class 10 cards, or UHS (Ultra High Speed) cards, you can get them from Esquire.
 
I have 2 usb ethernet ports on it connected to the RAIN and Telkom routers. The LAN is connected to the Pi ethernet port. And yes it becomes the gateway/dhcp server/dns server on the lan.

Thanks you answered my next question. I ordered som new pi Zero's with USB Ethernet adapters already so I will use those.

I finally got the software set up and accessible from a pi2 that is just laying around.
 
Do you have a link for the guide you followed? I would like to also get FreePBX setup.

Regarding your issue, what class SD card are you using? I usually only use Class 10 cards, or UHS (Ultra High Speed) cards, you can get them from Esquire.

This guy has some excellent videos on FreePBX in general, use this guide but you can cut out one or two of his steps regarding obtaining the IP address in the installation


Yes, I do use a class 10 card :)
 
Thanks going to try this, hoping it solves the issue... Is there any way to expand the partition? Or just use one partition for everything?

I expanded the SD Card partition using raspi-config, so essentially one partition for everything.
 
Is there any way to expand the partition? Or just use one partition for everything?

The sentiment on the OPI forums is that you need to solve the problem by fixing what is causing all the log entries. But that is easier said than done.
I try to solve the errors and then as @Quey_Quick indicated use log2ram if needed, but most times I have a script or code error that when fixed resolves the problem. :)( Or be naughty and use a cronjob to delete the overflowing log file every now and then.)
 
The sentiment on the OPI forums is that you need to solve the problem by fixing what is causing all the log entries. But that is easier said than done.
I try to solve the errors and then as @Quey_Quick indicated use log2ram if needed, but most times I have a script or code error that when fixed resolves the problem. :)( Or be naughty and use a cronjob to delete the overflowing log file every now and then.)

Thats what's nice about log2ram, it runs a cron job every hour to write the data to SD card, so better than constantly writing to the SD card.
 
The sentiment on the OPI forums is that you need to solve the problem by fixing what is causing all the log entries. But that is easier said than done.
I try to solve the errors and then as @Quey_Quick indicated use log2ram if needed, but most times I have a script or code error that when fixed resolves the problem. :)( Or be naughty and use a cronjob to delete the overflowing log file every now and then.)

This is exactly what I'm after - its for a very basic home setup, couldn't be bothered about logs

Going to try expand that partition first
 
Top
Sign up to the MyBroadband newsletter
X