Your Raspberry Pi Projects

Willie Trombone

Honorary Master
Joined
Jul 18, 2008
Messages
60,038
For me it is not an issue, still get +-5MB/s download speeds
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...
 

minkukel

Expert Member
Joined
Dec 27, 2004
Messages
2,371
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.
 

Quey_Quick

Expert Member
Joined
Dec 4, 2007
Messages
3,144
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
 

mh348

Expert Member
Joined
Jun 2, 2006
Messages
4,211
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.
 

MavChat

Expert Member
Joined
Jul 18, 2006
Messages
1,799
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.
 

Segg

Expert Member
Joined
Feb 25, 2012
Messages
4,694
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 :)
 

Quey_Quick

Expert Member
Joined
Dec 4, 2007
Messages
3,144
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.
 

Düber

Expert Member
Joined
May 17, 2018
Messages
2,617
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.)
 

Quey_Quick

Expert Member
Joined
Dec 4, 2007
Messages
3,144
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.
 

Segg

Expert Member
Joined
Feb 25, 2012
Messages
4,694
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
 

Pseudonym

Senior Member
Joined
Sep 5, 2009
Messages
749
If anyone gets a RPi4 please let us know the method, be it bought locally, grey import or running it over the border with a coyote.
 

HeftyCrab

Expert Member
Joined
Mar 26, 2009
Messages
2,292
  • Like
Reactions: Yuu

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,474
Raspberry Pi admits to faulty USB-C design on the Pi 4
https://arstechnica.com/gadgets/201...usb-c-design-wont-work-with-some-chargers/#p3

Whether your USB-C charger works with the Pi 4 has to do with whether it uses an "e-marked" cable. E-marked cables are fully featured USB-C cables with chips inside that negotiate power management, accessory modes, data rates, and other communication specs. Since the Pi 4 USB-C port is wired incorrectly, these smart cables will detect the Pi 4 as an "Audio Adaptor Accessory" and refuse to charge them. Usually, e-marked cables are more expensive and come with larger, higher-powered items, like a USB-C laptop
:ROFL::ROFL::ROFL::ROFL::ROFL::ROFL:
 

P924

Expert Member
Joined
Jan 18, 2010
Messages
2,614
Don't worry, by the time ICASA finally certifies this thing for use in SA, the new revision of the board will be out, with the fixed USB C port. (I'll bet).
By that time, the Pi 6 might be out already.
 

dualmeister

Honorary Master
Joined
Oct 15, 2005
Messages
51,374
Don't worry, by the time ICASA finally certifies this thing for use in SA, the new revision of the board will be out, with the fixed USB C port. (I'll bet).

Unless the new revision has to be re-certified :ROFL:
 

K3NS31

Expert Member
Joined
Jul 19, 2009
Messages
3,940
Unless the new revision has to be re-certified :ROFL:
Nope, it's the wifi / BT chip which needs to be certified. New revision will be 99% the same with minor tweaks like an extra resistor on the USB C port. It'll still be the "same" board as far as ICASA's concerned. (Just like the Pi Zero WH didn't have to be redone cos the W only was already certified)
 
Top