Go to advanced search

by DougieLawson
Sat Sep 23, 2017 9:10 am
Forum: Raspbian
Topic: Raspbian preinstall MicroSD card
Replies: 2
Views: 51

Re: Raspbian preinstall MicroSD card

You MUST purge Oracle Java (you can use Open Java for any of your code) or you WILL be liable to pay a licence to Oracle for every machine you supply. The licence for Wolfram doesn't allow commercial use and it's using 500MB of SD space - so it needs to go. Get rid of NOOBS, use plain Raspbian as NO...
by DougieLawson
Sat Sep 23, 2017 8:36 am
Forum: Troubleshooting
Topic: Pi Zero with DS18B20 Temperature Probe
Replies: 6
Views: 1020

Re: Pi Zero with DS18B20 Temperature Probe

I just got this working on a pi zero. I used pi bakery to setup my zero with wifi connection and apache. Then I followed the adafruit tutorial on this. https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/ds18b20 That tutorial needs updating. It has the correct dt...
by DougieLawson
Sat Sep 23, 2017 8:21 am
Forum: Camera board
Topic: Minimalist firm camera mount "on" CSI-2 connector of Pi Zero (W)
Replies: 5
Views: 176

Re: Minimalist firm camera mount "on" CSI-2 connector of Pi Zero (W)

You need to get your camera serviced, the focussing system on it is very badly broken. Nothing you've posted on here is in focus.
by DougieLawson
Sat Sep 23, 2017 8:07 am
Forum: Networking and servers
Topic: Network booting Pi 3 from my DHCP server
Replies: 2
Views: 107

Re: Network booting Pi 3 from my DHCP server

rpdom wrote:
Thu Sep 21, 2017 5:31 am
Perhaps it would help if you told us what DHCP server software you are using?
The normal way to do this is to run dnsmasq as the dhcp server.

viewtopic.php?p=1084100#p1084100
by DougieLawson
Sat Sep 23, 2017 8:04 am
Forum: General discussion
Topic: RPI is not intended for serious projects because of its unreliability
Replies: 20
Views: 787

Re: RPI is not intended for serious projects because of its unreliability

I had a B or B+ with a bad SD card socket, and the micro USB connectors make me cringe. Other than that I'm up to 3 Pi 3Bs and 2 Zeros with no problem. I'm seeing uptimes of 29 and 37 days. on my Pis. pi@ranger ~ $ uprecords # Uptime | System Boot up ----------------------------+-------------------...
by DougieLawson
Sat Sep 23, 2017 7:45 am
Forum: Weather station
Topic: weather station set-up
Replies: 13
Views: 974

Re: weather station set-up

You don't have the python-mysqldb or python3-mysqldb module installed.
by DougieLawson
Fri Sep 22, 2017 6:41 am
Forum: Troubleshooting
Topic: pi touchscreen stops responding to touch
Replies: 2
Views: 72

Re: pi touchscreen stops responding to touch

Start by powering off and reseating the ribbon cable both ends.

If that doesn't fix it replace the cable.

If that doesn't fix it replace the screen.
by DougieLawson
Fri Sep 22, 2017 6:36 am
Forum: General discussion
Topic: Pi in hot attic a fire risk?
Replies: 25
Views: 834

Re: Pi in hot attic a fire risk?

This thread seems to miss a point that there's not enough heat to cause ignition.

I don't think ESA & NASA would have allowed two raspberries on the ISS without testing that they weren't hazardous in any way during normal use.

Fire on the ISS is way more critical than in your attic.
by DougieLawson
Thu Sep 21, 2017 5:36 pm
Forum: General discussion
Topic: Disable WiFi
Replies: 6
Views: 676

Re: Disable WiFi

That doesn't work. There's no lines for WiFi on any of my systems.

Remove the credentials from the supplicant config and it won't connect.

Add the line in /boot/config.txt and you can disable it that way.

Code: Select all

dtoverlay=pi3-disable-wifi
by DougieLawson
Wed Sep 20, 2017 8:44 pm
Forum: Scratch
Topic: Scratch Project - Morse Code
Replies: 5
Views: 151

Re: Scratch Project - Morse Code

Https://github.com
for a single *.sb file https://gist.github.com may be the best place.
by DougieLawson
Wed Sep 20, 2017 8:41 pm
Forum: Beginners
Topic: HDD not showing up
Replies: 20
Views: 454

Re: HDD not showing up

You need a better power supply.
by DougieLawson
Wed Sep 20, 2017 1:06 pm
Forum: Troubleshooting
Topic: Network Interface Issue - DHCP
Replies: 56
Views: 1004

Re: Network Interface Issue - DHCP

Any ideas? Have you checked on which order dhcp C d and dhcpd are starting? If dhcpd starts before dhcp C d then at that point the system won't have an IP address. If the system is using the systemd init you'll likely need to define a dependency for dhcpd.service with a wants dhcp C d. It's not dif...
by DougieLawson
Wed Sep 20, 2017 12:52 pm
Forum: Beginners
Topic: Trouble trying to get this to work PIA openvpn
Replies: 1
Views: 48

Re: Trouble trying to get this to work PIA openvpn

If the config is in /etc/openvpn/foobar.conf then start it with systemctl start openvpn@foobar, get it autostarted at boot time with systemctl enable openvpn@foobar.
by DougieLawson
Wed Sep 20, 2017 12:35 pm
Forum: Troubleshooting
Topic: Pi0W dead from overheating?
Replies: 7
Views: 231

Re: Pi0W dead from overheating?

That seems odd. As I posted in my update, I eventually was able to boot for long enough to install the OS. The CPU itself seems unaffected, just the wifi/bt chip. Other than extreme heat, the only other signs of the problem are the lack of wireless functionality, and hard rebooting when I swap from...
by DougieLawson
Wed Sep 20, 2017 12:29 pm
Forum: Troubleshooting
Topic: Network Interface Issue - DHCP
Replies: 56
Views: 1004

Re: Network Interface Issue - DHCP

SurferTim wrote:
Wed Sep 20, 2017 12:24 pm
Instead of going through all this, I think I'll stick to dnsmasq.
I think I said that two pages ago.
viewtopic.php?f=28&t=193458#p1212425
by DougieLawson
Wed Sep 20, 2017 12:21 pm
Forum: General discussion
Topic: MQTT - Configuring the Broker & overall configuration?
Replies: 4
Views: 158

Re: MQTT - Configuring the Broker & overall configuration?

Regarding the network topology what would you recommend for this application? Run one broker. All connected machines sub or pub to that as needed. You'll have to define your MQTT topic hierarchy, as it's your application. For my examples I'm going to have /automation/rooms/lounge/heater /automation...
by DougieLawson
Wed Sep 20, 2017 10:57 am
Forum: Networking and servers
Topic: Pi Zero W with 3G Usb Dongle as IP Proxy Server
Replies: 1
Views: 74

Re: Pi Zero W with 3G Usb Dongle as IP Proxy Server

Try this #!/usr/bin/python3 import socket testIP = "8.8.8.8" s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect((testIP, 0)) ipaddr = s.getsockname()[0] host = socket.gethostname() print ("IP:", ipaddr, " Host:", host) If you don't have internet access then change testIP = "8.8.8.8" to t...
by DougieLawson
Wed Sep 20, 2017 7:59 am
Forum: Troubleshooting
Topic: Pi0W dead from overheating?
Replies: 7
Views: 231

Re: Pi0W dead from overheating?

... the Pi did have a short circut on the USB otg port once ... There is the cause of your problem. If you short any GPIO pin (on a Zero the USB is directly connected to the BCM2835 processor plus USB runs at 5V) you can cause the transistors on the chip to latch-up. That causes damage that can eve...
by DougieLawson
Wed Sep 20, 2017 7:52 am
Forum: Beginners
Topic: Service to Safe Shutdown Headless Raspberry Pi Boards
Replies: 8
Views: 271

Re: Service to Safe Shutdown Headless Raspberry Pi Boards

2. Run rpi-update What does running rpi-update give you that isn't in the stock, standard, stable Raspbian Stretch kernel & bootcode? Why do folks persist in suggesting that rpi-update is needed to enable standard facilities. It installw the latest experimental kernel and untested experimental firm...
by DougieLawson
Tue Sep 19, 2017 11:46 pm
Forum: Beginners
Topic: phpBB can see MariaDB
Replies: 2
Views: 75

Re: phpBB can see MariaDB

PHP5 or PHP7?
MySQL 5.5 or 5.7 or Mariadb 10.0 or 10.1?

Have you installed the "php*-mysqlnd" package?
by DougieLawson
Tue Sep 19, 2017 11:44 pm
Forum: Troubleshooting
Topic: Drivers for TL-WN821N V5 kali linux
Replies: 1
Views: 46

Re: Drivers for TL-WN821N V5 kali linux

You should ask the question on https://forums.kali.org/forumdisplay.ph ... nux-Forums

Kali isn't supported on here. Raspbian is.
by DougieLawson
Tue Sep 19, 2017 10:35 pm
Forum: General discussion
Topic: SSH Security Warning - My Suggestion
Replies: 27
Views: 5075

Re: SSH Security Warning - My Suggestion

You're in the wrong place. /etc/sudoers.d/010_pi_nopasswd* is the file for the pi user.
by DougieLawson
Tue Sep 19, 2017 7:50 pm
Forum: General discussion
Topic: MQTT - Configuring the Broker & overall configuration?
Replies: 4
Views: 158

Re: MQTT - Configuring the Broker & overall configuration?

The broker doesn't have a name. The name is the host name for the machine that's running it on post 1883, 8883 & 9001. The network build depends on your router, your WiFi access point(s) and other network topology. The mosquitto broker is just another station running as a server on your network. [If...
by DougieLawson
Tue Sep 19, 2017 7:42 pm
Forum: Raspbian
Topic: 802.11s Meshpoint Missing
Replies: 5
Views: 207

Re: 802.11s Meshpoint Missing

I'm running the experimental kernel and bootcode (updated with sudo rpi-update ). pi@intrepid:~$ uname -a Linux intrepid 4.9.50-v7+ #1035 SMP Wed Sep 13 23:16:24 BST 2017 armv7l GNU/Linux pi@intrepid:~$ sudo modprobe configs pi@intrepid:~$ zcat /proc/config.gz | grep '80211_MESH' CONFIG_MAC80211_MES...

Go to advanced search