echo ‘THIS SCRIPT WILL INSTALL AND PIN YOUR KERNEL TO 6.1.0-28-amd64’
THIS SCRIPT WILL INSTALL AND PIN YOUR KERNEL TO 6.1.0-28-amd64
echo ‘Press Ctrl+c to abort in 5 seconds’
Press Ctrl+c to abort in 5 seconds
sleep 5
apt install -y linux-image-6.1.0-28-amd64 linux-headers-6.1.0-28-amd64
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
linux-image-6.1.0-28-amd64 is already the newest version (6.1.119-1).
linux-headers-6.1.0-28-amd64 is already the newest version (6.1.119-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt install -y --allow-downgrades linux-image-amd64=6.1.119-1 linux-headers-amd64=6.1.119-1
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
linux-headers-amd64 linux-image-amd64
The following held packages will be changed:
linux-headers-amd64 linux-image-amd64
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages.
root@repeater:~#
root@repeater:~# uname -r
6.1.0-30-rt-amd64
Next step wait till the roads dry out and drive to the hill top site and do a fresh Deb 12 install - Wyse Dell 3040 PC
I did not. Brief history - I had installed ASL 3.0 and kept up with the updates - Up to linux-image-6.1.0-29-amd64 . I executed the script / hotfix and the script brought the installation back to linux-image-6.1.0-28-amd64 6.1.119-1 and all was well.
THEN I installed Wireguard - and in the course the Wireguard caused the real time kernal to be installed. Now the repeater system no longer functions - asl-menu loads, but I am unable to key the transmitter - lsusb shows the CM108 is still there. Considering purging - sudo apt-get purge but I am really not familiar with how to do, and the repeater of 1 1/2 hours and one steep hill away. I have to wait for the roads to dry out before I can visit - nearly 3" of rainfall the last 2 day. de nu5d - Wireguard works well - I have ssh and winscp access BUT the internet connection is minimal - 128kb/s …
I’ve never had that problem with the Wireguard module happening. However the solution is easy if somewhat perilous for your situation if something goes wrong. First, make sure that the following things are still installed:
You should seen the linux-image and linux-headers package for 6.1.0-28-amd64 as well as a generic linux-image-amd64. If those are still there, then you can proceed to remove the RT kernel. Do an apt remove linux-image-rt-amd64 to will remove the realtime kernel. You may get a screen about the dangers of removing the running kernel. You don’t have a lot of choice though. After that’s done, you should be able to reboot into -28 again.
However, 90 minutes and a steep hill should play a factor. The fact that your system seems to have randomly installed the RT kernel does make me slightly concerned for the sanity of the configuration. So, caveat emptor…
Thank you - nothing much to loose - and might just save a trip. Same time - a lightning strike in Waco took out a node and winlink as well. Glad this is just a hobby… de nu5d
HERE is the the RTC got installed - I did an update - and wireguard tools was removed, (I still have zerotier working for remote access - ssh)… wireguard went away. So I go to reinstall wireguard…and here is is:
root@repeater:~# sudo apt install wireguard openresolv
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
openresolv is already the newest version (3.12.0-3).
The following additional packages will be installed:
linux-image-6.1.0-30-rt-amd64 linux-image-rt-amd64 wireguard-tools
Suggested packages:
linux-doc-6.1 debian-kernel-handbook
The following NEW packages will be installed:
linux-image-6.1.0-30-rt-amd64 linux-image-rt-amd64 wireguard wireguard-tools
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 69.1 MB of archives.
After this operation, 409 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /debian bookworm-updates/main amd64 linux-image-6.1.0-30-rt-amd64 amd64 6.1.124-1 [69.0 MB]
0% [1 linux-image-6.1.0-30-rt-amd64 123 kB/69.0 MB 0%] 8,508 B/s 2h 15min 7s^C
root@repeater:~#
I did ctrl c to stop the install… and catch breath.