Go to advanced search

by Andyroo
Mon Jul 15, 2019 6:35 pm
Forum: General discussion
Topic: Usefull / good programs to have on your Pi
Replies: 9
Views: 191

Re: Usefull / good programs to have on your Pi

scrot for screen shots
gparted for disk changes (though it normally live on my Lenovo laptop)
MQTT pub/sub client, paho-mqtt and my own IoT monitoring stack
pip3
SAMBA
ssh security keys
ufw firewall
tmux
arping

Midori is getting on more boxes but not on every GUI box yet
by Andyroo
Mon Jul 15, 2019 6:27 pm
Forum: Other projects
Topic: Assist In python and peewee setup
Replies: 1
Views: 22

Re: Assist In python and peewee setup

I've asked the mods to move this to the wanted.

Sorry I cannot help you.
by Andyroo
Mon Jul 15, 2019 6:23 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 10
Views: 108

Re: Forum editor centers text

Typical - just 'cause it did not work first time I try twice and it takes both BUT DOES NOT SHOW IT ON MY SCREEN! Anyway, back to the OP post - the issue does not seem to be in Safari unless the OS has an impact (possible as webkit is OS rather than Safari). Maybe a log out, clear cookies for the si...
by Andyroo
Mon Jul 15, 2019 6:21 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 10
Views: 108

Re: Forum editor centers text

I hate this layout !

But its working so I'm going back to pro-silver :lol:

No its not - well the text is correct but I cannot add attachments - very odd...

High ho pro-silver away (with these odd colours)
by Andyroo
Mon Jul 15, 2019 6:17 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 10
Views: 108

Re: Forum editor centers text

This is from Safari 12.1.1 on 10.12.6 (a bit behind :roll: ) using the RPi style and its fine.
Screenshot 2019-07-15 19.16.29.png
Screenshot 2019-07-15 19.16.29.png (33.46 KiB) Viewed 72 times
I'll post this and swap to raspberry_pi
by Andyroo
Mon Jul 15, 2019 6:10 pm
Forum: Astro Pi
Topic: Why does Astro Pi on the space station need six buttons?
Replies: 4
Views: 81

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

... Sense Hat has been on the market for years, and if I buy it recently, will it be replaced by a second generation product soon? No one knows - it is standard operating procedure that the future is never told till it arrives :lol: Mr Upton is allowed to break this rule a little but the engineers ...
by Andyroo
Mon Jul 15, 2019 5:53 pm
Forum: Graphics, sound and multimedia
Topic: How to send a sound signal through gpio pin to speaker?
Replies: 1
Views: 31

Re: How to send a sound signal through gpio pin to speaker?

You need to set up what is called pulse-width modulation (PWM for short) that triggers the speaker at a set frequency to make the sound. The GPIOZero module for Python has a specific function for this gpiozero.PWMOutputDevice that has no examples :lol: Note that trying this on an LED is safe but you...
by Andyroo
Mon Jul 15, 2019 5:46 pm
Forum: Troubleshooting
Topic: Raspbian version 10-07-2019 not booting properly, mounts memory card read only
Replies: 1
Views: 33

Re: Raspbian version 10-07-2019 not booting properly, mounts memory card read only

Reads almost like a duff card.

I would check its real and check:

1) The download SHA value matches the web value
2) The write is OK - I use Etcher and its inbuilt validation
by Andyroo
Mon Jul 15, 2019 5:41 pm
Forum: Advanced users
Topic: Need help recovering data from RAID array.
Replies: 3
Views: 87

Re: Need help recovering data from RAID array.

Send it to a pro recovery company - I've seen lots of lost data over the years from folk 'trying' to recover bits :cry:
by Andyroo
Mon Jul 15, 2019 5:39 pm
Forum: Python
Topic: How to set python 3.5 as a default language in raspberry pi 3?
Replies: 5
Views: 87

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

jahboater wrote:
Mon Jul 15, 2019 3:31 pm
I add a line to ~/.bashrc

alias python=python3

That means any system software that depends on python being python2 will still work.
Assuming:

1) You do not call it from your shell
2) Its set to use Python 2.x and not just Python surely :?: ? :?:
by Andyroo
Mon Jul 15, 2019 5:37 pm
Forum: Raspbian
Topic: Raspbian 'Buster' 2019-06-20 / 07-10
Replies: 100
Views: 11080

Re: Raspbian 'Buster' 2019-06-20 / 07-10

tigernero wrote:
Mon Jul 15, 2019 1:25 pm
more or less when the possibility of full boot via USB will be released? for pi4? will the otp dump memory value always be set?
Third one of these today. A quick search turns up https://www.raspberrypi.org/forums/view ... &p=1500356
by Andyroo
Mon Jul 15, 2019 5:34 pm
Forum: Troubleshooting
Topic: PI4 USB Boot
Replies: 5
Views: 472

Re: PI4 USB Boot

It's been fairly well publicised that USB and PXE boot are still under development. In the meantime, use an SD card for the first stage. Thanks for the update, do you happen to have some kind of timeline or maybe issue we can follow to know when we would be able to use USB boot? I was planning on m...
by Andyroo
Mon Jul 15, 2019 5:28 pm
Forum: Beginners
Topic: Sending data from iPhone to Raspberry Pi zero using bluetooth
Replies: 2
Views: 56

Re: Sending data from iPhone to Raspberry Pi zero using bluetooth

Welcome to the forum, Simplest way is to drop the Bluetooth part and create a web page that you browse to :D and use the inbuilt browser. The Apple eco-system is a walled garden and you do it their way or not at all (not talking Jailbreak on here). Interfacing out from the phone is very hard (USB de...
by Andyroo
Mon Jul 15, 2019 12:48 pm
Forum: General discussion
Topic: Raspbian Buster on Raspbery Pi 3B+
Replies: 3
Views: 193

Re: Raspbian Buster on Raspbery Pi 3B+

I thought that Chromium opened faster but PDF reading was worse.

Given 90% of my 3B+ use is command line personally I cannot see any real difference for what I do.

I’ve a few oddities still to sort with PDF creation but other than that I’ve not noticed any real differences in what I am doing.
by Andyroo
Mon Jul 15, 2019 12:40 pm
Forum: Troubleshooting
Topic: SSH Stop working : Network error connection refused
Replies: 5
Views: 118

Re: SSH Stop working : Network error connection refused

It may be worth check if the firewall is on in iptables or if the ssh server aborted.
by Andyroo
Mon Jul 15, 2019 1:03 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 120
Views: 2194

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

... ☞ Would you like to be a COBOL programmer? I heard you can make good money with it! Been there, done that and no wish to return to it :lol: Rates are not as high as they got up to as a significant amount of code has been converted but some very very large businesses still use it. England median...
by Andyroo
Mon Jul 15, 2019 12:50 am
Forum: General discussion
Topic: Raspberry and electricity
Replies: 16
Views: 759

Re: Raspberry and electricity

Auto restart is not always wise - if the battery size is small it’s possibly the UPS does not have enough charge to cope with a second power disruption and the server is just killed.

I’ve seen it happen in warehouses more than once :shock: :lol: :shock:
by Andyroo
Mon Jul 15, 2019 12:43 am
Forum: Troubleshooting
Topic: Tell Raspbian to use SD Card for /boot and USB for /
Replies: 9
Views: 187

Re: Tell Raspbian to use SD Card for /boot and USB for /

I assume by that then there are no locks on the file to stop an update and the card is mounted (or would you still need to do that in fstab?) Being paranoid, I would tie it in to the shutdown somehow so it’s ready at next boot :D It does not save me a great deal of work as I still have to use Etcher...
by Andyroo
Mon Jul 15, 2019 12:35 am
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 715
Views: 26639

Re: Project Digital Apocalypse Not Now

... Right. So what happened in 1976 that allowed the digital overlords to take over? Cray - 1 launched, CP/M came out, a little box by Apple :?: Got it - the Queen sent an email surrendering the world via Viking II on Mars to our new overlords - hold on someone’s at the doooooooooooo <transmitting ...
by Andyroo
Mon Jul 15, 2019 12:22 am
Forum: Beginners
Topic: Hardware. Buzzer speaker choice...
Replies: 2
Views: 80

Re: Hardware. Buzzer speaker choice...

If you use the passive buzzer you will have to feed a square wave to it to get any sound out whereas an active version of the same will just beep when triggered.

I’ve not tried the others but as above, I would just go for an LED - lots better at night as it does not wake the family :lol:
by Andyroo
Sun Jul 14, 2019 11:59 pm
Forum: Troubleshooting
Topic: Tell Raspbian to use SD Card for /boot and USB for /
Replies: 9
Views: 187

Re: Tell Raspbian to use SD Card for /boot and USB for /

I thought about putting only the bin file on the SD but then decided against it as if any updates come out you would have to manually copy the file over to the SD card as it’s not mounted anywhere. At least with all the /boot together on the card and mounted under /, any update will handle ALL the f...
by Andyroo
Sun Jul 14, 2019 11:51 pm
Forum: Advanced users
Topic: Unwanted leases on static wifi connection
Replies: 2
Views: 69

Re: Unwanted leases on static wifi connection

Any reason you are not using dhcpcd.conf for the static details? It’s simple enough to set up - I just added:

Code: Select all

interface eth0
static ip_address=192.168.1.10/24
static routers=192.168.1.254
static domain_name_servers=192.168.1.2
to the top - you can add IPv6 in here as well.
by Andyroo
Sun Jul 14, 2019 9:01 pm
Forum: AIY Projects
Topic: AIY Voice Compatible With 4 B?
Replies: 2
Views: 33

Re: AIY Voice Compatible With 4 B?

Welcome to the forum,

If you have used the software that came with the magazine or off Github then it will not work with the new Pi 4 machines - there is a request here for Buster and the last post states he got it working with these steps.

Please post back if you get stuck or get it working...
by Andyroo
Sun Jul 14, 2019 8:54 pm
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 182

Re: Can't get watchdog package to mail or log

paulv wrote:
Sun Jul 14, 2019 8:23 pm
...
I can't easily go back to a clean Stretch install because the downloads are gone.
...
All the old releases are to be found stored by date at http://downloads.raspberrypi.org/raspbian/images/

The last cut of Stretch is http://downloads.raspberrypi.org/raspbi ... 019-04-09/
by Andyroo
Sun Jul 14, 2019 8:50 pm
Forum: Networking and servers
Topic: Well that was a chore
Replies: 2
Views: 109

Re: Well that was a chore

Feel for you :o :cry:

I put my PiHole on a zero and do not touch it as I once found myself baffled why I could ping by IP and not name having taken the server down :oops:

Glad to read you've been able to get the precious pics back - printing had an advantage (well for 70 years or so).

Go to advanced search