Go to advanced search

by cpc464
Tue Apr 30, 2019 8:26 am
Forum: Troubleshooting
Topic: Raspberry Pi "crashes", unable to SSH until hard reboot
Replies: 5
Views: 235

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...

Go to advanced search