Search found 17 matches

by threefoursixeight
Wed Jan 22, 2020 4:55 pm
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Re: Kernel upgrade breaks WireGuard?

G_AG* commands are most imporantly non-interactive, hence they will never ask you whether to install dependencies, keep or overwrite old config files (old are always kept, new ones installed with *-dpkg-new/dist suffix), purge depandants etc. On stable distro version and older (Buster, Stretch, Jes...
by threefoursixeight
Wed Jan 22, 2020 3:21 pm
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Re: Kernel upgrade breaks WireGuard?

Joulinar wrote: Wed Jan 22, 2020 3:06 pm yep, these are the same commands. G_AGUP + G_AGUG are used by DietPi scripts. And much more important, way less characters to type into console :lol:
Gotcha! I guess I’m even lazier with my bash alias of suu for sudo apt-get update && sudo apt-get upgrade 😂
by threefoursixeight
Wed Jan 22, 2020 3:04 pm
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Re: Kernel upgrade breaks WireGuard?

Exactly, newest WireGuard DKMS should place a kernel-upgrade hook that rebuilds the WireGuard kernel module automatically whenever the kernel is upgraded. At least with newest RPi firmware and all kernel packages I know for other model, this is the case, otherwise manual rebuild via dpkg-reconfigur...
by threefoursixeight
Wed Jan 22, 2020 3:00 pm
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Re: Kernel upgrade breaks WireGuard?

Joulinar wrote: Wed Jan 22, 2020 2:39 pm correct. I just did G_AGUP + G_AGUG, enjoyed a coffee while waiting on the update to be completed and rebooted the RPi once done. At least this was my experience today.
Do you mind telling me what G_AGUP and G_AGUG are?

Sudo apt-get update and sudo apt-get upgrade?
by threefoursixeight
Wed Jan 22, 2020 2:36 pm
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Re: Kernel upgrade breaks WireGuard?

Sweet!! So in your instance, you didn’t have to do anything more than simply upgrade the kernel and restart? WireGuard just continued to work after rebooting?
by threefoursixeight
Wed Jan 22, 2020 2:38 am
Forum: General Discussion
Topic: Kernel upgrade breaks WireGuard?
Replies: 10
Views: 1301

Kernel upgrade breaks WireGuard?

Hi guys, Last time I upgraded my kernel and kernel headers, WireGuard was broken after I rebooted. I believe I couldn’t start wg-quick but I can’t remember exactly. I wasn’t able to fix it and had to completely reinstall dietpi to get everything working again. I’m wondering if anyone has run into th...
by threefoursixeight
Tue Jan 14, 2020 9:38 pm
Forum: General Discussion
Topic: Enable Trim for SSDs?
Replies: 5
Views: 998

Re: Enable Trim for SSDs?

Gotcha! Well I appreciate you helping me even though you’re far away!

I think I’ll need to do more research to make sure my SSD actually supports TRIM before I go any further and cause data loss 😛 I’m seeing some conflicting information about whether my SSD supports TRIM.
by threefoursixeight
Tue Jan 14, 2020 7:29 pm
Forum: General Discussion
Topic: Enable Trim for SSDs?
Replies: 5
Views: 998

Re: Enable Trim for SSDs?

Thank you, that was good reading. It looks like the more recommended method is to run fstrim weekly as a cron job. There’s an example script they showed that runs fstrim for /, /boot, and /home: #! /bin/sh for mount in / /boot /home; do fstrim $mount done However, I’m assuming I don’t want to do tri...
by threefoursixeight
Tue Jan 14, 2020 5:28 pm
Forum: General Discussion
Topic: Enable Trim for SSDs?
Replies: 5
Views: 998

Enable Trim for SSDs?

Hi everyone,

I currently have dietpi on a raspberry pi 4, with boot on an SD card and then the rest of the OS on an external SSD connected over USB.

My question is, do I need to enable trim for the SSD, or is that enabled by default? If it isn’t, how can I go about enabling trim?

Thanks!
by threefoursixeight
Sun Jan 05, 2020 3:04 pm
Forum: General Discussion
Topic: Safe to update dietpi?
Replies: 3
Views: 1201

Re: Safe to update dietpi?

Awesome, thank you both very much!