Go to advanced search

by DougieLawson
Sat Jan 19, 2019 9:15 pm
Forum: Compute Module
Topic: Using Raspberry Pi MAC addresses for commercial products based on Compute Module?
Replies: 2
Views: 46

Re: Using Raspberry Pi MAC addresses for commercial products based on Compute Module?

The mac address is not secure. You can easily spoof it. There's also only 24-bits of uniqueness. First 24-bits are fixed. We've seen address wrap-around as there are already more than 16million pis out there in the wild and with a random assignment wrap-around occurred before the 16million were sold...
by DougieLawson
Sat Jan 19, 2019 5:19 pm
Forum: Troubleshooting
Topic: Unable to login to wifi (wlan0: Not associated)
Replies: 17
Views: 198

Re: Unable to login to wifi (wlan0: Not associated)

Yes. The taskbar widget works with WPA or WPA2.

You will also gain a level of security that is two orders of magnitude better than WEP.

It will be painful as every device has to re-signin to your network.
by DougieLawson
Sat Jan 19, 2019 4:31 pm
Forum: Troubleshooting
Topic: Unable to login to wifi (wlan0: Not associated)
Replies: 17
Views: 198

Re: Unable to login to wifi (wlan0: Not associated)

Stop using WEP. It is no more secure than a network with no security at all.
by DougieLawson
Sat Jan 19, 2019 2:01 pm
Forum: Troubleshooting
Topic: Unable to login to wifi (wlan0: Not associated)
Replies: 17
Views: 198

Re: Unable to login to wifi (wlan0: Not associated)

You need to enclose SSID & password in quotes (inverted commas is a quaint old English term, not used in computing).

It's quotes " or apostrophes ' or back-ticks ` in computing.
Just like it's braces {}, brackets [] and parentheses () [aka left banana, right banana].
by DougieLawson
Sat Jan 19, 2019 1:33 pm
Forum: Troubleshooting
Topic: Unable to login to wifi (wlan0: Not associated)
Replies: 17
Views: 198

Re: Unable to login to wifi (wlan0: Not associated)

You need

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
        ssid="wifiSSID_goes_here"
        psk="password_goes_here"
}
Nothing more, nothing less. Change "country=GB" to your local value.
by DougieLawson
Sat Jan 19, 2019 10:53 am
Forum: Troubleshooting
Topic: Unable to login to wifi (wlan0: Not associated)
Replies: 17
Views: 198

Re: Unable to login to wifi (wlan0: Not associated)

Is the access point using WPA or WPA2 security?
by DougieLawson
Sat Jan 19, 2019 9:16 am
Forum: Advanced users
Topic: config.txt file kernel reading procedure
Replies: 9
Views: 731

Re: config.txt file kernel reading procedure

1 No.
2 No.
3 No.

Go and start a new thread in https://www.raspberrypi.org/forums/viewforum.php?f=72 where folks are more likely to be able to tell you how to do that stuff.
by DougieLawson
Sat Jan 19, 2019 8:04 am
Forum: Networking and servers
Topic: Openvpn does not start
Replies: 3
Views: 69

Re: Openvpn does not start

If the config file is /etc/openvpn/qwerty.conf then get it active at boot time with

sudo systemctl enable [email protected]

Get it started now with

sudo systemctl start [email protected]
by DougieLawson
Fri Jan 18, 2019 10:29 pm
Forum: Troubleshooting
Topic: Script doesn't run in crontab, but runs in command line
Replies: 7
Views: 84

Re: Script doesn't run in crontab, but runs in command line

If your program needs the GUI start it from the autostart file.

/home/pi/.config/lxsession/LXDE-pi/autostart (or wherever it is on your system)
by DougieLawson
Fri Jan 18, 2019 10:27 pm
Forum: HATs and other add-ons
Topic: Geekworm Power Pack Pro V1.1 problem
Replies: 5
Views: 81

Re: Geekworm Power Pack Pro V1.1 problem

Try booting with Raspbian 2018-11-13 (which has support for 3B+ & 3A+ boards).
by DougieLawson
Fri Jan 18, 2019 10:24 pm
Forum: HATs and other add-ons
Topic: Geekworm Power Pack Pro V1.1 problem
Replies: 5
Views: 81

Re: Geekworm Power Pack Pro V1.1 problem

If you are constantly getting a low volt warning then the UPS board is obviously not able to maintain 5v while supplying the current required to power the pi3B+ FTFY, you're welcome. If you are constantly getting a low volt warning your software/kernel/bootcode on your SDCard is older than your Ras...
by DougieLawson
Fri Jan 18, 2019 10:21 pm
Forum: Troubleshooting
Topic: Raspbian Stretch - ifconfig wlan0 up not getting IP
Replies: 5
Views: 98

Re: Raspbian Stretch - ifconfig wlan0 up not getting IP

What security does your AP use? Is it WPA or WPA2? Is it old, insecure, deprecated WEP?
by DougieLawson
Fri Jan 18, 2019 8:59 pm
Forum: Raspbian
Topic: Rasperry: Button to press light switch
Replies: 2
Views: 39

Re: Rasperry: Button to press light switch

Controlling mains AC voltages with any device requires relevant electrical knowledge and training, which from the tone of your post I suspect you do not have. You don't have to touch the mains if you take the purely mechanical approach and build a switch flicker (using a low voltage servo). https:/...
by DougieLawson
Fri Jan 18, 2019 8:38 pm
Forum: Troubleshooting
Topic: Booting from ssd stops working when other usb drives are connected.
Replies: 4
Views: 69

Re: Booting from ssd stops working when other usb drives are connected.

Why not carve out a 42MB partition on each harddisk and clone /boot from the drive you want to have as root. Then whatever USB gets seen first by the bootloader will do the right thing. I'll be a PITA when the /boot stuff changes (when apt-get installs an update to raspberrypi-kernel). The /boot/cmd...
by DougieLawson
Fri Jan 18, 2019 7:45 pm
Forum: Raspbian
Topic: USB drive re-mounted ro due to errors
Replies: 8
Views: 120

Re: USB drive re-mounted ro due to errors

Try
sudo systemctl enable [email protected]

You'll find the "strange-stuff-goes-here" from ls /dev/disk/by-label/* use the full path name without the leading slash.

I can't tell from the docs whether sudo systemctl enable [email protected]/sda1 works or not.
by DougieLawson
Fri Jan 18, 2019 7:02 pm
Forum: General discussion
Topic: Tweeting Babbage problem
Replies: 7
Views: 128

Re: Tweeting Babbage problem

Try starting it from the autostart file ~/.config/lxsession/LXDE-pi/autostart

Code: Select all

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@/usr/bin/python3 /home/pi/babbage.py
by DougieLawson
Fri Jan 18, 2019 6:33 pm
Forum: Raspbian
Topic: USB drive re-mounted ro due to errors
Replies: 8
Views: 120

Re: USB drive re-mounted ro due to errors

If your drive is always plugged into your RPi then why is it formatted as VFAT. Make it EXT4 and you'll gain two things: 1. unix style file security (no uid, gid, dmask or umask junk needed in fstab) & 2. a journalling filesystem that's less likely to need a forced fsck.
by DougieLawson
Fri Jan 18, 2019 5:04 pm
Forum: Automation, sensing and robotics
Topic: Controlling relays with temperature sensor
Replies: 12
Views: 1203

Re: Controlling relays with temperature sensor

You may have a long wait for an answer TheScrawler hasn't been on the forum since Tue 13 Mar 2018, 02:57.
by DougieLawson
Fri Jan 18, 2019 5:00 pm
Forum: General discussion
Topic: Obfuscation thread
Replies: 34
Views: 3773

Re: Obfuscation thread

I don't know but, you really think having multiple posts talking about the same subject is better ? Answer. Honestly. Yes. Because the Wheezy threads are useless. The Jessie threads are borderline useless. This year the Stretch threads will start to be borderline useless as we move to Buster. Thing...
by DougieLawson
Fri Jan 18, 2019 4:42 pm
Forum: General discussion
Topic: Tweeting Babbage problem
Replies: 7
Views: 128

Re: Tweeting Babbage problem

Only one program can use the camera at a time. It's not a shared resource.
by DougieLawson
Fri Jan 18, 2019 12:41 pm
Forum: General discussion
Topic: Tweeting Babbage problem
Replies: 7
Views: 128

Re: Tweeting Babbage problem

Change your @reboot line to:

Code: Select all

@reboot python3 /home/pi/babbage.py 1> /home/pi/babbage.log 2> /home/pi/babbage.errors
that should give you a clue as to what's failing.
by DougieLawson
Fri Jan 18, 2019 12:39 pm
Forum: Raspbian
Topic: USB drive re-mounted ro due to errors
Replies: 8
Views: 120

Re: USB drive re-mounted ro due to errors

[ 6.290106] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
All of your problems stem from that error.

Go to advanced search