Go to advanced search

by Milliways
Sun Dec 16, 2018 8:04 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2312
Views: 106779

Re: Why Avoid BASIC on RPi?

I stumbled across this post and couldn't help myself. I wrote a B eginners A llpurpose S ymbolic I nstruction C ode interpreter in 1977. It was about the only high level language you could fit in a microprocessor in the pre-disc days. This ran in 6k of memory. Even then I regarded it as a poor langu...
by Milliways
Sun Dec 16, 2018 5:23 am
Forum: Raspbian
Topic: Theme & Appearance Settings broken
Replies: 8
Views: 1129

Theme & Appearance Settings broken

I updated an older SD Card (from April) to latest, and as it used to this clobbered all my desktop customisations. I used to routinely put these back (particularly put the Open/Minimise/Close buttons back on the left). I always had to hunt through the menu to find where these were hidden, but I was ...
by Milliways
Fri Dec 14, 2018 3:20 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

There are only 3 changes needed to fix gpio diff -Z wiringPi/gpio/readall.c /mnt/remotePi/wiringPi/gpio/readall.c 310,311d309 < else if (model == PI_MODEL_3A) < printf (" +-----+-----+---------+------+---+---Pi 3A+-+---+------+---------+-----+-----+\n") ; 357c355 < (model == PI_MODEL_3) || (model ==...
by Milliways
Wed Dec 12, 2018 4:52 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

... I tried gpio which seems to be out of date I've been testing some of my 'C' demo code** with a Pi3A+ and, as I suspected, the readall option of the gpio command/program does need updating (something that's had to be done for most "new" Pi's). AIUI an update is in the pipeline - meanwhile, if yo...
by Milliways
Wed Dec 12, 2018 12:00 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

As a matter of interest what does the following report? sudo pigpiod pigs hwver for ((i=0;i<32;i++)) ; do pigs r $i; done hwver on Pi3A+ is 9445600 (this would be friendlier if printed in HEX). The output of the ports list is normal - BCM 29 differs between Pi3 and Pi3A+ (not sure what BCM 29 does)...
by Milliways
Tue Dec 11, 2018 10:46 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

Isn't that a wiringpi problem? Seeing as gpio is included in Raspbian (and widely referenced) it is indicative of a regression testing failure. It's part of wiringPi and AFAICT it needs updating for the 3A+ It's up to the maintainer of that package to update it for the new board Nothing to do with ...
by Milliways
Tue Dec 11, 2018 10:22 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

DirkS wrote:
Tue Dec 11, 2018 10:11 am
Milliways wrote:
Tue Dec 11, 2018 9:57 am
DirkS wrote:
Tue Dec 11, 2018 9:45 am

What do you mean by that?
gpio readall
Oops - unable to determine board type... model: 14
Isn't that a wiringpi problem?
Seeing as gpio is included in Raspbian (and widely referenced) it is indicative of a regression testing failure.
by Milliways
Tue Dec 11, 2018 9:57 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Re: Missing gpio

DirkS wrote:
Tue Dec 11, 2018 9:45 am
Milliways wrote:
Tue Dec 11, 2018 9:33 am
I tried gpio which seems to be out of date
What do you mean by that?
gpio readall
Oops - unable to determine board type... model: 14
by Milliways
Tue Dec 11, 2018 9:33 am
Forum: Raspbian
Topic: Missing gpio
Replies: 15
Views: 819

Missing gpio

Just got a Pi3A+ and updated Raspbian.

There does not seem to be a new .dtb

I tried gpio which seems to be out of date
by Milliways
Fri Nov 30, 2018 3:20 am
Forum: Raspbian
Topic: Error on Foundation Website NGINX
Replies: 1
Views: 408

Error on Foundation Website NGINX

I was just looking at https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md and noticed this still has references to PHP5 This should be updated as Stretch installs PHP7 It appears to be a documentation problem -if you follow the instructions (edit the files - but ignore change...
by Milliways
Tue Nov 13, 2018 7:48 am
Forum: Raspbian
Topic: Set static IP for only a network
Replies: 2
Views: 631

Re: Set static IP for only a network

dhcpcd can configure interfaces dependent on the host network. This uses the Address Resolution Protocol (ARP) to probe hosts based on MAC or IP address before attempting DHCP resolution.

Read the dhcpcd.conf man page for detail of arping and example
by Milliways
Sat Nov 10, 2018 10:55 pm
Forum: Raspbian
Topic: Duplicate an image using Win32DiskImager doesn't work
Replies: 13
Views: 1194

Re: Duplicate an image using Win32DiskImager doesn't work

Concerning wear optimization: Which one method cloning an SD card is best, concerning erase block sizes: The rpiclone or the diskimager way? Is there any optimization at all? It will make little difference. Imaging programs transfer blocks, the optimum would be blocks of 4M (Erase Block Size) - but...
by Milliways
Sat Nov 10, 2018 6:25 am
Forum: Raspbian
Topic: Duplicate an image using Win32DiskImager doesn't work
Replies: 13
Views: 1194

Re: Duplicate an image using Win32DiskImager doesn't work

All the comments which state SD Cards may differ by a few kb are WRONG.

SD Cards (even of the same nominal size) may differ but will ALWAYS differ by some multiple of the Erase Block Size (usually 4MB).
by Milliways
Tue Nov 06, 2018 12:40 am
Forum: General discussion
Topic: Renaming of 'pi' to 'pi-newname' and proposed changes to /etc files - as my added 'user':
Replies: 14
Views: 818

Re: Renaming of 'pi' to 'pi-newname' and proposed changes to /etc files - as my added 'user':

HawaiianPi/Milliways: Milliways: Thanks for the information which I do not understand - too many cautionary remarks about root, and I do not want to compound problem - just unlock pi which the manual specifies can be done. HawaiianPi: For completeness, I also tried without success the following - w...
by Milliways
Mon Nov 05, 2018 11:14 pm
Forum: General discussion
Topic: Renaming of 'pi' to 'pi-newname' and proposed changes to /etc files - as my added 'user':
Replies: 14
Views: 818

Re: Renaming of 'pi' to 'pi-newname' and proposed changes to /etc files - as my added 'user':

If you have "locked" pi this just mangles the password.

You should (as root) be able to set a new password for user pi.
by Milliways
Mon Oct 15, 2018 12:06 am
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 3097

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 Milliways
Sat Oct 13, 2018 4:05 am
Forum: Arch
Topic: [SOLVED] How to run GUI in Arch
Replies: 1
Views: 9560

[SOLVED] How to run GUI in Arch

I downloaded the following https://extonlinux.wordpress.com/2018/0 ... n-windows/ and have Arch running OK. I have created a new user (and added to group wheel) and tried to run startx but this returns almost immediately with ~20 lines of output but no error that I can see. The GUI runs from the roo...
by Milliways
Fri Oct 12, 2018 9:39 am
Forum: Arch
Topic: How to login to Arch
Replies: 3
Views: 9556

Re: How to login to Arch

To confirm, with documentation, what @DirkS suggests - From http://raspex.exton.se/?p=859 (which you can find by using the Read More... link at the foot of the blog page you have cited) - Login and passwords Login as root with password root. Run the command startx to enter the LXDE Desktop. Thanks....
by Milliways
Fri Oct 12, 2018 5:44 am
Forum: Arch
Topic: How to login to Arch
Replies: 3
Views: 9556

How to login to Arch

I decided to give Arch a try and after reading discouraging posts about Pi3B+ support from the Arch site, downloaded the following https://extonlinux.wordpress.com/2018/04/02/rasparch-build-180402-run-arch-linux-on-your-new-raspberry-pi-3-model-b-computer-install-using-win32-disk-imager-in-windows/ ...
by Milliways
Mon Sep 24, 2018 8:49 am
Forum: Other projects
Topic: Pi Powered Doorbell
Replies: 4
Views: 920

Re: Pi Powered Doorbell

You COULD, but the Pi seems a poor choice. You don't need much processing power and the Pi is a current hog. ~40years ago I collaborated on a doorbell design (based on SC/MP micro) which plays 4 different tunes for different buttons. This runs for over 12 months on a 6V lantern battery and is still ...
by Milliways
Sat Sep 08, 2018 8:50 am
Forum: Raspbian
Topic: How to use dtoverlay=dht11
Replies: 3
Views: 545

How to use dtoverlay=dht11

There seems to be support for DHT11/DHT21/DHT22 humidity/temperature sensors - but I can find no examples of how to use this. Name: dht11 Info: Overlay for the DHT11/DHT21/DHT22 humidity/temperature sensors Also sometimes found with the part number(s) AM230x. Load: dtoverlay=dht11,<param>=<val> Para...
by Milliways
Fri Jul 13, 2018 7:52 am
Forum: Raspbian
Topic: How do I set default web browser?
Replies: 3
Views: 2605

Solved: How do I set default web browser?

mikerr wrote:
Fri Jul 13, 2018 7:32 am

Code: Select all

update-alternatives --config "chromium-browser"

Code: Select all

sudo update-alternatives --config x-www-browser
actually works (as a global default)
by Milliways
Fri Jul 13, 2018 6:35 am
Forum: Raspbian
Topic: How do I set default web browser?
Replies: 3
Views: 2605

How do I set default web browser?

I had a working Pi image to which I added some new users (for my grandsons). I have an Application Launch Bar which includes an globe icon for Web Browser - clicking this brings up Vivaldi, which I installed when it was released, although I don't recall setting Vivaldi to start with this. This comes...
by Milliways
Sun Jul 08, 2018 5:51 am
Forum: Raspbian
Topic: Raspberry Pi Configuration does not work over VNC
Replies: 2
Views: 329

Re: Raspberry Pi Configuration does not work over VNC

LTolledo wrote:
Sun Jul 08, 2018 5:46 am
In RealVNC it works...
Cant comment on TightVNC because I ditched it ages ago....
Provided you don't mind closed source proprietary software - which won't interwork with most implementations of VNC - I prefer open source.

NOTE it USED to work!
by Milliways
Sun Jul 08, 2018 1:47 am
Forum: Raspbian
Topic: Raspberry Pi Configuration does not work over VNC
Replies: 2
Views: 329

Raspberry Pi Configuration does not work over VNC

I updated my Raspbian with the latest https://www.raspberrypi.org/blog/raspbi ... june-2018/ and installed rp-prefapps.

This works OK on a monitor, but I tried on a VNC connection (I use tightvnc) and neither this or the Raspberry Pi Configuration work. The attempt just seems to be ignored.

Go to advanced search