Go to advanced search

by rpdom
Sat Dec 16, 2017 12:41 pm
Forum: Networking and servers
Topic: Store all website files into an external drive
Replies: 15
Views: 203

Re: Store all website files into an external drive

ok, the first step is to format the drive to ext4, now I understand why the permissions had problems, was because, windows file formats don't understand permissions, silly me, I'll format and try again There is only one reason to format a drive using a Windows format, and that is if you need to acc...
by rpdom
Sat Dec 16, 2017 11:53 am
Forum: General discussion
Topic: How come the price hasn't gone down?
Replies: 10
Views: 327

Re: How come the price hasn't gone down?

A litre of fuel and a pint of beer keep on going up and up. Mostly. The fuel is currently a bit cheaper than it was a few years ago. A Pi Zero is almost the same price as a pint of beer now, probably for the in the South UK it'll be cheaper to buy a Pi ;-) In some pubs, yes. Also, don't go to Swede...
by rpdom
Sat Dec 16, 2017 11:48 am
Forum: Troubleshooting
Topic: Have I been hacked?
Replies: 5
Views: 120

Re: Have I been hacked?

MEMEs wrote:
Sat Dec 16, 2017 11:42 am
I'm referring to the 'session opened for root user' early in the morning.
The ones marked as CRON? That's normal internal stuff. Nothing to worry about.
by rpdom
Sat Dec 16, 2017 11:30 am
Forum: Troubleshooting
Topic: Have I been hacked?
Replies: 5
Views: 120

Re: Have I been hacked?

I can't see any problems in that log fragment. Which entries are you referring to?
by rpdom
Sat Dec 16, 2017 11:26 am
Forum: Networking and servers
Topic: Store all website files into an external drive
Replies: 15
Views: 203

Re: Store all website files into an external drive

I tried that, and I'm getting permission denied, are you sure that's all? the other tutorials I followed edited some more stuff, I'll try when I get back As you're using ntfs (any good reason not to use ext4?), you'll need to make sure that the www-data user has at least read access to that drive. ...
by rpdom
Sat Dec 16, 2017 11:19 am
Forum: General discussion
Topic: How come the price hasn't gone down?
Replies: 10
Views: 327

Re: How come the price hasn't gone down?

I wonder how Moore would have done with the cost of TV sets? Back in the very old days you could have bought an average TV set for around £250. You could also buy a good car or a small house for the same amount. Skip 20 years and you could still buy a decent telly for £250, or a good car for £2500 o...
by rpdom
Sat Dec 16, 2017 11:02 am
Forum: Networking and servers
Topic: Store all website files into an external drive
Replies: 15
Views: 203

Re: Store all website files into an external drive

The file you probably want to edit is /etc/apache2/sites-enabled/000-default.conf You will find a "DocumentRoot /var/www/html" line in there. Change the path to that of your external drive and restart apache. sudo nano /etc/apache2/sites-enabled/000-default.conf #(edit the file and save) sudo apache...
by rpdom
Sat Dec 16, 2017 10:22 am
Forum: Raspbian
Topic: Permissions and Python
Replies: 2
Views: 52

Re: Permissions and Python

It is possible by careful setup of sudo, but with the default "pi can do anything using sudo" setup that method won't work. Basically, if the normal "pi can do anything" is disabled, you could set up specific sudo command options so the file is owned and only readable by root (or even create a new u...
by rpdom
Sat Dec 16, 2017 9:58 am
Forum: Wanted
Topic: Arcade button connection wires
Replies: 3
Views: 144

Re: Arcade button connection wires

For any of you enterprising hobbyist supply houses that might be reading this, this seems like a no-brainer for a new product; if you have the crimping tools at your disposal, wires like this would be trivial to assemble, with almost zero cost, and very little space needed for inventory. You could ...
by rpdom
Sat Dec 16, 2017 9:33 am
Forum: Networking and servers
Topic: Store all website files into an external drive
Replies: 15
Views: 203

Re: Store all website files into an external drive

The default mount point of a drive may be hard coded, but should be able to be overridden in fstab.

You could change the default location in the webserver config. Which webserver are you using?
by rpdom
Sat Dec 16, 2017 9:29 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 232
Views: 169210

Re: Prevent SD-Card Corruption

We won't be selling industrial cards. In our experience (i.e. testing) they give no benefits over a good quality off the shelf card. (i.e. Sandisk). We've even have one make actually lock up after a few uses, not corruption, just some sort of incompatibility. Well, is this the "incompatibility" you...
by rpdom
Sat Dec 16, 2017 9:22 am
Forum: General discussion
Topic: Raspberry Pi App Programs Recommendations
Replies: 9
Views: 280

Re: Raspberry Pi App Programs Recommendations

I think there is something missing here. You've mentioned some lights you want to control. You've mentioned you want an Android or iOs app. Where does the Pi come in to this? If I wanted to control lighting like that I'd get some Neopixel strips (aka WS2812B for the non-branded, cheaper version) and...
by rpdom
Sat Dec 16, 2017 8:57 am
Forum: General discussion
Topic: Zero 1.3 hardwired usb wifi disabling usb port
Replies: 10
Views: 320

Re: Zero 1.3 hardwired usb wifi disabling usb port

The wifi module is not actually usb as it was originally through hole soldered in to the ipcam board. It runs on 3.3v logic but still uses the 4 pin pos., d-, d+, neg like a usb and the pi recognises it as a usb device without issue I looked at the datasheet you linked to (very handy, thanks), and ...
by rpdom
Sat Dec 16, 2017 8:43 am
Forum: Beginners
Topic: How to determine my Pi model from the OS?
Replies: 8
Views: 149

Re: How to determine my Pi model from the OS?

broe23 wrote:
Sat Dec 16, 2017 7:07 am
Really just need to look at the silkscreened model number on the board.
The topic is "How to determine my Pi model from the OS?".

I suppose you could set up a camera to look at the board markings...
by rpdom
Sat Dec 16, 2017 8:26 am
Forum: Networking and servers
Topic: Store all website files into an external drive
Replies: 15
Views: 203

Re: Store all website files into an external drive

Change the mount point of the external drive to be /var/www/html ?
by rpdom
Fri Dec 15, 2017 11:30 am
Forum: Off topic discussion
Topic: Net Nostalgia
Replies: 2
Views: 111

Re: Net Nostalgia

I can almost remember my Compuserve ID :-)
by rpdom
Fri Dec 15, 2017 6:05 am
Forum: Android
Topic: Install ADB and Fastboot on RasPi 3
Replies: 4
Views: 154

Re: Install ADB and Fastboot on RasPi 3

adb and fastboot are available in Raspbian.

Code: Select all

sudo apt-get update
sudo apt-get install -y android-tools-adb android-tools-fastboot
by rpdom
Thu Dec 14, 2017 8:39 pm
Forum: Beginners
Topic: Upgrading my Pi from Wheezy to Stretch
Replies: 48
Views: 443

Re: Upgrading my Pi from Wheezy to Stretch

Raspbian expands the partition automatically during the first boot on the Pi. This is why first boot takes some time to complete.
by rpdom
Thu Dec 14, 2017 7:29 pm
Forum: General discussion
Topic: Is the electric supplier essential
Replies: 6
Views: 239

Re: Is the electric supplier essential

Watch the red PWR LED on the Pi. It should be lit steadily all the time. If it goes out it is a warning that the Pi isn't getting enough volts.
by rpdom
Thu Dec 14, 2017 6:54 pm
Forum: Beginners
Topic: Upgrading my Pi from Wheezy to Stretch
Replies: 48
Views: 443

Re: Upgrading my Pi from Wheezy to Stretch

NOOBS is an OS installer/chooser. You extract the NOOBS files onto the card and boot it in the Pi. It then gives you the options of installing various operating systems including the latest Raspbian. It can be easier than installing an image, but it will take up a few GB of space on the card. Format...
by rpdom
Thu Dec 14, 2017 6:29 pm
Forum: Beginners
Topic: Upgrading my Pi from Wheezy to Stretch
Replies: 48
Views: 443

Re: Upgrading my Pi from Wheezy to Stretch

There's no need to format the card before writing an image to it as the image will overwrite the formatting anyway.

If you use Etcher to write the image to the card it will unzip the file for you at the same time.

Just to save you a bit of work :-)
by rpdom
Thu Dec 14, 2017 11:35 am
Forum: Other projects
Topic: Running PHP internally offline
Replies: 1
Views: 29

Re: Running PHP internally offline

Rajkumarrrrr wrote:
Thu Dec 14, 2017 6:26 am
Hey,
Facing the same problem with PHP is there any way to avoid it?
What problem?

Please describe exactly what you want to do and what you have tried so far.
by rpdom
Thu Dec 14, 2017 11:13 am
Forum: For sale
Topic: 59 Pi B+ For Sale
Replies: 5
Views: 164

Re: 59 Pi B+ For Sale

Burngate wrote:
Thu Dec 14, 2017 10:45 am
From his other posts, he's in New Zealand - unless he's emigrated.
Well spotted. I was going to suggest Wales from the username, but there is a "nz" on the end.
by rpdom
Thu Dec 14, 2017 9:21 am
Forum: Raspbian
Topic: [solved] script in rc.local not executed since jessie update
Replies: 10
Views: 170

Re: script in rc.local not executed since jessie update

SkyRise wrote:
Thu Dec 14, 2017 9:14 am
If not, you're editing some other rc.local
There should only be one rc.local and that will be in /etc

It should be owned by root.

It will need sudo to edit it (unless running as root user already).
by rpdom
Thu Dec 14, 2017 6:41 am
Forum: General discussion
Topic: Error msg: SMI was removed without being ejected first
Replies: 2
Views: 105

Re: Error msg: SMI was removed without being ejected first

You need to look in your logs. SMI is short for System Management Interrupts. A simple search on the Internet would have told you that. Did that simple search tell you that System Management Interrupts are a feature of x86 chips? The Pi has a Secondary Memory Interface, which as far as I know hasn'...

Go to advanced search