Go to advanced search

by cpc464
Mon Apr 15, 2019 4:48 pm
Forum: Troubleshooting
Topic: High ping times to Raspberry Pi
Replies: 2
Views: 73

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: 1
Views: 53

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: 6
Views: 360

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: 6
Views: 360

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: 17
Views: 1155

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: 3995

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: 3995

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: 6
Views: 360

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: 2193

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: 2940

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
by cpc464
Tue Nov 28, 2017 12:46 pm
Forum: General discussion
Topic: SD cards - the Pi's greatest weakness
Replies: 89
Views: 7421

Re: SD cards - the Pi's greatest weakness

jahboater wrote:
Tue Nov 28, 2017 11:37 am
If the dirty shutdown flag is set, the system should run fsck on the next boot.
Yes I know. Nontheless, I still remove the card, put it into a Linux PC, and do an fsck there. I do 2 fscks, the second one just to verify that there are no errors. Then I put the card back into the Pi.
by cpc464
Tue Nov 28, 2017 12:40 pm
Forum: General discussion
Topic: SD cards - the Pi's greatest weakness
Replies: 89
Views: 7421

Re: SD cards - the Pi's greatest weakness

A second weakness of the Pi, perhaps, is it's inability to switch itself off in response to shutdown -h or similar. Users therefore have to guess when the system is truly down by watching the green light etc. But nobody can be abolutely sure that the system is down. Rarely, it could be up still, in ...
by cpc464
Tue Nov 28, 2017 11:03 am
Forum: General discussion
Topic: SD cards - the Pi's greatest weakness
Replies: 89
Views: 7421

Re: SD cards - the Pi's greatest weakness

I think that the "Pi's greatest weakness" is the lack of a power switch that, when pressed, performs a clean shut down, like a PC. The first thing that many new users will do, especially children perhaps, is to unknowingly corrupt their own file system. And they won't always have a nearby Linux syst...
by cpc464
Tue Nov 28, 2017 10:35 am
Forum: General discussion
Topic: SD cards - the Pi's greatest weakness
Replies: 89
Views: 7421

Re: SD cards - the Pi's greatest weakness

I have never had an SD card break, even the older big ones. I run 4 Pis at home, 2 of them 24x7, as well as a sheevaplug which also uses an SD card (sheevaplug is similar to Pi, uses big old SD cards). The sheevaplug has been online for 7 years, 24x7, constantly reading and writing to the card, with...
by cpc464
Mon Nov 27, 2017 12:07 pm
Forum: Networking and servers
Topic: Pi almost entirely unable to run WordPress site
Replies: 7
Views: 2251

Re: Pi almost entirely unable to run WordPress site

Hi Grant Your mangled web page shouldn't be due to performance shortcomings. I have a Wordpress blog running with Apache on a Pi2, MySQLm and storage in the SD card. Performance is just fine and pages load in about half a second. How big is that "high quality image" on your front page ? Also check o...
by cpc464
Mon Nov 27, 2017 11:57 am
Forum: Networking and servers
Topic: SSH was working but now "Permission denied (publickey)"
Replies: 4
Views: 1122

Re: SSH was working but now "Permission denied (publickey)"

Try checking the permissions on ~/.ssh and the key files, both on the Pi and your local server. SSH will fail if they are too loose.
by cpc464
Sun Nov 26, 2017 3:02 pm
Forum: Beginners
Topic: New article: Automatic Nextcloud Install on Raspberry Pi
Replies: 0
Views: 1976

New article: Automatic Nextcloud Install on Raspberry Pi

Hi I have just published the following article, which explains how to do an automated Nextcloud install on the Pi (Stretch or Jessie). You type in three commands and it installs the latest version of Nextcloud and all the necessary packages. http://unixetc.co.uk/2017/11/25/automatic-nextcloud-instal...
by cpc464
Sun Nov 26, 2017 2:45 pm
Forum: General discussion
Topic: Nextcloud, MySQL, PHP 7
Replies: 3
Views: 1705

Re: Nextcloud, MySQL, PHP 7

Hi OP, I have just published this guide to installing Nextcloud on the Pi automatically (Stretch or Jessie). It installs all the needed packages, all you do is type 3 commands (it uses Ansible to automate the install). For now it is just SQlite, not mysql. http://unixetc.co.uk/2017/11/25/automatic-n...
by cpc464
Fri Nov 24, 2017 1:33 pm
Forum: General discussion
Topic: File copy problem.
Replies: 17
Views: 1374

Re: File copy problem.

You are right n67. I have just edited my last post to remove the erroneous last sentence. As I understand it, the OP has fewer files on the target than the source, ie. some files have been missed. Unless he comes back with more information, it is impossible to say what has happened. The target disk ...
by cpc464
Fri Nov 24, 2017 11:55 am
Forum: General discussion
Topic: File copy problem.
Replies: 17
Views: 1374

Re: File copy problem.

Hi OP, as I understand it you have shared out a disk on the Mac and it is mounted on the Pi. You are copying files over the share, from the Pi to the Mac. Afterwards, you count the copied files from the Pi and they are 4000 short, but counting them on the Mac gets the right number. If all the files ...
by cpc464
Tue Oct 31, 2017 3:39 pm
Forum: General discussion
Topic: STICKY: NEW FORUM SKIN - Comments here please.
Replies: 288
Views: 49074

Re: STICKY: NEW FORUM SKIN - Comments here please.

Not enough contrast. Nearly all text suffers, especially sigs and dates on posts, but also the post text itself.

It is a strain and a constant distraction from the content of the site.
by cpc464
Mon Oct 23, 2017 9:14 am
Forum: General discussion
Topic: How i can display thumbnail for video files
Replies: 3
Views: 604

Re: How i can display thumbnail for video files

I use totem:

totem-video-thumbnailer <video file> <output picture>
by cpc464
Sun Oct 22, 2017 12:16 pm
Forum: Networking and servers
Topic: New article: Create a short linking service with a Raspberry Pi
Replies: 0
Views: 296

New article: Create a short linking service with a Raspberry Pi

Hi, I have just completed the article below. It describes how you can create your own personalized short links using an rPi. instead of Bitly links, for example, which look like "http://bit.ly/1Jua4qn", you can create short links under your own domain, like "http://jrt.dtdns.net/b", using the Pi to ...
by cpc464
Mon Nov 21, 2016 8:18 pm
Forum: Networking and servers
Topic: Simple Nextcloud Installation on Raspberry Pi
Replies: 2
Views: 3290

Re: Simple Nextcloud Installation on Raspberry Pi

On second thoughts, perhaps this belongs in Projects/Networking and Servers.

If any mod could move it in there, that would be, well absolutely smashing.
by cpc464
Mon Nov 21, 2016 7:41 pm
Forum: Networking and servers
Topic: Simple Nextcloud Installation on Raspberry Pi
Replies: 2
Views: 3290

Simple Nextcloud Installation on Raspberry Pi

Howdy all, For anyone who is interested, I have written a procedure for the installation of Nextcloud on the Pi: http://unixetc.co.uk/2016/11/20/simple-nextcloud-installation-on-raspberry-pi/ It supersedes my older article for installing / upgrading Owncloud (http://unixetc.co.uk/2015/02/21/simple-o...

Go to advanced search