User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
Admin
completely blind computer geek, lover of science fiction and fantasy (especially LitRPG). I work in accessibility, but my opinions are my own, not that of my employer. Fandoms: Harry Potter, Discworld, My Little Pony: Friendship is Magic, Buffy, Dead Like Me, Glee, and I'll read fanfic of pretty much anything that crosses over with one of those.
keyoxide: aspe:keyoxide.org:PFAQDLXSBNO7MZRNPUMWWKQ7TQ
Location
Ottawa
Birthday
1987-12-20
Pronouns
he/him (EN)
xmpp fastfinge@im.interfree.ca
keyoxide aspe:keyoxide.org:PFAQDLXSBNO7MZRNPUMWWKQ7TQ
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Looked at this evening, as I'd never tried it before. The key reason I like better is that Perplexity is another search engine that wants me to type full sentences. How is this better? I want to type "rclone caching", not "Please tell me how rclone caching works and what my options are." Or "airpods pro latest firmware", not "What is the latest firmware version for the Apple Airpods Pro 2?" Kagi does a good job of having AI available when I want it, but still allowing me to search like a normal human being who doesn't want to type so much my fingers fall off. Me caveman. Want short search. Not want lots typing. Want search engine figure out context. Me not provide.
2
5
6
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@adam The difference is that I think Doug’s ego wouldn’t permit him to surrender our sovereignty. The only good thing I can say about Doug, unlike his brother, is that he’s not a bootlicker. If his jackboots can’t be the ones stomping on our faces, he won’t allow it to be someone else’s. And our only choice as Ontarions is who gets to stomp on our faces. I suspect Doug’s are at least not steel toed.
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@adam The sad thing is he’s the only one willing to go to war with Trump to save our country. I wish some of these other spineless cowards would stand up and show some backbone, because I hate Doug. But I hate Trump a lot more.
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@MostlyBlindGamer It also turned out to be right in the fact that I actually did have an APC brand UPS. Obviously we've achieved AGI and it was just able to use the data Google and Facebook have collected about my past purchases to know that. Coincidence? Of course not!
0
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@hyc Interesting that it continues to exist, and is the default in every major distro, then. Apparently Linux is just as subject to enshittification as everything else.
1
0
2
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@tspivey What I did was use a preseed to just reinstall. All the data wasn't on the root partition, so all I lost were some random config files like upsmon.conf that I forgot all about.
0
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
And it's done. I should really change its battery, but it's not complaining.
0
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Okay, does the AI know more about my own hardware than I do?
Scanning USB bus.
No start IP, skipping NUT bus (old connect method)
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "051D"
productid = "0002"
product = "Back-UPS XS 1500G FW:866.L9 .D USB FW:L9"
serial = "3B1711X25292"
vendor = "American Power Conversion"
bus = "001"
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Thanks, AI! I literally just said I have no idea what kind of UPS I have, so you apparently just assumed it was an APC. I can't wait until companies start leveraging AI for advertising.
2
0
2
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
AI generated text I know, let's ask AI! What could go wrong?

Q: How can I get a computer running Debian bookworm to shut down cleanly when it switches to the UPS? The UPS is connected to my computer via a USB cable, but I have no idea what kind it is.

A: To configure your Debian Bookworm system to shut down cleanly when the UPS switches to battery power, you can use a UPS management tool like
apcupsd or NUT (Network UPS Tools). Here's a step-by-step guide:

### 1. Install a UPS Management Tool
Choose one of the following tools based on your UPS type:

#### Option A: Using ``
apcupsd`` (for APC UPS or compatible devices)
1. Install ``
apcupsd``:
```bash
sudo apt install apcupsd
```
2. Configure it:
- Edit the configuration file:
```bash
sudo nano /etc/apcupsd/apcupsd.conf
```
- Set parameters like ``
UPSNAME`, `UPSCABLE`, `UPSTYPE`, and `DEVICE``. For example:
```
UPSCABLE usb
UPSTYPE usb
DEVICE
```
- Save and exit.

3. Restart the service:
```bash
sudo systemctl restart apcupsd
```

4. Test the setup:
```bash
apcaccess status
```

#### Option B: Using ``
NUT`` (for broader UPS support)
1. Install ``
NUT``:
```bash
sudo apt install nut
```
2. Detect your UPS:
```bash
sudo nut-scanner
```
This will help identify the driver for your UPS.

3. Configure ``
NUT``:
- Edit ``
/etc/nut/ups.conf`` to define your UPS.
- Edit ``
/etc/nut/upsd.conf` and `/etc/nut/upsmon.conf`` for monitoring and shutdown behavior.

4. Start and enable the service:
```bash
sudo systemctl enable nut-driver.service
sudo systemctl start nut-driver.service
```

### 2. Configure Automatic Shutdown
Both tools allow you to configure thresholds for battery level or runtime. When these thresholds are met, the system will shut down gracefully. Refer to the documentation for the specific tool you choose.

### 3. Test the Setup
Simulate a power outage to ensure the system shuts down as expected.

### Notes:
- If you don't know your UPS type, try connecting it via USB and running ``
lsusb` to identify it. Alternatively, use `nut-scanner`` from the NUT package.
- For APC UPS devices, ``
apcupsd` is typically easier to set up. For other brands, `NUT`` offers broader compatibility.

Let me know if you need further assistance!
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Did I back up whatever the heck I did to get my server to shut down when it switches to UPS after yesterday's reinstall? No, of course I didn't! Do I remember what I did several years ago? No, of course not! Looks like this afternoon's adventure is all planned out. My brain is mumbling something about upsmon, but it doesn't have any other details to offer.
2
1
5
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@lizzy Yes, as I said in my post, that works if the hardware is dead or removed or otherwise borked. But if there's issues with the filesystem, it'll halt the boot and ask you what to do/how to recover it, landing you in emergency mode.
0
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@remmy Instead of messing with the terrifying mess that is systemd dependencies, I just have permissions set on the mounting directory so processes can't write there. They can only write to the actual mounted filesystem. So thanks for the tip! This will help.
0
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
For anyone complaining about lack of engagement or discovery on the fediverse: the secret is to complain about Linux, and get into arguments about systemd. I'm not sure what the secret on Bluesky is, yet. Maybe complaining about ATProtocol and saying ActivityPub is better?
3
2
13
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@dandylover1 I disagree that the vulgarity is needless. In the year 2025, when OSX, Windows, IOS, and Android can run screen readers in recovery mode, it's obscene that Linux can't. Far more obscene than the use of the word fuck.
3
4
12
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Even completely headless, command line doesn't prioritize in any way. Today I had to reinstall an entire system from scratch because a drive listed in my /etc/fstab died. That makes boot into emergency mode, where you get no SSH, no network, no sound, and no screen reader. There is no quick way to force it to try and boot even though drive 7 of 11 has died, and it could absolutely bring up SSH and the network to let me fix it if it wanted to, just like sysvinit used to do. You can't even force systemd to add SSH and the network to emergency mode because of circular dependencies. nofail will only continue the boot if the drive doesn't exist, but if the filesystem has issues...emergency mode for you. In short: if your drive dies on Linux, fuck you. Be able to see, or reinstall your entire system, because nobody in Linuxland gives a shit about or your needs.
:black_sparkling_heart@fire.asta.lgbt:1:blobcat_cactus@very.tastytea.de:1:drgn_heart@not.an.evilcyberhacker.net:1💙1💜2
17
95
83
6
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@Fragglemuppet Same! I live in the dystopia. I’d like to read about Utopia.
0
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@lynessence Pretty much.
0
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@lynessence No, it’s for saving online articles.
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
So I read a lot both for personal enjoyment, and for work. If you want to see a real time feed of what I'm reading, you can find that here: tinygem.org/fastfinge/
1
2
3
0