Go to advanced search

by DougieLawson
Tue Apr 24, 2018 8:22 am
Forum: General discussion
Topic: Enable Predictable names
Replies: 6
Views: 101

Re: Enable Predictable names

The predictable names stuff is in Jessie but it was disabled. I'm not sure if the latest Stretch version of raspi-config (which would need manual installation on Jessie) would work to activate it on there.

The simple answer is nobody should be using Jessie now, she's been retired for six months.
by DougieLawson
Tue Apr 24, 2018 8:03 am
Forum: General discussion
Topic: Conditional config.txt
Replies: 4
Views: 101

Re: Conditional config.txt

RaTTuS wrote:
Tue Apr 24, 2018 7:52 am
or for temp stuff use
the serial number stuff .... i.e.
[0x12345678]
I use that for all fifteen Raspberries. It means I can boot any Raspberry from any SDCard with my unified config.txt.
by DougieLawson
Tue Apr 24, 2018 8:02 am
Forum: General discussion
Topic: Enable Predictable names
Replies: 6
Views: 101

Re: Enable Predictable names

You have an old operating system. Upgrade to Stretch.
by DougieLawson
Tue Apr 24, 2018 7:57 am
Forum: General discussion
Topic: Industrial Reliability for 24/7 Use
Replies: 23
Views: 592

Re: Industrial Reliability for 24/7 Use

Certainly the SD card is a worry. But my approach to that is to make them read only such that no inadvertent file system corruption can happen and there is no worrying about wearing them out. Any data that needs saving can be on an attached USB stick, or better yet kept off the Pi and accessed over...
by DougieLawson
Tue Apr 24, 2018 7:52 am
Forum: General discussion
Topic: Enable Predictable names
Replies: 6
Views: 101

Re: Enable Predictable names

sudo raspi-config choose "2 Network Options" from the main menu then "N3 Network interface names" from the sub-menu and that will enable predictable names on the next reboot. I've been using predictable names since it was introduced. I have fifteen Raspberries that use a copy of the same dhcpcd.conf...
by DougieLawson
Tue Apr 24, 2018 7:46 am
Forum: Troubleshooting
Topic: Official touchscreen is upside down.
Replies: 3
Views: 51

Re: Official touchscreen is upside down.

Are you using NOOBS?
If you are then use the NOOBS recovery system (beat the [SHIFT] key to death during boot to activate it) to find the correct /boot/config.txt and edit it.
by DougieLawson
Tue Apr 24, 2018 7:39 am
Forum: Beginners
Topic: make pi web radio
Replies: 1
Views: 29

Re: make pi web radio

by DougieLawson
Tue Apr 24, 2018 7:36 am
Forum: Troubleshooting
Topic: Official touchscreen is upside down.
Replies: 3
Views: 51

Re: Official touchscreen is upside down.

Add

Code: Select all

lcd_rotate=2
to /boot/config.txt and reboot.
by DougieLawson
Tue Apr 24, 2018 7:27 am
Forum: General discussion
Topic: Conditional config.txt
Replies: 4
Views: 101

Re: Conditional config.txt

I'm fairly sure James Hughes (JamesH on here) from RP(T)Ltd said there was some support for conditional stanzas in /boot/config.txt for the RPi3B+ but I can't find it (Google wasn't being my friend today). The master copy of the documentation is at: https://github.com/raspberrypi/documentation/blob/...
by DougieLawson
Mon Apr 23, 2018 4:50 pm
Forum: Beginners
Topic: RPI GSM ADD ON V1
Replies: 4
Views: 71

Re: RPI GSM ADD ON V1

This: https://www.itead.cc/wiki/RASPBERRY_PI_ ... PRS_ADD-ON looks like a starting point. [Note it has an expired HTTPS certificate so your browser will complain.]
by DougieLawson
Mon Apr 23, 2018 3:28 pm
Forum: General discussion
Topic: raspberry pi unable to ping
Replies: 1
Views: 57

Re: raspberry pi unable to ping

dxb wrote:
Mon Apr 23, 2018 9:53 am

The networking team have changed a switch from place and ...
The only folks who can help you are your "notworking team".
by DougieLawson
Mon Apr 23, 2018 3:19 pm
Forum: Raspbian
Topic: Pi Not Booting Properly :(
Replies: 3
Views: 120

Re: Pi Not Booting Properly :(

You won't lose anything if you follow my simple instructions. You'll just be able to disable the stuff that runs at boot time.
by DougieLawson
Mon Apr 23, 2018 8:29 am
Forum: AIY Projects
Topic: Unable to start AIY at boot
Replies: 15
Views: 420

Re: Unable to start AIY at boot

Have you tried starting it from the LXDE autostart list?

Add

Code: Select all

@/usr/bin/python3 /home/pi/AIY-projects-python/src/examples/voice/assistant_library_demo.py
to /home/pi/.config/lxsession/LXDE-pi/autostart
by DougieLawson
Sun Apr 22, 2018 8:51 pm
Forum: General discussion
Topic: Help needed [with my homework]
Replies: 20
Views: 489

Re: Help needed

Looks like a homework question.
by DougieLawson
Sun Apr 22, 2018 8:49 pm
Forum: Troubleshooting
Topic: Pi 3 B+ Won't pull distro list
Replies: 5
Views: 133

Re: Pi 3 B+ Won't pull distro list

Is that NOOBS lite 2.7 or 2.8? Or something earlier? Can you see whether your RPi3B+ has a connection by scanning your network or looking at your router's configuration pages? What are you trying to install with NOOBS? If it's ONLY plain Raspbian and not for multi-booting lots of OSes then forget it...
by DougieLawson
Sun Apr 22, 2018 6:31 pm
Forum: Raspbian
Topic: Pi Not Booting Properly :(
Replies: 3
Views: 120

Re: Pi Not Booting Properly :(

Get another SDCard, a copy of Raspbian 2018-04-18, a copy of Etcher and a USB SDCard reader.

Write Raspbian to your new SDCard with Etcher, boot that in your RPi. Mount the borken card in the USB reader, mount the reader in your RPi. Fix the damage, shutdown, power off swap cards and run away happy.
by DougieLawson
Sun Apr 22, 2018 6:15 pm
Forum: C/C++
Topic: very simple serial port example?
Replies: 5
Views: 178

Re: very simple serial port example?

There's lots of faffing about to do it in C (69 lines in my sample to read stuff from an Arduino). #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <termios.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #define BAUDRATE B9600 #define MODEMD...
by DougieLawson
Sun Apr 22, 2018 5:04 pm
Forum: Beginners
Topic: Do you browse Facebook on your Pi ?
Replies: 9
Views: 176

Re: Do you browse Facebook on your Pi ?

W. H. Heydt wrote:
Sun Apr 22, 2018 4:10 pm
Short answer... No.

Slightly longer answer... I don't use Facebook at all. I don't even have an account on it.
Ditto. Best thing I did was cancelling my Faceborg assimilation and leaving that Borg collective.
by DougieLawson
Sun Apr 22, 2018 3:24 pm
Forum: General discussion
Topic: Power
Replies: 14
Views: 375

Re: Power

Roken wrote:
Sun Apr 22, 2018 3:22 pm
I'm not going to get involved with the political arguments, but if the posted power is insufficient for, e.g. 4 Pis, can I at least have suggestions for something that is, please?
4-way socket strip and four official supplies.

Multiply up as required.
by DougieLawson
Sun Apr 22, 2018 1:51 pm
Forum: General discussion
Topic: Older Pi OS
Replies: 3
Views: 160

Re: Older Pi OS

geppetto wrote:
Sun Apr 22, 2018 10:37 am
Is there a place to download the older Jessie and Wheezy images?
Why do you think you need those?
Remember they won't boot on any Raspberry Pi hardware that arrived after the date those historic images were built (eg. 3B+).
by DougieLawson
Sun Apr 22, 2018 1:31 pm
Forum: General discussion
Topic: Power
Replies: 14
Views: 375

Re: Power

Get the official supply, you won't be disappointed.

[moderated addition, and obviously use one supply per PI as usual.]
by DougieLawson
Sun Apr 22, 2018 8:31 am
Forum: Python
Topic: Thread behaviour in Idle and Thonny
Replies: 10
Views: 184

Re: Thread behaviour in Idle and Thonny

nios2 wrote:
Sun Apr 22, 2018 8:25 am
Sorry about the tags, it was my 1st post of code and I didn't realise until after it appeared un-indented. I should have read the sticky.
Can you edit your original post? There's an edit button ====================================== up there =========^^^^^ top right of your post.
by DougieLawson
Sun Apr 22, 2018 8:26 am
Forum: Troubleshooting
Topic: Pi Zero - ACT state after boot
Replies: 1
Views: 50

Re: Pi Zero - ACT state after boot

It depends whether you've overridden the action in /boot/config.txt. The default with a Zero is that the green LED is the [SDCard] activity LED. On my Zeros I've got dtparam=act_led_activelow=on Valid values are documented in /boot/overlays/README act_led_trigger Choose which activity the LED tracks...
by DougieLawson
Sun Apr 22, 2018 8:19 am
Forum: Python
Topic: Thread behaviour in Idle and Thonny
Replies: 10
Views: 184

Re: Thread behaviour in Idle and Thonny

If you're going to post python can you wrap it in [ code] ... your stuff goes here ... [/code] tags. That makes the difference between if code_tags != "USED": print ("formatting is lost") else: print ("python looks ok") and if code_tags != "USED": print ("formatting is lost") else: print ("python lo...
by DougieLawson
Sun Apr 22, 2018 8:11 am
Forum: Raspbian
Topic: Overwrite SD-card on a running system
Replies: 2
Views: 104

Re: Overwrite SD-card on a running system

You CAN NOT overwrite the mounted system. Your Raspberry WILL crash before the overwrite is complete.

Go to advanced search