-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Banner | Show warning on installed<>loaded kernel mismatch #4732
Comments
Many thanks for your report. Can you please show the whole output of the service: journalctl -u dietpi-vpn Of course mask any identifying elements, like public IPs or MAC addresses. Also can you show: cat /etc/openvpn/client.ovpn to see whether port and protocol changes have been applied as expected. |
Alright, sorry for the delay, here is the log of
And here is
|
Good to know that some of the settings in the IPVanish configs are deprecated. A testing task when OpenVPN 2.6.x reaches Debian Bookworm. I checked back and modprobe tun
ls -l /dev/net/tun If there is some error, I recognised that your kernel version is not at latest version. Probably it has been upgraded already but reboot still outstanding to load it? When attempting to load a kernel module in such case, you'd see something like
and |
This is what I get when running the provided command
|
Weird. So wiped and set back up the image again after re-downloading it, and I attempted it again and now it's working. I didn't change anything from the previous times so not sure what went different, but it seems to be working now. I appreciate the help as always. Maybe the image got corrupted somehow when I downloaded it the first time around? |
Okay good that it works now. Now sure, probably for some reason OpenVPN did not loaded the |
So I retested it as I swapped SD cards when I did the new image. I ran |
At this point, maybe just keep an eye out if the issue reappears with others? Don't want you to waste time on something that isn't a problem and was just an anomaly on my end, lol. |
Definitely. I guess it was the kernel package upgrade indeed. Since this is quite a common issue, e.g. also with WireGuard, or the newly available Linux exFAT support autofs and others, I thought about showing a hint in the banner, like:
The check whether loaded and installed kernel match:
|
That's actually quite a good idea. Could be same position as update notification |
Found a way to detect whether we're running in a container, where systemd-detect-virt -c This way we can implement this warning nicely only for non-container systems. Will be done with next release. |
The banner info is implemented here: #5299 |
Creating a bug report/issue
Required Information
7.5.2
Bullseye
Linux DietPi 5.10.52-v8+
RPi 4 Model B (aarch64)
Additional Information (if applicable)
00629356-8cf8-4500-a9ab-486b31857f8f
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
systemctl -l status dietpi-vpn
I get this error:The text was updated successfully, but these errors were encountered: