Go to advanced search

by DougieLawson
Sat Aug 18, 2018 5:48 pm
Forum: General discussion
Topic: Ip resolves to local host
Replies: 5
Views: 92

Re: Ip resolves to local host

https://en.wikipedia.org/wiki/Private_network
https://en.wikipedia.org/wiki/Link-local_address

Your public address won't be in those address ranges. If your Wordpress site doesn't use a public internet address it won't work when a remote visitor tries to access it.
by DougieLawson
Sat Aug 18, 2018 3:14 pm
Forum: General discussion
Topic: Ip resolves to local host
Replies: 5
Views: 92

Re: Ip resolves to local host

You can't use 10.xxx.xxx.xxx/8 or 172.[16-31].xxx.xxx/16, 192.168.xxx.xxx/24 or 169.254.xxx.xxx/16 addresses on the WAN side of your network. Those four blocks are local only and not routed.
by DougieLawson
Sat Aug 18, 2018 12:17 pm
Forum: Français
Topic: Je n'arrive pas à extraire un fichier rar
Replies: 5
Views: 62

Re: Je n'arrive pas à extraire un fichier rar

Où se trouve le fichier?

Vous devriez voir quelque chose comme

Code: Select all

[email protected]:~$ file test.rar
test.rar: RAR archive data, v4, os: Win32
[email protected]:~$
by DougieLawson
Sat Aug 18, 2018 11:42 am
Forum: Français
Topic: Je n'arrive pas à extraire un fichier rar
Replies: 5
Views: 62

Re: Je n'arrive pas à extraire un fichier rar

Qu'est-ce que vous obtenez d'une commande file test.rar?
by DougieLawson
Sat Aug 18, 2018 10:59 am
Forum: Français
Topic: Je n'arrive pas à extraire un fichier rar
Replies: 5
Views: 62

Re: Je n'arrive pas à extraire un fichier rar

sudo apt install p7zip

7z fonctionne avec tout format de fichier: gz, bz2, rar, zip, etc.
by DougieLawson
Sat Aug 18, 2018 10:36 am
Forum: General programming discussion
Topic: Python, Java or both?
Replies: 12
Views: 1010

Re: Python, Java or both?

Warning. Language war alert! I'm sure the "collective" will have as many different views on this as there are members. Or at least as many as there are programming languages. You weren't wrong. The language wars have started. I'd say COBOL but the support on a Raspberry is a bit patchy (although yo...
by DougieLawson
Sat Aug 18, 2018 10:19 am
Forum: Beginners
Topic: Autostart Python script
Replies: 4
Views: 83

Re: Autostart Python script

Add a line item to /home/pi/.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/whatever_script_goes_here.py
by DougieLawson
Sat Aug 18, 2018 10:13 am
Forum: Troubleshooting
Topic: Raspberry Pi 3B+ keeps crashing
Replies: 7
Views: 175

Re: Raspberry Pi 3B+ keeps crashing

Log the output from a free command every minute. You may have a storage leak.

sudo crontab -e

Code: Select all

* * * * * /usr/bin/free >> /var/log/free.log
by DougieLawson
Sat Aug 18, 2018 9:10 am
Forum: Beginners
Topic: Raspberry Pi 3 - Jessie - Mosquitto 1.5 - Websocket Paho Client Connect Problem
Replies: 4
Views: 93

Re: Raspberry Pi 3 - Jessie - Mosquitto 1.5 - Websocket Paho Client Connect Problem

What's in your mosquitto config?

I've got

Code: Select all

#listener 1883
protocol mqtt

listener 9001
protocol websockets
I've got an example WS program at: https://github.com/DougieLawson/Wemos_Arduino_MQTT
by DougieLawson
Sat Aug 18, 2018 8:46 am
Forum: Troubleshooting
Topic: Timed Out Waiting For Device During Boot
Replies: 6
Views: 140

Re: Timed Out Waiting For Device During Boot

That's interesting. Something needs a longer timeout before assuming the fsck has failed.
by DougieLawson
Fri Aug 17, 2018 10:44 pm
Forum: General discussion
Topic: mariadb
Replies: 6
Views: 149

Re: mariadb

That's the way it works in DebIan stretch and derivatives. Yes, it's really bad and a massive security hole.

https://websiteforstudents.com/mariadb- ... 8-04-beta/
by DougieLawson
Fri Aug 17, 2018 9:36 pm
Forum: Add-ons
Topic: ETA for Official POE Hat for 3B+
Replies: 45
Views: 960

Re: ETA for Official POE Hat for 3B+

Today's raspberrypi-kernel update is needed to get the drivers for the POE HAT.
by DougieLawson
Fri Aug 17, 2018 5:57 pm
Forum: Automation, sensing and robotics
Topic: Multiple inputs and outputs.
Replies: 4
Views: 130

Re: Multiple inputs and outputs.

Use an MCP23017 (or eight) each one gives you sixteen extra GPIOs.
by DougieLawson
Fri Aug 17, 2018 4:03 pm
Forum: Troubleshooting
Topic: Timed Out Waiting For Device During Boot
Replies: 6
Views: 140

Re: Timed Out Waiting For Device During Boot

What's in /boot/cmdline.txt?
by DougieLawson
Fri Aug 17, 2018 12:13 am
Forum: Troubleshooting
Topic: Let's Encrypt not working after installation
Replies: 8
Views: 155

Re: Let's Encrypt not working after installation

You're missing the rewrite rules in your virtual host config file for https://videobyzachary.tk

Code: Select all

RewriteEngine on
RewriteCond %{SERVER_NAME} =videobyzachary.tk
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
by DougieLawson
Thu Aug 16, 2018 11:33 pm
Forum: Troubleshooting
Topic: Issues opening FTDI device with D2XX lib
Replies: 2
Views: 991

Re: Issues opening FTDI device with D2XX lib

mtortiz wrote:
Thu Aug 16, 2018 11:16 pm
I know this is dated post, but I'm responding for posterity. This issue may be resolved by running the application as root.

Code: Select all

sudo ./appname
.
If your userid is in the dialout group (like pi is) then sudo won't be needed.
by DougieLawson
Thu Aug 16, 2018 11:27 pm
Forum: Troubleshooting
Topic: Let's Encrypt not working after installation
Replies: 8
Views: 155

Re: Let's Encrypt not working after installation

Is port 443 open to the public internet?

What happens at httpS://www.[domainname].tk?
by DougieLawson
Thu Aug 16, 2018 8:59 pm
Forum: Python
Topic: Adding inputs to existing tkinter stopwatch code
Replies: 10
Views: 202

Re: Adding inputs to existing tkinter stopwatch code

Stop using sudo. You don't need it.
by DougieLawson
Thu Aug 16, 2018 6:59 pm
Forum: Other projects
Topic: Raspberry Pi Zero (no wifi) + touchscreen, how to communicate?
Replies: 1
Views: 29

Re: Raspberry Pi Zero (no wifi) + touchscreen, how to communicate?

Why not WiFi? You could have an RPi3 running http://piwall.co.uk and a WiFi access point as a private wireless LAN.
by DougieLawson
Thu Aug 16, 2018 6:56 pm
Forum: Python
Topic: noobie needs help getting data from XML webpage
Replies: 3
Views: 50

Re: noobie needs help getting data from XML webpage

If you need to parse HTML or XML, you'll need to use BeautifulSoup4.
by DougieLawson
Thu Aug 16, 2018 2:01 pm
Forum: Troubleshooting
Topic: Timed Out Waiting For Device During Boot
Replies: 6
Views: 140

Re: Timed Out Waiting For Device During Boot

It means the UUID/PARTUUID in your /etc/fstab doesn't match the ID on your /boot partition. You're probably not going to be able to fix it with the emergency console. So you'll need a new SDCard, a copy of Raspbian, a copy of Etcher (to write Raspbian to the new SDCard) and a USB reader. Boot the ne...
by DougieLawson
Thu Aug 16, 2018 1:45 pm
Forum: Troubleshooting
Topic: User name and password
Replies: 23
Views: 262021

Re: User name and password

What's your keyboard layout? Is it a UK keyboard?

Try typing the password in the userid box (only so you can see what comes out and whether any keys on your keyboard generate the wrong code).

https://en.wikipedia.org/wiki/British_a ... _keyboards
by DougieLawson
Thu Aug 16, 2018 1:33 pm
Forum: Troubleshooting
Topic: Two IP addresses on eth0 and wlan0, can't disable wifi
Replies: 1
Views: 25

Re: Two IP addresses on eth0 and wlan0, can't disable wifi

sudo killall wpa_supplicant
sudo ifconfig wlan0 0
sudo ifconfig wlan0 down
by DougieLawson
Thu Aug 16, 2018 1:31 pm
Forum: Troubleshooting
Topic: 2.4GHz wifi not appearing on 3 B+
Replies: 1
Views: 26

Re: 2.4GHz wifi not appearing on 3 B+

What security does your 2.4GHz network use? Raspbian will only see WPA/WPA2 networks, it ignores WEP.

Go to advanced search