Go to advanced search

by DougieLawson
Tue Sep 17, 2019 9:19 pm
Forum: Advanced users
Topic: GUI shutdown options
Replies: 2
Views: 95

Re: GUI shutdown options

I've found a solution that disables the [SHUTDOWN] button on the lightdm greeter screen and forces the menu->shutdown->reboot to require authorisation. Create /etc/polkit-1/localauthority/50-local.d/restrict-login-powermgmt.pkla (needs sudo nano to do that). [Disable lightdm PowerMgmt] Identity=unix...
by DougieLawson
Tue Sep 17, 2019 8:53 pm
Forum: Beginners
Topic: Starting with the pi
Replies: 3
Views: 54

Re: Starting with the pi

This https://www.raspberrypi.org/magpi/issues/85/ is probably a good starting point for you.
by DougieLawson
Tue Sep 17, 2019 4:39 pm
Forum: Troubleshooting
Topic: Clock?
Replies: 5
Views: 209

Re: Clock?

It's highly likely that the first attempt for timesyncd to get the time could fail. I've not looked at the dependencies as I've disabled it in favour of good old NTP on all of my systems.
by DougieLawson
Tue Sep 17, 2019 7:19 am
Forum: General discussion
Topic: Damaged pi
Replies: 13
Views: 1290

Re: Damaged pi

It can't be fixed.
by DougieLawson
Mon Sep 16, 2019 4:03 pm
Forum: Raspbian
Topic: Linux Kernel 5.3
Replies: 1
Views: 165

Re: Linux Kernel 5.3

So, it's a good job the Raspberry Pi Foundation folks are sticking with V4.19 for regular users and their experimental 64-bit kernel.

I suspect it will be 2020 before we see a move to the V5 kernel.
by DougieLawson
Mon Sep 16, 2019 3:59 pm
Forum: Automation, sensing and robotics
Topic: Monitoring and Controls
Replies: 1
Views: 44

Re: Monitoring and Controls

Look at MQTT in the guise of Mosquitto or RabbitMQ or HiveMQ. That's the protocol for command and control. Run the broker on your RPi, run Nick O'Lleary's pubsubclient library on your Arduino or ESP8266/ESP01/ESP12 to connect to your MQTT broker. You can use python3 with the paho.mqtt library to wri...
by DougieLawson
Mon Sep 16, 2019 3:50 pm
Forum: Advanced users
Topic: Switch two kernel image in raspberry pi using UBoot
Replies: 8
Views: 168

Re: Switch two kernel image in raspberry pi using UBoot

You're more likely to get an answer by posting your question to the u-boot mailing list.

https://www.denx.de/wiki/U-Boot has the details and archive for that mailing list.
by DougieLawson
Mon Sep 16, 2019 2:36 pm
Forum: Networking and servers
Topic: Connecting to enterprice network raspberry pi 3 b+
Replies: 2
Views: 55

Re: Connecting to enterprice network raspberry pi 3 b+

Selento94 wrote:
Mon Sep 16, 2019 2:34 pm
Hi, i'm trying to connect my raspberry pi to the university network.
Pick up the phone or walk across the campus to your University Network Helpdesk. The folks there are paid to fix your network connectivity problems.
by DougieLawson
Mon Sep 16, 2019 2:34 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 627

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

What shows up in your level 3 log files when you get that failure?
by DougieLawson
Sun Sep 15, 2019 10:45 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Copy-paste in VirtualBox not working
Replies: 13
Views: 212

Re: Copy-paste in VirtualBox not working

:lol: It's a possible but risky action ... VBoxGuestAdditions_6.0.12 on a VirtualBox 5.2.32 core ... Would have to restore many things if it crashes. Pulsar33 Why are you sticking with a piece of ancient history. Just install 6.0.12 and the matching additions. https://download.virtualbox.org/virtua...
by DougieLawson
Sun Sep 15, 2019 10:41 pm
Forum: Troubleshooting
Topic: sdcard fail
Replies: 3
Views: 101

Re: sdcard fail

5 & 6 work if your SDCard has NOOBS on it.
by DougieLawson
Sun Sep 15, 2019 9:35 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Copy-paste in VirtualBox not working
Replies: 13
Views: 212

Re: Copy-paste in VirtualBox not working

Pulsar33 wrote:
Sun Sep 15, 2019 9:34 pm
Hum, I didn't know that Mint 19.2 distribution (installed on my desktop) was so late (VirtualBox 5.2.32 is proposed)
Do you think that using VBoxGuestAdditions_6.0.12.iso is a good idea and will solve the clipboard problem for me ?

BR. Pulsar33
Try it.
by DougieLawson
Sun Sep 15, 2019 9:33 pm
Forum: Beginners
Topic: Am I running 32 or 64 bit ?
Replies: 9
Views: 328

Re: Am I running 32 or 64 bit ?

I've not tried it with 1.8.10 on a Raspberry.
by DougieLawson
Sun Sep 15, 2019 9:14 pm
Forum: C/C++
Topic: Output temp to Fahrenheit. Sub string hack but works
Replies: 4
Views: 137

Re: Output temp to Fahrenheit. Sub string hack but works

How about a simpler version reading the mailbox property? #include <fcntl.h> #include <inttypes.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/ioctl.h> //------------------------------------------------------------------------- // ...
by DougieLawson
Sun Sep 15, 2019 7:09 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 278

Re: can't get super simple gpio button tutorial to work

Try this: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) buttonA=23 buttonB=24 GPIO.setup(buttonA,GPIO.IN,pull_up_down=GPIO.PUD_UP) GPIO.setup(buttonB,GPIO.IN,pull_up_down=GPIO.PUD_DOWN) while True: print (GPIO.input(buttonA)) print (GPIO.input(buttonB)) Having the resistors is OK, that protects thi...
by DougieLawson
Sun Sep 15, 2019 5:10 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Copy-paste in VirtualBox not working
Replies: 13
Views: 212

Re: Copy-paste in VirtualBox not working

Guest Additions is a download from VirtualBox.... ....it is available from the VirtualBox Menu iirc ! There's an ISO here: https://download.virtualbox.org/virtualbox/6.0.12/ Just attach that to your VM and it appears as /media/*/VBox_GAs_6.0.12. There's a script to install the Linux stuff VBoxLinux...
by DougieLawson
Sun Sep 15, 2019 5:02 pm
Forum: Beginners
Topic: Updating time on my rpi 3b
Replies: 3
Views: 75

Re: Updating time on my rpi 3b

sudo date --set "2019-09-15 18:02:00"
by DougieLawson
Sun Sep 15, 2019 12:52 pm
Forum: Advanced users
Topic: Correct place to call bootup script
Replies: 5
Views: 139

Re: Correct place to call bootup script

How do you know - have you added logging calls to your script? What is your script supposed to do? Is it command line based or a GUI?
by DougieLawson
Sun Sep 15, 2019 12:50 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 627

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Have you created a samba user with sudo smbpasswd -a pi?
by DougieLawson
Sun Sep 15, 2019 12:19 pm
Forum: Advanced users
Topic: Correct place to call bootup script
Replies: 5
Views: 139

Re: Correct place to call bootup script

El Profe wrote:
Sun Sep 15, 2019 12:08 pm
.bashrc will sort of do the trick at a push, but that starts it running every time I open a new terminal. I just want it to run once at startup.
/etc/rc.local add it just above the exit 0 line.
by DougieLawson
Sun Sep 15, 2019 11:58 am
Forum: Media centres
Topic: SCART RGB output to old TV set
Replies: 23
Views: 374

Re: SCART RGB output to old TV set

Have you tried wiring an RCA plug to the composite TV header on your Zero? Rather than all that palaver you've got with HDMI converters and VGA.
by DougieLawson
Sun Sep 15, 2019 11:33 am
Forum: Media centres
Topic: SCART RGB output to old TV set
Replies: 23
Views: 374

Re: SCART RGB output to old TV set

Have you seen https://www.raspberrypi.org/magpi/teefax/ which uses the analog TV out signal?
by DougieLawson
Sun Sep 15, 2019 11:25 am
Forum: Troubleshooting
Topic: Mount usb drive changes access permission of mount point to root
Replies: 6
Views: 127

Re: Mount usb drive changes access permission of mount point to root

The biggest mystery is why ntfs-3g isn't included in Raspbian by default, that would stop all these NTFS threads appearing on here. I wish I knew where to ask for that. Because the majority of Pi users don't need NTFS support and it would make the downloads bigger. Also, as I understand, the free v...
by DougieLawson
Sun Sep 15, 2019 11:10 am
Forum: Troubleshooting
Topic: GPS pi4 incorrect date
Replies: 12
Views: 279

Re: GPS pi4 incorrect date

Try the GPS dongle on another computer. Buy another dongle from eBay.

https://www.ebay.co.uk/itm/GPS-Smart-An ... 3140614746
Note: that one doesn't do PPS but it does work with my 2014 RPiB+.
by DougieLawson
Sun Sep 15, 2019 10:52 am
Forum: AIY Projects
Topic: AIY Kits Release 2018-11-16 audio not work
Replies: 1
Views: 47

Re: AIY Kits Release 2018-11-16 audio not work

Are you running it under the desktop GUI? You can't start the AIY stuff from /etc/rc.local or from an @reboot line in a crontab.

Have you tried: ~/aiyprojects-raspbian/checkpoints/check_audio.py

Go to advanced search