Go to advanced search

by DougieLawson
Fri Nov 24, 2017 12:39 pm
Forum: Raspbian
Topic: Multiple Pi 3's - wlan0's all have the same MAC address
Replies: 6
Views: 209

Re: Multiple Pi 3's - wlan0's all have the same MAC address

Try running
sudo rpi-update
to get latest bootcode and kernel.

If the problem persists we'll need to flag this to the RPF folks as they may have an engineering problem in a factory somewhere.
by DougieLawson
Fri Nov 24, 2017 12:33 pm
Forum: Troubleshooting
Topic: Problem with launching web browser on Pi Model B
Replies: 7
Views: 121

Re: Problem with launching web browser on Pi Model B

sora03 wrote:
Fri Nov 24, 2017 10:15 am
this may be irrelevant but you can try to use a text based browser like lynx,elinks or links.
It's 100% irrelevant for a "magic mirror" graphics project using a browser in kiosk mode.
by DougieLawson
Fri Nov 24, 2017 12:30 pm
Forum: Raspbian
Topic: STRECH and MQTT
Replies: 65
Views: 13655

Re: STRECH and MQTT

Have you tried aptitude or synaptic? Both of those APT installers have clever magic to attempt to resolve package conflicts.
by DougieLawson
Fri Nov 24, 2017 12:25 pm
Forum: Troubleshooting
Topic: External hard drive unmounts then remounts.
Replies: 9
Views: 207

Re: External hard drive unmounts then remounts.

The RPi has 1200mA to spread across 4 USB 2.0 interfaces. If you draw 500mA on four devices you may not have enough left for HDMI, WiFi, BT and the SoC on your Raspberry from a 2500mA supply (watch for the on-display under power lightning bolt). The power budget runs close to overdrawn. The USB 2.0 ...
by DougieLawson
Fri Nov 24, 2017 12:18 pm
Forum: General discussion
Topic: thoughts on prices and features for addons
Replies: 15
Views: 547

Re: thoughts on prices and features for addons

They are still well in the pre-computer past if you look at them. There is no integrated matrix system of teaching and very much still individual subjects. So absolutely nothing has changed in the 36 years 4 months since I left upper sixth form and started work at NatWest Bank. Well done all the va...
by DougieLawson
Fri Nov 24, 2017 8:22 am
Forum: Beginners
Topic: Move from a 4gb to 16gb SD-Card
Replies: 3
Views: 75

Re: Move from a 4gb to 16gb SD-Card

1. Use the GUI piclone program. That should just work. 2. Or build a fresh copy of Raspbian Stretch on the new SDCard, lift data and programs from the 4GB SDCard then store it away as a bootable backup for a few months.. Option 2 is better as it gives you the free benefit of a more modern version of...
by DougieLawson
Fri Nov 24, 2017 7:26 am
Forum: Troubleshooting
Topic: Problem with launching web browser on Pi Model B
Replies: 7
Views: 121

Re: Problem with launching web browser on Pi Model B

Look at stuff that's running on your small memory RPi? Do you need all of those services? Do you need things like the GUI clock widget (for example)? Everything that runs as a service has a memory footprint. Python with tkinter is a good way to get started building your own GUIs (although it's memor...
by DougieLawson
Fri Nov 24, 2017 6:36 am
Forum: General programming discussion
Topic: UI development
Replies: 1
Views: 56

Re: UI development

Look at MQTT (mosquitto or hivemq) as a command and control system. Get that working so a published MQTT message causes your IoT MQTT subscriber to perform some action. MQTT can then also used to return results to the originator. That gives you a standardised interface that can be driven from any GU...
by DougieLawson
Fri Nov 24, 2017 6:30 am
Forum: Other projects
Topic: Bluetooth Handsfree Car Kit
Replies: 4
Views: 137

Re: Bluetooth Handsfree Car Kit

Your Google-Fu is stronger than mine. Getting a company to fit replacement type-approved equipment to a car is probably better than trying to hack something that is not type-approved with a Raspberry that could result in an MOT failure. The UK and Europe's "road vehicles (construction and use)" regu...
by DougieLawson
Fri Nov 24, 2017 6:19 am
Forum: General discussion
Topic: Building Arcade Machine
Replies: 1
Views: 60

Re: Building Arcade Machine

Toss the SDCard, buy some [lots of] fresh ones as "Black Friday" bargains.
by DougieLawson
Fri Nov 24, 2017 6:16 am
Forum: General discussion
Topic: Servos controlled via arduino
Replies: 1
Views: 41

Re: Servos controlled via arduino

Use as an example sketch on your Arduino void setup() { while (!Serial); // wait for Serial on Leonardo/Zero, etc Serial.begin(9600); Serial.println("Arduino is alive"); } void loop() { strRead = Serial.readStringUntil('\r'); Serial.print("You entered: >"); Serial.print(strRead); Serial.println("<")...
by DougieLawson
Fri Nov 24, 2017 6:06 am
Forum: Beginners
Topic: is it possible to record tv tuner files on ntfs usb stick?
Replies: 3
Views: 112

Re: is it possible to record tv tuner files on ntfs usb stick?

If you install ntfs-3g then it's possible to mount a NTFS filesystem as read/write. Once it's mounted there's nothing to stop files being written to it by root or a user with the right permissions.

The legality or not of what you'd like to write on there is irrelevant.
by DougieLawson
Fri Nov 24, 2017 5:59 am
Forum: Other projects
Topic: Bluetooth Handsfree Car Kit
Replies: 4
Views: 137

Re: Bluetooth Handsfree Car Kit

If it's this Avalon48 https://www.ebay.co.uk/usr/avalon48 then they're about 3,500 miles too far from Lancashire to be of any use to Mr. RDS.
by DougieLawson
Fri Nov 24, 2017 5:57 am
Forum: Beginners
Topic: Synchronizing Files beween Raspberry and QNAP in the same network
Replies: 2
Views: 49

Re: Synchronizing Files beween Raspberry and QNAP in the same network

Does your QNAP support network file system (NFS)?

If it does then mounting an NFS share on your Raspbian system gives you the ability to write the the NAS as though it's a local filesystem. No sftp or other process needed.

The weather station software can simply write directly to the NAS.
by DougieLawson
Fri Nov 24, 2017 5:52 am
Forum: Raspbian
Topic: Eject/dismount a USB with code on a Pi
Replies: 5
Views: 154

Re: Eject/dismount a USB with code on a Pi

Depending on what your flash drive is seen as you can do something like: cmd = "sudo umount /dev/sdb1" os.system(cmd) If you are running it as the pi user it doesn't ask for your password The mount and umount commands have the suid bit, so anyone can run it without sudo (as long as they're umount'i...
by DougieLawson
Fri Nov 24, 2017 5:42 am
Forum: Beginners
Topic: How do give permission to chromium to access /tmp folder?
Replies: 5
Views: 214

Re: How do give permission to chromium to access /tmp folder?

Everybody can write to /tmp. Only root or the owner/group of a file can read. Only root or the owner/group can delete.

That's because the directory has a special flag the "sticky bit".

sudo chmod 1777 /tmp repairs the directory if you've mucked it up.
by DougieLawson
Fri Nov 24, 2017 5:39 am
Forum: Troubleshooting
Topic: Problem connecting to WiFI with Cluster of APs using same SSID
Replies: 1
Views: 24

Re: Problem connecting to WiFI with Cluster of APs using same SSID

In your wpa_supplicant.conf file you can add bssid with the MAC address of the access point. You can add priority so that it favours one AP over another. country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="AN.OTHER.Network" priority=80 psk=dc2d696bb15a1...
by DougieLawson
Fri Nov 24, 2017 5:22 am
Forum: Troubleshooting
Topic: Can't share internet with pi via ethernet
Replies: 1
Views: 32

Re: Can't share internet with pi via ethernet

Read https://www.raspberrypi.org/documentati ... s-point.md what you want is in part 2 of that document.
by DougieLawson
Fri Nov 24, 2017 5:21 am
Forum: Recommended peripherals
Topic: Touchscreen
Replies: 2
Views: 83

Re: Touchscreen

Can anyone recommend me a touchscreen that is 7" big, that uses capacitive touch and that doesn't use GPIO pins or disable SPI. Also, it needs to about £35 or under. Is there such a screen or will I be forced to spend big on the Official touchscreen. Can't get it at your budget price, but for £53.9...
by DougieLawson
Fri Nov 24, 2017 5:15 am
Forum: Troubleshooting
Topic: Problem with launching web browser on Pi Model B
Replies: 7
Views: 121

Re: Problem with launching web browser on Pi Model B

How to speed up browser? How much memory does your ancient model B have? Originals RPi1Bs were 256MB. Later model RPi1Bs were 512MB. https://github.com/pimoroni/RPi.version/blob/master/RPi/version.py Lack of memory means it's not possible to run any web browser other than Midori (and even that is h...
by DougieLawson
Thu Nov 23, 2017 12:42 pm
Forum: Beginners
Topic: USB hard drive
Replies: 7
Views: 193

Re: USB hard drive

I never use it myself. Try reading the webpage: https://wiki.lxde.org/en/PCManFM
by DougieLawson
Thu Nov 23, 2017 8:27 am
Forum: Python
Topic: Piface python not working anymore
Replies: 19
Views: 447

Re: Piface python not working anymore

Pick the piece of piface that's not working. Head to https://github.com/piface and report an issue against the broken code.
by DougieLawson
Thu Nov 23, 2017 8:23 am
Forum: Advanced users
Topic: In Stretch avahi-deamon concludes interface eth0.IPv4 no longer relevant
Replies: 1
Views: 56

Re: In Stretch avahi-deamon concludes interface eth0.IPv4 no longer relevant

If you can't find a DHCP server run your own on your RPi. It's trivial with dsnmasq and dhcpcd. /etc/dhcpcd.conf hostname clientid persistent option rapid_commit option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes option ntp_servers require dhcp_server_id...

Go to advanced search