Go to advanced search

by DougieLawson
Wed Oct 17, 2018 6:57 pm
Forum: C/C++
Topic: Raspistill -s signal mode
Replies: 4
Views: 195

Re: Raspistill -s signal mode

I think there's a CMake file in there that generates a Makefile. With that you'll only recompile code that's changed.

Read the buildme script to see what it's doing.
by DougieLawson
Wed Oct 17, 2018 6:43 pm
Forum: Python
Topic: restart of mosquitto after reboot
Replies: 2
Views: 85

Re: restart of mosquitto after reboot

Edit your config add

Code: Select all

listen 1883
then restart Mosquitto.
by DougieLawson
Mon Oct 15, 2018 9:53 pm
Forum: Networking and servers
Topic: WiFi AP Hotspot can not increase max clients
Replies: 1
Views: 68

Re: WiFi AP Hotspot can not increase max clients

Your range is wrong. You can't assign an address beyond 192.168.4.254 with a /24 netmask. 192.168.4.255 is the broadcast address for you network.
by DougieLawson
Sun Oct 14, 2018 8:59 pm
Forum: General discussion
Topic: Reset Pi time automatically without rebooting
Replies: 2
Views: 128

Re: Reset Pi time automatically without rebooting

Either replace timedatectl with NTP or restart timedatectl daily or fit a RTC hardware board.

At a distance adding a crontab to run sudo restart timesyncd is probably easiest for now.
by DougieLawson
Sun Oct 14, 2018 3:04 pm
Forum: General discussion
Topic: Nginx hosting problems.
Replies: 17
Views: 305

Re: Nginx hosting problems.

You've got an error in your config

Code: Select all

"fastcgi_pass" directive is duplicate in /etc/nginx/sites-enabled/default:52
go and remove line # 52.
by DougieLawson
Sun Oct 14, 2018 2:59 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.14
Replies: 150
Views: 52666

Re: Moving Linux kernel to 4.14

Today's experiment is back to 0abe903f4a137e2738fe3be5f14a2a34afc9762b then I'll take a look later and see if I need to take another step back. I'm happy to build a kernel with a patch if needed (although I'd have to build twice with a kernel7 for my affected 2B). Plus I'm quite happy to experiment ...
by DougieLawson
Sun Oct 14, 2018 2:25 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.14
Replies: 150
Views: 52666

Re: Moving Linux kernel to 4.14

jamesh wrote:
Sun Oct 14, 2018 11:55 am
Hmm, another checksum issue. There are a couple of github issues that may be relevant.
I found one - that's new enough and relevant. I can't work out what https://github.com/Hexxeh commit I need to go back to to avoid the error.
by DougieLawson
Sun Oct 14, 2018 9:08 am
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 1098

Re: Is it Time to force Raspbian password change on initial login

Leave it as is, anything else hinders anything in schools or general groups of educator setups. The number of children that forget things and even teachers after a few weeks away, when they are only slightly complicated passwords, is too much. Oh don't we love the head in the sand option. Revert it...
by DougieLawson
Sun Oct 14, 2018 8:50 am
Forum: Advanced users
Topic: Moving Linux kernel to 4.14
Replies: 150
Views: 52666

Re: Moving Linux kernel to 4.14

Is anyone else seeing these kernel ooops with 4.14.74+ Oct 8 2018 17:47:48 Copyright (c) 2012 Broadcom version 656741eb5ba785fc4f1014a3a3b1c0e9c2cc8487 (clean) (release) .firmware_revision e0a0ba809ef11f6bed8a00d34dda961239ea432c Oct 14 03:07:04 odyssey kernel: [96273.989232] enxb827eb355259: hw csu...
by DougieLawson
Sun Oct 14, 2018 8:30 am
Forum: Raspbian
Topic: [Unofficial announcement] Raspbian - October 2018 version
Replies: 17
Views: 1004

Re: [Unofficial announcement] Raspbian - October 2018 version

epoch1970 wrote:
Sun Oct 14, 2018 8:26 am
I'm interested in that.
Would a kind soul do my job and tell me where the improvement comes from: kernel/firmware, userland, both?
Thanks ;)
It's probably in the Broadcom firmware package.
by DougieLawson
Sun Oct 14, 2018 8:26 am
Forum: Beginners
Topic: Raspberry pi weather station build your own project
Replies: 15
Views: 331

Re: Raspberry pi weather station build your own project

You can host MariaDB on one RPi and run your SQL on the other. The connect() defaults to localhost but can go remote. To do that you need to change the bind-address to 0.0.0.0 on the server and add some extra GRANT'ed privileges to the user table. https://stackoverflow.com/questions/15663001/remote-...
by DougieLawson
Sat Oct 13, 2018 11:13 pm
Forum: General discussion
Topic: Suggestion for a Christmas Gift
Replies: 7
Views: 223

Re: Suggestion for a Christmas Gift

The RPi A+ is an expensive way to get a RPi ZWH without the on-board WiFi. You need a very special project to justify the extra cost of the A+.
by DougieLawson
Sat Oct 13, 2018 7:42 pm
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 1098

Re: Is it Time to force Raspbian password change on initial login

I think it is about time to force changing the default Raspbian login password on initial setup. Currently there is just a warning message. This would ensure better security. What are your thoughts. They should ditch the pi userid and raspberry password. Get Raspbian to do an "out of the box" proce...
by DougieLawson
Sat Oct 13, 2018 3:48 pm
Forum: Weather station
Topic: Dew point - Weather Underground
Replies: 5
Views: 191

Re: Dew point - Weather Underground

F = ((C/5)*9)+32
by DougieLawson
Sat Oct 13, 2018 3:47 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: 'Sudo' apps require 'root' password
Replies: 7
Views: 154

Re: 'Sudo' apps require 'root' password

The GUI has the 'pi' userid embedded in the code. It's a crap design but that's how it has been built to make it easy to use. You may need to pile into the source code and compile some things to eliminate 'pi' completely.
by DougieLawson
Sat Oct 13, 2018 3:06 pm
Forum: General discussion
Topic: Suggestion for a Christmas Gift
Replies: 7
Views: 223

Re: Suggestion for a Christmas Gift

Give them the 3B+ as it's easiest to use, fastest, has 5GHz WiFi on-board, has GB ethernet andhas the full set of four USBs.

Any other Raspberry is more specialised and needs a compromise for the missing features.
by DougieLawson
Sat Oct 13, 2018 3:01 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: 'Sudo' apps require 'root' password
Replies: 7
Views: 154

Re: 'Sudo' apps require 'root' password

Root is enabled but it doesn't have a password.

Use the default (pi) user's password which is "raspberry" until you change it.

That's the same for Raspbian and the X86 DebIan with RPD.
by DougieLawson
Sat Oct 13, 2018 2:07 pm
Forum: Beginners
Topic: Python 12 hour time lapse
Replies: 1
Views: 53

Re: Python 12 hour time lapse

Use cron to trigger a "one-shot" script at 0 6,18.
by DougieLawson
Sat Oct 13, 2018 2:05 pm
Forum: Advanced users
Topic: mosquitto_passwd
Replies: 5
Views: 3490

Re: mosquitto_passwd

You're missing a leading / on the password file path.

Change etc/mosquitto/passwordsvpj to /etc/mosquitto/passwordsvpj
by DougieLawson
Sat Oct 13, 2018 7:51 am
Forum: Weather station
Topic: Wind Speed and Rainfall
Replies: 10
Views: 191

Re: Wind Speed and Rainfall

Is there any way to delay the start of the interrupt_daemon.py at boot up? Find this in interrupt_daemon.py def start(self): try: self.daemon_pid = None self.daemonize() self.daemon_pid = os.getpid() print("PID: %d" % self.daemon_pid) self.setup() while self.running: conn, addr = self.skt.accept() ...
by DougieLawson
Sat Oct 13, 2018 7:45 am
Forum: Weather station
Topic: Dew point - Weather Underground
Replies: 5
Views: 191

Re: Dew point - Weather Underground

That program spits out the results in Celsius - because the rest of the world uses that scale.
by DougieLawson
Sat Oct 13, 2018 7:43 am
Forum: Networking and servers
Topic: wpa_cli gets stuck - no access to wpa_supplicant until reboot
Replies: 7
Views: 214

Re: wpa_cli gets stuck - no access to wpa_supplicant until reboot

Please, try "man wpa_supplicant" and read the docs at https://w1.fi if you want authoritative information. (Maybe option -g could help) Why do I have to (bother) to use wpa_supplicant if wpa_cli is "front end" for it? Not being smart a.. but applying similar logic - I should not use wpa_gui as " re...
by DougieLawson
Sat Oct 13, 2018 7:40 am
Forum: Raspbian
Topic: [Unofficial announcement] Raspbian - October 2018 version
Replies: 17
Views: 1004

Re: [Unofficial announcement] Raspbian - October 2018 version

Am I allowed to say that (is rain actually right anywhere outside the UK)? ;) I'm in the Pacific Northwest USA, so it should be okay. :lol: Our next door neighbours get more of it on their small green, very wet island. We're getting lots with Atlantic storm Callum blowing a hoolie and dumping a loa...
by DougieLawson
Sat Oct 13, 2018 7:33 am
Forum: General discussion
Topic: Pi Zero - WiFi test box (USB Or Serial pins?)
Replies: 2
Views: 77

Re: Pi Zero - WiFi test box (USB Or Serial pins?)

The USB hub and serial console are not directly connected to the WiFi hardware in any way.
by DougieLawson
Sat Oct 13, 2018 1:31 am
Forum: General discussion
Topic: How to change Ctrl-Alt-Del to shutdown
Replies: 13
Views: 338

Re: How to change Ctrl-Alt-Del to shutdown

Andyroo wrote:
Sat Oct 13, 2018 1:19 am
/etc/inittab is the file that controls this.

Have a look at this article http://www.ducea.com/2006/06/20/how-to- ... ux-system/ for more info.
FTFY, you're welcome.

systemd removed /etc/inittab. That's been gone since Jessie launched.

Go to advanced search