Troubleshooting


index update on berry

Obsolete after apache set to redirect to https:


/> sudo /opt/www/htdig/bin/rundig 2>/dev/null
Now:

sudo perl -pi -e 's/Rewrite/# Rewrite/' /etc/apache2/sites-available/000-default.conf
sudo apachectl graceful
export DBDIR=/opt/www/htdig/db COMMONDIR=/opt/www/htdig/common BINDIR=/opt/www/htdig/bin
sudo $BINDIR/htdig
sudo perl -pi -e 's/# Rewrite/Rewrite/' /etc/apache2/sites-available/000-default.conf
sudo apachectl graceful
LC_COLLATE=C sudo $BINDIR/htmerge
Note! Dropped in practice for htmerge:

export TMPDIR=$DBDIR

Boot fail on berry The boot line may be corrupted:

/> cat /boot/cmdline.txt 
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait

Lost the wifi on tanya...

21.1.24
Restarting NetworkManager worked this time!

~> sudo systemctl -a | grep NetworkManager
  NetworkManager-wait-online.service                                                               loaded    active   exited    Network Manager Wait Online
  NetworkManager.service                                                                           loaded    active   running   Network Manager
~> sudo systemctl restart NetworkManager.service
~> sudo systemctl -a | grep NetworkManager
  NetworkManager-dispatcher.service                                                                loaded    active     running         Network Manager Script Dispatcher Service
  NetworkManager-wait-online.service                                                               loaded    activating start     start Network Manager Wait Online
  NetworkManager.service                                                                           loaded    active     running         Network Manager
~> sudo systemctl -a | grep -i network
  NetworkManager-wait-online.service                                                               loaded    active   exited    Network Manager Wait Online
  NetworkManager.service                                                                           loaded    active   running   Network Manager
~> egrep ^Jan 21 15:52:16 /var/log/syslog
Jan 21 15:52:16 tanya dbus-daemon[3850]: [session uid=1001 pid=3850] Activating service name='org.freedesktop.FileManager1' requested by ':1.39' (uid=1001 pid=4062 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 21 15:52:16 tanya NetworkManager[53825]:   [1705852336.2905] agent-manager: agent[f34de717172947ab,:1.102/org.gnome.Shell.NetworkAgent/1001]: agent registered
Jan 21 15:52:16 tanya [email protected][4062]: unable to update icon for software-update-available
Jan 21 15:52:16 tanya [email protected][4062]: unable to update icon for livepatch
Jan 21 15:52:16 tanya dbus-daemon[3850]: [session uid=1001 pid=3850] Successfully activated service 'org.freedesktop.FileManager1'
Jan 21 15:52:16 tanya dbus-daemon[3850]: [session uid=1001 pid=3850] Activating service name='org.gnome.ArchiveManager1' requested by ':1.812' (uid=1001 pid=57945 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
Jan 21 15:52:16 tanya gnome-shell[4062]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
...
Jan 21 15:52:16 tanya gnome-shell[4062]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Jan 21 15:52:16 tanya dbus-daemon[3850]: [session uid=1001 pid=3850] Successfully activated service 'org.gnome.ArchiveManager1'
Jan 21 15:52:16 tanya gnome-shell[4062]: DING: Detected async api for thumbnails
Jan 21 15:52:16 tanya gnome-shell[4062]: DING: GNOME nautilus 42.6
15.8.22 (confirmed on 25.9.22 — try to restart NetworkManager rather than reboot — failed 3.11.22)
After reboot, wifi working again:

~> sudo systemctl -a | grep -i network
  sys-devices-pci0000:00-0000:00:1c.6-0000:02:00.0-net-wlp2s0.device                               loaded    active     plugged   QCA6174 802.11ac Wireless Network Adapter (Killer 1435 Wireless-AC)                    
  sys-subsystem-net-devices-wlp2s0.device                                                          loaded    active     plugged   QCA6174 802.11ac Wireless Network Adapter (Killer 1435 Wireless-AC)                    
  networkd-dispatcher.service                                                                      loaded    active     running   Dispatcher daemon for systemd-networkd                                                 
  networking.service                                                                               loaded    active     exited    Raise network interfaces                                                               
  NetworkManager-wait-online.service                                                               loaded    active     exited    Network Manager Wait Online                                                            
  NetworkManager.service                                                                           loaded    active     running   Network Manager                                                                        
  systemd-networkd.service                                                                         loaded    inactive   dead      Network Service                                                                        
  systemd-resolved.service                                                                         loaded    active     running   Network Name Resolution                                                                
  systemd-timesyncd.service                                                                        loaded    active     running   Network Time Synchronization                                                           
  network-online.target                                                                            loaded    active     active    Network is Online                                                                      
  network-pre.target                                                                               loaded    active     active    Network (Pre)                                                                          
  network.target                                                                                   loaded    active     active    Network                                                                                
  nss-lookup.target                                                                                loaded    active     active    Host and Network Name Lookups                                                          
Below was on sartre: Fixed with:

#sudo mkdir /lib/firmware/b43
#sudo cp Desktop/b43/* /lib/firmware/b43
# cd /lib/firmware/b43
# sudo rmmod -f ssb
sudo rmmod -f b44
sudo modprobe b43
Les devices hardware sont:

~> sudo lspci -vnn -d 168c:
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
	Subsystem: Bigfoot Networks, Inc. Killer 1435 Wireless-AC [1a56:143a]
	Flags: bus master, fast devsel, latency 0, IRQ 160
	Memory at dc000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Virtual Channel
	Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [178] Latency Tolerance Reporting
	Capabilities: [180] L1 PM Substates
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci

Old laptop: ~> lspci -vnn -d 14e4: 03:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX [14e4:170c] (rev 02) Subsystem: Dell BCM4401-B0 100Base-TX [1028:01f1] Flags: bus master, fast devsel, latency 64, IRQ 17 Memory at fe5fe000 (32-bit, non-prefetchable) [size=8K] Capabilities: <access denied> Kernel driver in use: b44 Kernel modules: b44 0c:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 01) Subsystem: Dell Wireless 1390 WLAN Mini-Card [1028:0007] Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at fe8fc000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: b43-pci-bridge Kernel modules: ssb, wl ~> rfkill list all 1: phy1: Wireless LAN Soft blocked: no Hard blocked: no

Fail to update on berry

First symptom:

db> sudo apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
Err http://mirrordirector.raspbian.org jessie InRelease
  
Err http://archive.raspberrypi.org jessie InRelease
  
Fetched 37.9 kB in 0s (38.8 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrordirector.raspbian.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.raspberrypi.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease  

W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease  

W: Some index files failed to download. They have been ignored, or old ones used instead.
It could have been a DNS issue, but it was OK:

/> cat /etc/resolv.conf
domain home
search home
nameserver 192.168.1.254
nameserver 192.168.1.254
/> cat /etc/apt/sources.list /etc/apt/sources.list.d/raspi.list 
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://archive.raspberrypi.org/debian/ jessie main ui
/> host mirrordirector.raspbian.org
mirrordirector.raspbian.org has address 93.93.128.193
mirrordirector.raspbian.org has IPv6 address 2a00:1098:0:80:1000:75:0:3
/> host archive.raspberrypi.org
archive.raspberrypi.org is an alias for lb.raspberrypi.org.
lb.raspberrypi.org has address 93.93.128.133
lb.raspberrypi.org has address 93.93.130.39
lb.raspberrypi.org has address 93.93.128.230
lb.raspberrypi.org has address 46.235.227.11
lb.raspberrypi.org has address 93.93.130.214
lb.raspberrypi.org has address 93.93.130.104
lb.raspberrypi.org has address 93.93.135.188
lb.raspberrypi.org has address 93.93.128.211
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:8
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:7
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:9
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:6
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:5
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:6
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:7
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:5
It could have been a GPG key issue (old timestamps):

/> sudo apt-key list | egrep ^pub
pub   2048R/90FDDD2E 2012-04-01
pub   2048R/7FA3303E 2012-06-17
But in fact, it was (again) that the version of the operating system had changed: I needed to upgrade from jessie to stretch.
Unfortunately, even this was not the explanation:

/> sudo perl -pi -e 's/jessie/stretch/' /etc/apt/sources.list /etc/apt/sources.list.d/raspi.list 
/> cat /etc/apt/sources.list /etc/apt/sources.list.d/raspi.list 
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
deb http://archive.raspberrypi.org/debian/ stretch main ui
/> sudo apt-get update
Get:1 http://archive.raspberrypi.org stretch InRelease [25.3 kB]
Get:2 http://mirrordirector.raspbian.org stretch InRelease [15.0 kB]
Ign http://archive.raspberrypi.org stretch InRelease
E: GPG error: http://archive.raspberrypi.org stretch InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
forum
Own stuff
Marc Girod