Go to advanced search

by DougieLawson
Wed Aug 04, 2021 3:03 pm
Forum: Troubleshooting
Topic: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+
Replies: 1566
Views: 1539426

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

tinker2much wrote:
Wed Aug 04, 2021 1:46 pm

Anyone have any ideas about what I can do, or what to check?
Have you run sudo make install?
Can you find your new module in /lib/modules/$(uname -r)?
Have you run sudo modprobe 8188eu?
by DougieLawson
Wed Aug 04, 2021 8:18 am
Forum: Troubleshooting
Topic: 2 Raspberry Pi 4's dead within 2 months
Replies: 17
Views: 584

Re: 2 Raspberry Pi 4's dead within 2 months

Sandisk ultra 64 GB And I think its power supply too the question is, is the raspberry pi also screwed up as well by the power supply Have you checked that they're genuine and not the Chinese fakes. Sandisk is the commonly faked SDCard. https://h2testw.net/ https://photographylife.com/fake-memory-c...
by DougieLawson
Wed Aug 04, 2021 12:03 am
Forum: General discussion
Topic: I can't receive NTP updates, help please
Replies: 7
Views: 234

Re: I can't receive NTP updates, help please

sudo systemctl disable systemd-timesyncd
sudo systemctl enable ntpd
sudo systemctl start ntpd
by DougieLawson
Tue Aug 03, 2021 9:01 pm
Forum: General discussion
Topic: Can I use a GPIO pin to turn an I2C multi-line LCD display on and off?
Replies: 7
Views: 225

Re: Can I use a GPIO pin to turn an I2C multi-line LCD display on and off?

Since your LCD probably runs at 5V you will need a transistor or opto-coupler to switch its power supply. You can't switch 5V directly with a 3.3V 16mA GPIO.
by DougieLawson
Tue Aug 03, 2021 8:55 pm
Forum: Beginners
Topic: how delete unwanted folder
Replies: 20
Views: 461

Re: how delete unwanted folder

sudo chown pi:pi grants
by DougieLawson
Tue Aug 03, 2021 6:26 pm
Forum: Advanced users
Topic: Downgrade accidentally updated kernel? From 5.10.52 back to 5.10.49?
Replies: 5
Views: 282

Re: Downgrade accidentally updated kernel? From 5.10.52 back to 5.10.49?

tprier wrote:
Tue Aug 03, 2021 5:29 pm
I did not try it yet. You say its not recommended to downgrade like that. What can go wrong?
It can leave your system unbootable. It can destroy your rootfs (as rpi-update did in January 2021).
You should only run rpi-update if you have a reliable & tested bootable backup.
by DougieLawson
Tue Aug 03, 2021 4:26 pm
Forum: Advanced users
Topic: I'm on 64-bit Raspberry Pi OS, but arm64 packages unsupported
Replies: 1
Views: 156

Re: I'm on 64-bit Raspberry Pi OS, but arm64 packages unsupported

You've got a 64-bit kernel with 32-bit userland. Which I'd suspect you've done with sudo rpi-update (without paying attention to the warnings for rpi-update).

If you want to try the beta 64-bit RaspiOS get it from https://downloads.raspberrypi.org/raspi ... 021-05-28/
by DougieLawson
Mon Aug 02, 2021 6:33 pm
Forum: Advanced users
Topic: Downgrade accidentally updated kernel? From 5.10.52 back to 5.10.49?
Replies: 5
Views: 282

Re: Downgrade accidentally updated kernel? From 5.10.52 back to 5.10.49?

You can but it's generally not recommended.

sudo rpi-update dc6dc9bc6692d808fcce5ace9d6209d33d5afbac

I've found it easier to build MrEngman's module from source for my RPi1B. He's not updated any WiFi modules since 16th June.
by DougieLawson
Mon Aug 02, 2021 6:18 pm
Forum: Troubleshooting
Topic: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+
Replies: 1566
Views: 1539426

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mr Engman, could you post (or point us to) the source code for the drivers, and also post the scripts you use to prepare them? Then we could attempt making them ourselves. Mr Engman hasn't made any update to any driver since June 16th. I found the source for my driver 8188eu with a trivial Google s...
by DougieLawson
Mon Aug 02, 2021 12:26 pm
Forum: Networking and servers
Topic: Network keeps dropping on System Containing Raspberry Pis
Replies: 41
Views: 2341

Re: Network keeps dropping on System Containing Raspberry Pis

It's a script that grew organically. If a piece isn't needed, tear it out. I haven't had a WiFi failure in months (apart from when we deliberately dropped the power on the house on 3rd April). So it's not getting any testing and the IIIBDFI principle applies.
by DougieLawson
Mon Aug 02, 2021 12:09 pm
Forum: Networking and servers
Topic: Network keeps dropping on System Containing Raspberry Pis
Replies: 41
Views: 2341

Re: Network keeps dropping on System Containing Raspberry Pis

I don't use iwconfig anywhere in my script. The ifconfig command is to ensure the interface is in the right state with a locally assigned IP address before starting wpa_supplicant. That bit probably isn't needed now as it was there when I was deliberately forcing a reload of the Broadcom WiFi drivers.
by DougieLawson
Sun Aug 01, 2021 9:55 pm
Forum: Troubleshooting
Topic: Strange partition setup after flash to NVME USB drive
Replies: 10
Views: 239

Re: Strange partition setup after flash to NVME USB drive

When I connect the device to my PI, I can see it however when trying to boot from it, i receive the error: "Unsupported block size 4096" Use the Raspberry Pi Imager tool to write your Linux OS to your SDCard. Do NOT use ANY Windows native utilities (unless you've got the WIN10/WIN11 WSL i...
by DougieLawson
Sun Aug 01, 2021 5:40 pm
Forum: Advanced users
Topic: Second TV HAT on Zero-W
Replies: 4
Views: 279

Re: Second TV HAT on Zero-W

Pearl.852 wrote:
Sat Jul 31, 2021 5:03 am
Take a look at https://pinout.xyz/pinout/spi
https://pinout.xyz/pinout/tv_hat is more likely to be useful for the OP.
by DougieLawson
Sun Aug 01, 2021 5:38 pm
Forum: General discussion
Topic: No revision info in /proc/cpuinfo
Replies: 9
Views: 383

Re: No revision info in /proc/cpuinfo

The stock Linux arm64 kernel doesn't display revision, serial or model in /proc/cpuinfo. The RPT kernel has a patch applied that adds it. OP isn't using RPi OS so their kernel presumably doesn't have it. So replace the kernel with the RPF/RPTL version. It's easy enough to grab that from https://git...
by DougieLawson
Sun Aug 01, 2021 2:08 pm
Forum: General discussion
Topic: No revision info in /proc/cpuinfo
Replies: 9
Views: 383

Re: No revision info in /proc/cpuinfo

Why aren't folks using the more reliable cat /sys/firmware/devicetree/base/model;echo which is easier than decoding the /proc/cpuinfo Revision string.
by DougieLawson
Sun Aug 01, 2021 2:05 pm
Forum: Troubleshooting
Topic: Incorrect Date and Time Preventing Web Access
Replies: 5
Views: 172

Re: Incorrect Date and Time Preventing Web Access

Is it possible that your Network Manager has by policy blocked network protocols that are not needed/approved, thus preventing the RPi/Buster systems from syncing their time from the Internet via NTP? Then they ought to provide a time server on the local network ? (Wouldn't have to be full NTP. Eve...
by DougieLawson
Sun Aug 01, 2021 12:59 pm
Forum: General discussion
Topic: A simple way to get all IP and MAC addresses on my network
Replies: 24
Views: 687

Re: A simple way to get all IP and MAC addresses on my network

I use this nmap script #!/bin/bash $ip="192.168.3.0/24" sudo nmap -n -sP $IP | awk '/Nmap/ {if (x) {if (x ~ /B8:27/) {split(x, m); print m[5] " " m[13];} x="";} } {x=(!x)?$0:x" "$0;}' I'm only looking for the old Raspberry MAC address with that awk command. Or...
by DougieLawson
Sun Aug 01, 2021 12:42 pm
Forum: Networking and servers
Topic: Network keeps dropping on System Containing Raspberry Pis
Replies: 41
Views: 2341

Re: Network keeps dropping on System Containing Raspberry Pis

I'm running a bash script that sleeps for ten minutes, wakes up, checks the network and either sleeps for ten minutes or fixes it.[/code] It's a bit crude, but before I upgraded my TP-Link firmware (which solved the problem permanently) it was keeping the network alive on all of my WiFi raspberries...
by DougieLawson
Sun Aug 01, 2021 12:39 pm
Forum: Advanced users
Topic: Optimal distcc settings when compiling an RPi
Replies: 8
Views: 301

Re: Optimal distcc settings when compiling an RPi

Why not ask the Box86 developer(s) by opening an issue at https://github.com/ptitSeb/box86/issues? They appear to be optimising for ArmV7 in https://github.com/ptitSeb/box86/blob/master/pkgbuilds/PKGBUILD-raspberrypi They should be using -mcpu=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-f...
by DougieLawson
Sun Aug 01, 2021 12:28 pm
Forum: Advanced users
Topic: Home server security
Replies: 6
Views: 282

Re: Home server security

The thing that really scared me are those 2 entries: 24.99.***.*** - - [01/Aug/2021:02:08:34 +0200] "GET /admin/index.php?lang=en HTTP/1.1" 200 9434 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"...
by DougieLawson
Sun Aug 01, 2021 12:15 pm
Forum: Networking and servers
Topic: Network keeps dropping on System Containing Raspberry Pis
Replies: 41
Views: 2341

Re: Network keeps dropping on System Containing Raspberry Pis

The linux watchdog is always a tricky to setup past "apt install watchdog". The watchdog device in a Pi must be polled at least every 15 seconds, so naively using the "ping" directive in watchdog.conf makes the Pi send a ping every 10 secs or so. I'm running a bash script that s...
by DougieLawson
Sun Aug 01, 2021 11:22 am
Forum: Python
Topic: PHP/PYTHON runs fine on a PI3 but not on a PI4
Replies: 9
Views: 345

Re: PHP/PYTHON runs fine on a PI3 but not on a PI4

To be more secure take www-data out of sudoers. Use sudo usermod -a -G gpio www-data; sudo systemctl restart nginx lighttpd apache2 to allow the web server to access RPi.GPIO. Get the paho-mqtt module with sudo pip3 install paho-mqtt #!/usr/bin/python3 import RPi.GPIO as GPIO import os import paho.m...
by DougieLawson
Sun Aug 01, 2021 10:20 am
Forum: Beginners
Topic: How does my RPi get the time -- no NTP daemon
Replies: 4
Views: 164

Re: How does my RPi get the time -- no NTP daemon

It's all done with systemd timesyncd.

If you want to run ntpd you have to a) install it & b) disable the systemd timesyncd stuff.
by DougieLawson
Sun Aug 01, 2021 10:17 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: overclocking the raspberry pi desktop
Replies: 4
Views: 212

Re: overclocking the raspberry pi desktop

coolprofessor wrote:
Sun Aug 01, 2021 1:47 am
Is there a way to overclock the raspberry pi desktop?
Search Google for "X86 DebIan overclocking".

The Raspberry piece is only the desktop and the collection of installed programs, nothing to do with the underlying OS.

Go to advanced search