Go to advanced search

by cpc464
Sat Jul 27, 2019 11:57 am
Forum: Troubleshooting
Topic: Grading app?
Replies: 13
Views: 379

Re: Grading app?

DougieLawson wrote:
Thu Jul 25, 2019 5:56 am
https://javascriptsource.com/roman-numerals/

There's a bit of JavaScript I wrote 19 years ago.
Cool.
by cpc464
Sat Jul 27, 2019 11:29 am
Forum: General discussion
Topic: Updated for Pi 4 / Buster: Simple Nextcloud Installation on Raspberry Pi
Replies: 2
Views: 778

Re: Updated for Pi 4 / Buster: Simple Nextcloud Installation on Raspberry Pi

15 minutes before you saw the welcome screen ? :? Something not right there, it should be more like 60 seconds. Your optimizations look fine, but I won't be adding them to the article, which is for installing Nextcloud only, per the title. Was quite tempted to add that memory increase though. I've n...
by cpc464
Sat Jul 27, 2019 11:08 am
Forum: General discussion
Topic: New Article - Pi 4 Real World Tests / NAS effectiveness
Replies: 9
Views: 1391

Re: New Article - Pi 4 Real World Tests / NAS effectiveness

Hi guys, thanks for reading @W. H. Heydt - Yes, I find it amazing, in engineering and market terms, that the Pi 4 can deliver CIFS traffic fast enough to max out a Gigabit lan. As ejolson says, this is the stark difference between the separated bus architecture of the Pi 4 and previous models. Did y...
by cpc464
Sun Jul 21, 2019 9:46 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 861
Views: 88888

Re: Raspberry Pi 4 Thread - general discussion

Hi all The Pi 4 is wonderful but I am not happy leaving a 70 degree C board alone in the house. Seriously. My blog (http://unixetc.co.uk) will remain in the Pi 2, running at about 41 C, rather than the Pi 4 (and costing 2 or 3 times as much to run, incidentally). Looking for a big passive heat sink....
by cpc464
Sun Jul 21, 2019 9:35 am
Forum: General discussion
Topic: Pi4 Samba USB Share
Replies: 5
Views: 302

Re: Pi4 Samba USB Share

Hi OP, On the subject of file systems, I also obtained better Pi 4/Samba performance from XFS. I would recommend it over ext4 in this case. Speeds were 65 megabytes/s for writing, 105 megabytes/sec for reading, and peaking at 125 megabytes/s (which saturated the Gigabit network!). Terrific performan...
by cpc464
Sat Jul 20, 2019 5:45 pm
Forum: General discussion
Topic: Updated for Pi 4 / Buster: Simple Nextcloud Installation on Raspberry Pi
Replies: 2
Views: 778

Updated for Pi 4 / Buster: Simple Nextcloud Installation on Raspberry Pi

Evening all, I've updated my article on installing Nextcloud on the Raspberry Pi. Now it works for the Pi 4 and Raspbian Buster, too: http://unixetc.co.uk/2016/11/20/simple-nextcloud-installation-on-raspberry-pi/ The procedure for doing it automatically is as follows. Using Ansible, the whole instal...
by cpc464
Sat Jul 13, 2019 11:36 am
Forum: Networking and servers
Topic: Advice requested; Pi 4 NAS - 1, 2 or 4Gb of RAM?
Replies: 17
Views: 3621

Re: Advice requested; Pi 4 NAS - 1, 2 or 4Gb of RAM?

Hi OP, If you can afford it, go for 4 GB (just for future proofing), but 2 GB will be fine, and so will 1 GB, assuming you just want to stream a few media files or do some backups. I used my 4 GB Pi 4 as a NAS and the 4 GB did provide a *tiny* improvement in speed, due to the larger buffer cache. Li...
by cpc464
Sat Jul 13, 2019 11:15 am
Forum: General discussion
Topic: New Article - Pi 4 Real World Tests / NAS effectiveness
Replies: 9
Views: 1391

New Article - Pi 4 Real World Tests / NAS effectiveness

Hi Those interested in using the Pi 4 as a NAS might be interested in my new article http://unixetc.co.uk/2019/07/07/raspberry-pi-4-real-world-tests/ How good is the Pi 4 as a NAS ? Quick answer: very good indeed. In copying files, I was able to get write speeds of 65 Megabytes/sec, and for reading,...
by cpc464
Tue Apr 30, 2019 8:26 am
Forum: Troubleshooting
Topic: Raspberry Pi "crashes", unable to SSH until hard reboot
Replies: 5
Views: 290

Re: Raspberry Pi "crashes", unable to SSH until hard reboot

Hi skywatch Regarding your wired Pis, the fact that they run headless should not prevent you from seeing the logs. Have you looked under /var/adm? Logs of interest are kern.log,. syslog and messages. I run a number of Pis in headless mode and regularly check the log files if/when there is a problem....
by cpc464
Fri Apr 26, 2019 3:25 pm
Forum: Networking and servers
Topic: New article: Redirecting Firewall Messages in Linux
Replies: 0
Views: 225

New article: Redirecting Firewall Messages in Linux

Good Afternoon all, I've just published the below article. Although entitled "Linux", it relates to Raspbian. http://unixetc.co.uk/2019/04/26/redirecting-firewall-messages-in-linux Of interest to those running eg. WordPress on an Internet facing Pi, and running a Netfilter firewall, it explains how ...
by cpc464
Thu Apr 25, 2019 11:05 am
Forum: General discussion
Topic: resolv.conf automatically deleted from etc in raspberry pi 3
Replies: 6
Views: 277

Re: resolv.conf automatically deleted from etc in raspberry pi 3

Hi OP. As mentioned above, resolv.conf is auto-generated every time your system is booted. There are many related threads on the forum, do a search. Eg. https://www.raspberrypi.org/forums/viewtopic.php?t=57388 By default, in Raspbian, the file is overwritten on every boot by the "resolvconf" service...
by cpc464
Tue Apr 23, 2019 11:23 am
Forum: Troubleshooting
Topic: Intermittent wifi: "wlan0: link is not ready"
Replies: 2
Views: 421

Re: Intermittent wifi: "wlan0: link is not ready"

Hi Whonch, sorry for this boring and semi-helpful answer, but for services that need to be on all the time (eg a NAS), I would strongly recommend wired Ethernet over wireless. Wi-Fi is not really designed to offer stable, continuous connectivity, and speed variations and occasional disconnects are t...
by cpc464
Tue Apr 23, 2019 11:06 am
Forum: General discussion
Topic: resolv.conf automatically deleted from etc in raspberry pi 3
Replies: 6
Views: 277

Re: resolv.conf automatically deleted from etc in raspberry pi 3

Hi OP. What do you mean "automatically deleted" ?
by cpc464
Tue Apr 23, 2019 10:40 am
Forum: General discussion
Topic: New Article: Convert an RPi based website from HTTP website to HTTPS.
Replies: 7
Views: 551

Re: New Article: Convert an RPi based website from HTTP website to HTTPS.

Hi Hippy, I think the Banks' logic goes something like this: HTTPS is meant to be trustworthy, so they (the bank) will carefully check the certificate of any site purporting to offer HTTPS. They will also check that the owing organisation is legitimate. Before trusting somebody with something, you c...
by cpc464
Tue Apr 23, 2019 10:34 am
Forum: Troubleshooting
Topic: Raspberry Pi "crashes", unable to SSH until hard reboot
Replies: 5
Views: 290

Re: Raspberry Pi "crashes", unable to SSH until hard reboot

If you are seeing problems from wired Pis then that is a different story. What error messages are produced by the wired Pis? Are they really crashing (and rebooting), or just freezing until you power them off? Or is the sshd service just dying, so you can't log in ? Clues will be found in the log fi...
by cpc464
Mon Apr 15, 2019 4:48 pm
Forum: Troubleshooting
Topic: High ping times to Raspberry Pi
Replies: 2
Views: 172

Re: High ping times to Raspberry Pi

Hi 7pt, assuming both your PC and the Pi are using wired connections, you should be getting PC->Pi ping times of about half a millisecond.

You are seeing 4 ms, ballooning up to over 2 seconds. Not sure why this is, but it might just be that your Pi is very busy running both discord and minecraft.
by cpc464
Mon Apr 15, 2019 4:37 pm
Forum: Troubleshooting
Topic: Raspberry Pi "crashes", unable to SSH until hard reboot
Replies: 5
Views: 290

Re: Raspberry Pi "crashes", unable to SSH until hard reboot

Hi NovaKevin, it looks like the wireless connection (wlan0) is going down, which suggests that your Pi is networked on wireless. Wireless connectivity is convenient but isn't really appropriate for servers, as the speed varies and the connection can become intermittent.. If you are running a service...
by cpc464
Mon Apr 15, 2019 11:41 am
Forum: General discussion
Topic: New Article: Convert an RPi based website from HTTP website to HTTPS.
Replies: 7
Views: 551

Re: New Article: Convert an RPi based website from HTTP website to HTTPS.

OK, I got it. It's a great idea to encourage people to use HTTPS everywhere and using Letsencrypt is a good way to do it. A couple of points:... Hi Heater, regarding point (1), the article is simply about how to convert an existing HTTP website to HTTPS. This is clearly denoted by the title and exp...
by cpc464
Mon Apr 15, 2019 10:39 am
Forum: General discussion
Topic: New Article: Convert an RPi based website from HTTP website to HTTPS.
Replies: 7
Views: 551

Re: New Article: Convert an RPi based website from HTTP website to HTTPS.

Blimey, this is a necro-post and no mistake. Sorry about the wrong link!

The correct link is:
http://unixetc.co.uk/2018/05/13/how-to- ... -to-https/

Cheers,
Jim.
by cpc464
Mon Apr 15, 2019 10:01 am
Forum: General discussion
Topic: GIVE YOUR RASPBERRY PI SD CARD A BREAK: LOG TO RAM
Replies: 19
Views: 5441

Re: GIVE YOUR RASPBERRY PI SD CARD A BREAK: LOG TO RAM

Must admit I can't help being a bit skeptical about the Pi card issue. Some report that their Pis are killing card after card. But for years I've been running a Wordpress blog on a couple of Pi 2's ( unixetc.co.uk ), with never a problem. The blog gets about 10,000 requests a day, and every one of t...
by cpc464
Fri Apr 12, 2019 2:40 pm
Forum: General programming discussion
Topic: Messing around with Graphics.py -new article
Replies: 1
Views: 4364

Re: Messing around with Graphics.py -new article

Incidentally if you just want to try the program, here it is on Github: blanc.py

Jim.
by cpc464
Fri Apr 12, 2019 2:38 pm
Forum: General programming discussion
Topic: Messing around with Graphics.py -new article
Replies: 1
Views: 4364

Messing around with Graphics.py -new article

Hi I've written a short article, aimed at beginners, about using John Zelle's graphics.py to draw some simple mathematical patterns . You can do quite a bit with a few lines or code, just by plotting points. For example, this thing: http://unixetc.co.uk/wp-content/uploads/2019/04/blankmange-500x281....
by cpc464
Sun May 13, 2018 9:03 pm
Forum: General discussion
Topic: New Article: Convert an RPi based website from HTTP website to HTTPS.
Replies: 7
Views: 551

New Article: Convert an RPi based website from HTTP website to HTTPS.

Hi To who it may concern, I have just published a new article on how to convert a RPi/Apche based website from http to https. It is designed to be simple as possible and uses a free digital certificate from Let's Encrypt. http://unixetc.co.uk/2017/06/04/using-a-domain-name-with-a-raspberry-pi-web-se...
by cpc464
Sun May 13, 2018 9:01 pm
Forum: Networking and servers
Topic: Nextcloud on apache 2
Replies: 12
Views: 2787

Re: Nextcloud on apache 2

Hi Philipp. I am the author of the unixetc..co.uk article quoted in your original post. This might or might not be helpful, but I have just published a new article on how to convert a RPi/Apche based website from http to https. It is designed to be simple and uses a free digital certificate from Let...
by cpc464
Sat Dec 02, 2017 8:28 pm
Forum: Networking and servers
Topic: Updated Guide: Install Wordpress Blog on Raspberry Pi
Replies: 1
Views: 3037

Updated Guide: Install Wordpress Blog on Raspberry Pi

Hi,

I have updated my Wordpress guide for Raspbian Stretch. It has been tested on the Nov 29 release:

http://unixetc.co.uk/2013/09/25/install ... pberry-pi/

Cheers,
Jim

Go to advanced search