Go to advanced search

by DougieLawson
Fri Nov 16, 2018 6:37 pm
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 315
Views: 14715

Re: Multiple Frame buffer beta testers wanted

I'd suggest installing the new Raspbian stuff with sudo apt update; sudo apt -y dist-upgrade then revert to 4.14.79 or 4.19.1 with sudo rpi-update 2267b32 or sudo rpi-update c91b784. Then re-install James' kernel and bootcode.

That gets you the best of both worlds.
by DougieLawson
Fri Nov 16, 2018 6:11 pm
Forum: AIY Projects
Topic: Google Calendar Permissions
Replies: 1
Views: 18

Re: Google Calendar Permissions

You should be able to do that at: https://console.developers.google.com/a ... q=calendar [Note: I have not tried this.]
by DougieLawson
Fri Nov 16, 2018 6:02 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: SSH connection failure
Replies: 13
Views: 63

Re: SSH connection failure

So your sshd_config file has password authentication disabled.

Change these lines

Code: Select all

PasswordAuthentication no
UsePAM no
to

Code: Select all

#PasswordAuthentication yes
UsePAM yes
then restart your sshd server with sudo systemctl restart ssh
by DougieLawson
Fri Nov 16, 2018 5:48 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

My intent after is to install Raspbian LITE. Then start with Raspbian Lite 2018-11-13 and stop wasting your time with NOOBS. Before you boot your system add f:\ssh.txt [empty file] and f:\wpa_supplicant.conf country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network=...
by DougieLawson
Fri Nov 16, 2018 5:43 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: SSH connection failure
Replies: 13
Views: 63

Re: SSH connection failure

Man in a van wrote:
Fri Nov 16, 2018 5:41 pm

Code: Select all

sudo nano /home/pi/.ssh/authorized_keys 
gives

Directory does not exist
That's bound to be true since you're not trying to use public/private keys.
by DougieLawson
Fri Nov 16, 2018 5:41 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

NOOBS Installation is on the Pi. that means NO OS is installed. I was attempting to connect the NOOBS installer to the wifi network. Oh dear, don't bother. Do you really need NOOBS? What's wrong with plain Raspbian? If you insist on using NOOBS for multi-boot switch to NOOBS 3.0.0 or (better) switc...
by DougieLawson
Fri Nov 16, 2018 5:38 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: SSH connection failure
Replies: 13
Views: 63

Re: SSH connection failure

What happens with ssh [email protected] in an LXTerminal?

What OS version are you using? Have you tried today's fresh new downloads?
by DougieLawson
Fri Nov 16, 2018 5:35 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

NOOBS is a software installer, it is not an OS. [PINN is a better forked version of NOOBS.]

You need to be more specific about what's running on your Raspberry.
by DougieLawson
Fri Nov 16, 2018 5:31 pm
Forum: Troubleshooting
Topic: command sudo apt-get update stuck at 0%
Replies: 5
Views: 95

Re: command sudo apt-get update stuck at 0%

What do you get from the following commands

ip addr show
ip route
ping -c3 $(ip route | awk '/default/ {print $3}')
ping -c3 93.93.128.193
ping -c3 mirrordirector.raspbian.org
ping -c3 bbc.co.uk
cat /etc/resolv.conf
by DougieLawson
Fri Nov 16, 2018 5:19 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

What do you get from iwlist scan Can you see something like wlan0 Scan completed : Cell 01 - Address: mm:aa:cc:aa:dd:rr Channel:11 Frequency:2.462 GHz (Channel 11) Quality=68/70 Signal level=-42 dBm Encryption key:on ESSID:"your-SSID-will-appear-here" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 ...
by DougieLawson
Fri Nov 16, 2018 5:11 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

Have you, pointlessly, hidden your service set identifier (SSID)?
by DougieLawson
Fri Nov 16, 2018 5:02 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: SSH connection failure
Replies: 13
Views: 63

Re: SSH connection failure

Are you trying to login with a password or a public/private key? What's in your /home/pi/.ssh/authorized_keys file? A valid PuTTY key should look like: ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAmxwxExgKaPcz/xxHfC6rjsMjPdmOugCCCOsqBDw6muYlFcOBOXZRpCDHyf5IfjVQVHIAEP8HiKu+czmkCTDGApgSiq+8HCtXe+ZZPQ1bdIk5fstr...
by DougieLawson
Fri Nov 16, 2018 4:29 pm
Forum: Troubleshooting
Topic: RPi3 b+ crashes each morning at 0530
Replies: 25
Views: 443

Re: RPi3 b+ crashes each morning at 0530

How would one check to see if there's a leak in the program? How could I investigate that? Run the free command from cron every minute. Use sudo crontab -e to add this to root's crontab. */1 * * * * /bin/date >> /var/log/mem.log;/usr/bin/free >> /var/log/mem.log You'll get this Fri 16 Nov 16:28:55 ...
by DougieLawson
Fri Nov 16, 2018 4:17 pm
Forum: Troubleshooting
Topic: RPi3 b+ crashes each morning at 0530
Replies: 25
Views: 443

Re: RPi3 b+ crashes each morning at 0530

The most likely causes are a) lousy, weedy power supply b) a storage leak in your program(s) or c) a bug in the Broadcom WiFi driver.
by DougieLawson
Fri Nov 16, 2018 3:01 pm
Forum: Troubleshooting
Topic: RPIZW - Wifi Chip.
Replies: 12
Views: 117

Re: RPIZW - Wifi Chip.

What security does your wireless access point use? Raspbian and NOOBS/Raspbian will NOT connect to WEP networks.
Have you set the country code? Raspbian and NOOBS/Raspbian won't connect to anything if you've not set the country code in the preferences GUI.
by DougieLawson
Fri Nov 16, 2018 2:50 pm
Forum: Troubleshooting
Topic: RPi3 b+ crashes each morning at 0530
Replies: 25
Views: 443

Re: RPi3 b+ crashes each morning at 0530

All I can suggest is to remove attached HW until the problem goes away, to try and reduce the number of combinations that might be causing the issue. USB attached devices would be the first port of call. That's going to be a bit difficult when the kernel OOPs is in the Broadcom WiFi driver for the ...
by DougieLawson
Fri Nov 16, 2018 2:33 pm
Forum: Troubleshooting
Topic: Error updating raspberrypi-ui-mods (1.20180926)
Replies: 7
Views: 144

Re: Error updating raspberrypi-ui-mods (1.20180926)

[email protected]:~ # apt -y dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk spac...
by DougieLawson
Fri Nov 16, 2018 2:23 pm
Forum: Weather station
Topic: Total noob here. Personal WS
Replies: 14
Views: 328

Re: Total noob here. Personal WS

What happens if you try running the PHP programs from the command line? I get [email protected]:/srv/www/beaufort # php data.php PHP Notice: Undefined index: col in /srv/www/beaufort/data.php on line 4 PHP Notice: Undefined index: from in /srv/www/beaufort/data.php on line 12 PHP Notice: Undefined index...
by DougieLawson
Fri Nov 16, 2018 1:55 pm
Forum: General discussion
Topic: The wget command is acting strange
Replies: 10
Views: 189

Re: The wget command is acting strange

Try wget https://best-wallpaper.net/wallpaper/m/1804/Raspberry-pie_m.jpg
by DougieLawson
Fri Nov 16, 2018 9:10 am
Forum: Raspbian
Topic: Raspbian - November 2018 - now in 3 variants
Replies: 4
Views: 181

Re: Raspbian - November 2018 - now in 3 variants

There's also a new version of NOOBS (3.0.0) and NOOBS lite (3.0) for the folks who need that.
by DougieLawson
Fri Nov 16, 2018 9:07 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23S17 Module For multiplying CS pin of SPI
Replies: 1
Views: 43

Re: MCP23S17 Module For multiplying CS pin of SPI

Use I2C MCP23017s it's easier to add up to eight of those - wired to just the single I2C bus.
by DougieLawson
Fri Nov 16, 2018 9:05 am
Forum: C/C++
Topic: Need API to interact with telnet server from C
Replies: 2
Views: 50

Re: Need API to interact with telnet server from C

Telnet from C is just a socket client program. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> main( argc, argv) int argc; char **argv; { int sockint, s; /* client socket */ unsigned short port ;...
by DougieLawson
Fri Nov 16, 2018 8:42 am
Forum: Troubleshooting
Topic: command sudo apt-get update stuck at 0%
Replies: 5
Views: 95

Re: command sudo apt-get update stuck at 0%

Have you eliminated any network failure or a firewall blocking your access to http://raspbian.raspberrypi.org/raspbian/?
by DougieLawson
Fri Nov 16, 2018 8:37 am
Forum: General discussion
Topic: The wget command is acting strange
Replies: 10
Views: 189

Re: The wget command is acting strange

Install lynx (a text based web browser), that gives you a simple command line way to parse your HTML. Use the file foobar.jpg command to see what you've downloaded. Unix systems don't care what your files are called, you can contain any data in any file name. The wget command will create whatever fi...
by DougieLawson
Fri Nov 16, 2018 8:07 am
Forum: Weather station
Topic: Weather Station old web page
Replies: 8
Views: 125

Re: Weather Station old web page

Your measurements are stored in your MySQL (MariaDB) database, in the WEATHER_MEASUREMENT table.

Go to advanced search