When it happens, try pressing Alt + SysRq(/PrtSc) + o. If that turns off your computer, then the kernel is still running and something is preventing shutdown; if it doesn’t, either SysRq is disabled, or ACPI is broken.
New account: @SteveTech@aussie.zone
- 0 Posts
- 66 Comments
My Mikrotik routers and switches also reboot in seconds (even for upgrades), which I’ve never seen consumer gear do!
Even my Ubiquiti switches seem to take a minute or so to start forwarding traffic after a reboot; whilst my Mikrotik switches reboot faster than any of my unmanaged switches start up.
SteveTech@programming.devto
Linux@lemmy.ml•Homeserver randomly crashing during the nightEnglish
3·8 months agoMaybe look into using the pstore, it can store kernel panics in ACPI or UEFI variables to be read by the next boot. Usually this is accessible at
/sys/fs/pstore, but if systemd-pstore is installed then it should be in the journal, but it can also be here:/var/lib/systemd/pstore.
SteveTech@programming.devto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
1·8 months agoCloudflare usually blocks ‘unknown’ bots, which are basically bots that aren’t search crawlers. Also I’ve got Cloudflare setup to challenge requests for .zip, .tar.gz, or .bundle files, so that it doesn’t affect anyone unless they download from their browser.
There’s also probably a way to configure something similar in Anubis, if you don’t like a middleman snooping your requests.
SteveTech@programming.devto
Selfhosted@lemmy.world•How to Build a Powerful Reverse Proxy Firewall for Blocking the Evil Web-Scraping Robot Hordes from HellEnglish
2·9 months agoI just used a bot to read it: https://web.archive.org/web/20250901133211/https://cheapskatesguide.org/articles/debian-netinstall-waf.html
It shouldn’t be because you’re not actually the owner of the IP address. If any user could get a cert, they could impersonate any other.
They’re ‘shortlived’ 7 day certs, verified using a HTTP challenge. It doesn’t matter who owns the IP, it’s just a matter of who holds the IP.
It doesn’t look like the normal boot log for Linux (or FreeBSD), so I’m not sure what it is either.
SteveTech@programming.devto
Linux@lemmy.ml•nvidia 470 on debian trixie (kernel 6.12). any ideas?English
3·9 months agoNot really, but once you’ve patched the driver, run
dkms statusanddkms build <id from status>(e.g.dkms build nvidia/580.76.05) to rebuild the driver for your current kernel.When you get it working, it’ll be a good idea to write a little guide here for other people to follow.
Oh no worries!
Also hdparam/nvme-cli will let the drive erase itself, and should be faster than operating through a computer. Like it can take seconds on some SSDs since it wipes the chips in parallel, and some drives are self encrypting, so it just deletes the key, leaving the scrambled data. But those usually won’t work on USB drives.
SteveTech@programming.devto
Linux@lemmy.ml•nvidia 470 on debian trixie (kernel 6.12). any ideas?English
10·9 months agoThe official driver already uses DKMS (at least in the newer drivers), so you should be able to patch the code in
/usr/src/nvidia-470*and have it apply automatically every kernel update.
If it’s an external SSD, I like to format my drives as f2fs, which is a filesystem designed for flash memory, so it might be a bit faster and last longer than ext4. But that’s just personal preference and ext4 should always work fine.
one parallel port (DB25)
You might even be able to use the parallel port as basic GPIO, especially if it’s on the I/O bus and not some sort of PCI adapter.
Just to be that guy,
;is specifically for JavaScript, and should still probably be used. With xHTML there were a few different DTDs that went in the DOCTYPE,Strictbeing one of them.
SteveTech@programming.devto
Linux@lemmy.ml•[SOLVED] how come yt-dlp on a terminal returns bash: yt-dlp: command not found even though I installed it with wget? debian 13English
2·9 months agoDon’t Python scripts need
pythonat the beginning of the command that summons them?Not if the script has a python shebang (e.g.
!/usr/bin/env python3), then it will run like any other script.
You can setup a Forgejo Action that deploys the site using Cloudflare Wrangler. Codeberg uses Forgejo, and GitLab CI/CD should work too.
If Wrangler is too hard I think there’s a webhook thing, but I’m not too sure.
Pretty sure they’re talking about why the meme says, ‘WINDOWS’, ‘LINUX’, and ‘ios’.
SteveTech@programming.devto
Linux@lemmy.ml•[Discussion] Flatpaks, ram/disk usage and compressionEnglish
4·9 months agoIt’s worse with AppImages since they bundle everything in the same file. At least flatpaks do a little bit of deduplication with their platform packages.
SteveTech@programming.devto
Programmer Humor@programming.dev•We don't talk about IPv5English
22·10 months agoFun fact: IP version 5 is actually reserved for the Internet Streaming Protocol.



You can customise your console login with
/etc/issuetoo!