Go to advanced search

by DougieLawson
Mon Jul 15, 2019 7:15 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 12
Views: 523

Re: Forum editor centers text

That's got to be a feechur of your web browser.
I don't get that on Win10 with Google Chrome or Firefox.
by DougieLawson
Mon Jul 15, 2019 7:09 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 12
Views: 523

Re: Forum editor centers text

If you need a non-proportional font and tabs that don't get mushed to the left use [code] stuff goes here[/code] tags.

Like

Code: Select all

If you need a non-proportional
     font and tabs that don't get 
     mushed to the
left use [ code]stuff goes here[ /code] tags.
by DougieLawson
Mon Jul 15, 2019 7:05 pm
Forum: General discussion
Topic: Usefull / good programs to have on your Pi
Replies: 22
Views: 1027

Re: Usefull / good programs to have on your Pi

arduino (to program arduino) But not from the reposit0ries! The version there is completely outdated. Go to arduino.cc Take that one https://www.arduino.cc/download_handler.php Chose the LinuxARM32Bit version Have they fixed the missing ESP8266/Wemos/ESP12 pieces yet? The LinuxArm Arduino piece isn...
by DougieLawson
Mon Jul 15, 2019 6:58 pm
Forum: Automation, sensing and robotics
Topic: Arduino motor control from Pi 3B+
Replies: 11
Views: 341

Re: Arduino motor control from Pi 3B+

Could you elaborate on what that is? I've not come across it and was pretty fixed on using Bluetooth, because I'm not sure I will have internet at the location where my project setup will be You don't need the internet, your Raspberry can be a self contained WiFi AP and network router. https://www....
by DougieLawson
Mon Jul 15, 2019 6:13 pm
Forum: Troubleshooting
Topic: Chromium-browser not creating screenshot
Replies: 8
Views: 205

Re: Chromium-browser not creating screenshot

If you run the RealVNC server you can run scrot with

DISPLAY=:0 scrot ...

from a command line.
by DougieLawson
Mon Jul 15, 2019 5:59 pm
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 318

Re: ppp0 set route permanently

In if-up.d/ppp0 you'd put something like #!/bin/bash ip route del default via 10.111.100.1 dev wlan0 ip route add default via 10.64.64.64 dev ppp0 It's more than twenty years since I last used ppp0/pppd/serial/dial-up. You seem to have worked out the commands you need. In the if-pre-down.d/ppp0 scri...
by DougieLawson
Mon Jul 15, 2019 3:05 pm
Forum: Automation, sensing and robotics
Topic: Arduino motor control from Pi 3B+
Replies: 11
Views: 341

Re: Arduino motor control from Pi 3B+

WiFi with MQTT as the command and control system is an order of magnitude easier. Your Raspberry can be the WiFi access point for the whole set-up.
by DougieLawson
Mon Jul 15, 2019 3:02 pm
Forum: Python
Topic: How to set python 3.5 as a default language in raspberry pi 3?
Replies: 8
Views: 308

Re: How to set python 3.5 as a default language in raspberry pi 3?

If you positively understand that changing /usr/bin/python to run python3 may break your system, you can fiddle with the symbolic links in /usr/bin. [email protected] /tmp $ cd /usr/bin [email protected] /usr/bin $ ls -la python* lrwxrwxrwx 1 root root 9 Jan 24 2017 python -> python2.7 lrwxrwxrwx 1 root root 9 Jan ...
by DougieLawson
Mon Jul 15, 2019 2:47 pm
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 318

Re: ppp0 set route permanently

Write a bash ppp0 shell script in /etc/network/if-pre-up.d or /etc/network/if-up.d (for startup) and in /etc/network/if-down.d and /etc/network/if-post-down.d to add the stuff you need.
by DougieLawson
Mon Jul 15, 2019 2:44 pm
Forum: Automation, sensing and robotics
Topic: Arduino motor control from Pi 3B+
Replies: 11
Views: 341

Re: Arduino motor control from Pi 3B+

How are you getting bluetooth on your Arduino Uno. They don't have it without additional hardware. The Uno doesn't even have WiFi or any wireless on a bare board.
by DougieLawson
Mon Jul 15, 2019 2:07 pm
Forum: Astro Pi
Topic: Why does Astro Pi on the space station need six buttons?
Replies: 5
Views: 378

Re: Why does Astro Pi on the space station need six buttons?

https://www.raspberrypi.org/blog/astro-pi-flight-case/ https://www.nasa.gov/mission_pages/station/research/experiments/explorer/Investigation.html?#id=7534 Looks like two press buttons (labelled 'A' & 'B') - they're not on the schematic @ https://www.raspberrypi.org/documentation/hardware/sense-hat/...
by DougieLawson
Mon Jul 15, 2019 11:41 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 318

Re: ppp0 set route permanently

The stuff you'd like to use in /etc/network/interfaces
by DougieLawson
Mon Jul 15, 2019 10:42 am
Forum: General discussion
Topic: Exagear has disappeared
Replies: 4
Views: 294

Re: Exagear has disappeared

https://web.archive.org/web/20190227095221/http://forum.eltechs.com/viewtopic.php?f=4&t=1609& https://web.archive.org/web/20190227100644/http://eltechs.blob.core.windows.net/exagear-desktop-v-3-1/exagear-desktop-rpi3.tar.gz I like the conspiracy theory at the bottom of that thread that Microsoft may...
by DougieLawson
Mon Jul 15, 2019 10:24 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 318

Re: ppp0 set route permanently

miky94 wrote:
Sun Jul 14, 2019 7:39 pm


I tried to set auto ppp0 in /etc/network/interfaces
I tried to set metric in /etc/dhcpcd.conf

but none worked
how can I do that?
I'm on Raspbian Buster
Does it work if you create a /etc/network/interfaces.d/ppp0 file and add your stuff in there?
by DougieLawson
Mon Jul 15, 2019 9:57 am
Forum: Troubleshooting
Topic: Problem connecting the 7" display to rp4
Replies: 5
Views: 181

Re: Problem connecting the 7" display to rp4

So you only have the ribbon cable and power/GND attached to your screen. (You hadn't said you were an existing user of the screen and the newbies see the green/yellow wires in the box and assume they have to be connected to the I2C pins (only for RPi1B and RPI1A).) Do you know for sure that your RPi...
by DougieLawson
Mon Jul 15, 2019 9:51 am
Forum: Advanced users
Topic: Create an event when a client tries to connect to pi via wifi
Replies: 1
Views: 81

Re: Create an event when a client tries to connect to pi via wifi

Take a look at http://www.thekelleys.org.uk/dnsmasq/do ... -interface as DNSMASQ includes a DBus interface which gets a trigger when a new client connects.
by DougieLawson
Mon Jul 15, 2019 9:13 am
Forum: General discussion
Topic: Raspberry and electricity
Replies: 16
Views: 826

Re: Raspberry and electricity

The best story I have is the monthly dry [sic] run to test that the diesel generator starts and they can get the generator sync'd before the large batteries went flat. The production system outage after the grid went down was an empty diesel tank and total blackout when the batteries went flat a few...
by DougieLawson
Mon Jul 15, 2019 9:05 am
Forum: General discussion
Topic: Raspbian Buster on Raspbery Pi 3B+
Replies: 3
Views: 275

Re: Raspbian Buster on Raspbery Pi 3B+

Just a quick question. Have anyone tried Raspbian Buster on the Raspberry Pi 3 B+?! Will there is any performance increase compared to previous versions of Raspbian? Why not devise a way to measure it? Your definition of "performance increase" could be wildly different to mine due to the workload y...
by DougieLawson
Mon Jul 15, 2019 8:52 am
Forum: Troubleshooting
Topic: Error with NOOBS_v3_2_0.zip file with Etcher
Replies: 3
Views: 121

Re: Error with NOOBS_v3_2_0.zip file with Etcher

Etcher is used for writing image files and is therefore not used for NoobS: https://www.raspberrypi.org/downloads/noobs/ The Raspberry Pi Foundation website has all the information you need. This is another reason to ditch NOOBS for PINN. There's an Etcher ready version of PINN for the folks who re...
by DougieLawson
Sun Jul 14, 2019 10:52 pm
Forum: Troubleshooting
Topic: Problem connecting the 7" display to rp4
Replies: 5
Views: 181

Re: Problem connecting the 7" display to rp4

Pull off the green and yellow wires.
by DougieLawson
Sun Jul 14, 2019 10:46 pm
Forum: Troubleshooting
Topic: Cannot see mouse or keyboard
Replies: 1
Views: 68

Re: Cannot see mouse or keyboard

Use Balena Etcher to overwrite the non-working NOOBS card with a copy of plain Raspbian.
by DougieLawson
Sun Jul 14, 2019 10:01 pm
Forum: Advanced users
Topic: lighttpd fails on Buster
Replies: 7
Views: 308

Re: lighttpd fails on Buster

You can ignore that pid file problem it's informational only (a deprecation warning for something in Raspbian Bullseye in two year's time).

Next time set some debug logging in /etc/lighttpd/lighttpd.conf
https://redmine.lighttpd.net/projects/l ... gVariables
by DougieLawson
Sun Jul 14, 2019 7:08 pm
Forum: Troubleshooting
Topic: No internet on Pi hotspot.
Replies: 4
Views: 129

Re: No internet on Pi hotspot.

JMGraham wrote:
Sat Jul 13, 2019 12:39 pm
Here is the error:

Code: Select all

Warning: dhcp.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Your warning message gives you the exact command to enter to resolve it.
sudo systemctl daemon-reload

Go to advanced search