Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:raspbian [2023/10/05 13:14] – [WiFi problems] darrontools:raspbian [2024/05/16 11:52] (current) – [Upgrade] darron
Line 329: Line 329:
 Pi4 WiFi can both disconnect with wpa_supplicant still running or crash. Pi4 WiFi can both disconnect with wpa_supplicant still running or crash.
  
-In the former case a script can reconnect but in the latter a reboot is required.+In the former case we can reconnect but in the latter a reboot is required.
  
 <code> <code>
Line 335: Line 335:
  
 check() { check() {
-        LOSS=`ping -c 3 -i 1 192.168.0.33 | awk 'match($0, /[0-9]+%/) { print substr($0, RSTART, RLENGTH) }'`+        LOSS=`ping -c 3 -i 1 192.168.0.| awk 'match($0, /[0-9]+%/) { print substr($0, RSTART, RLENGTH) }'`
 } }
- 
 while test 1; do while test 1; do
         sleep 30         sleep 30
Line 375: Line 374:
  
 EG. EG.
 +
 +to bullseye from buster
  
 <code> <code>
 sed -i 's/buster/bullseye/g' /etc/apt/sources.list sed -i 's/buster/bullseye/g' /etc/apt/sources.list
 </code> </code>
 +
 +or edit for from bullseye to bookworm
 +<code>
 +deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
 +deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
 +deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
 +</code>
 +
 +If keys need importing (if import fails try again, and again)
 +
 +<code>
 +apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0E98404D386FA1D9
 +apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6ED0E7B82643E131
 +apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F8D2585B8783D481
 +apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 54404762BBB6E853
 +apt-key adv --recv-keys --keyserver keyserver.ubuntu.com BDE6D2B9216EC7A8
 +</code>
 +
  
 Update Update
Line 389: Line 408:
  
 Change RPi sources list Change RPi sources list
 +
  
 <code> <code>
Line 394: Line 414:
 </code> </code>
  
 +or
 +
 +<code>
 +sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/raspi.list
 +</code>
 Update Update