Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Blue Footed Booby
Oct 4, 2006

got those happy feet

wolrah posted:

The WiFi on Pis at least is known to be a significant CPU hog, to the point that it's explicitly not recommended to add a webcam to Octoprint setups based on a Zero W because it starts impacting the ability for the Pi to keep feeding the printer data. It's so bad that constant WiFi activity from a video stream literally bottlenecks a 115200 bit/sec serial connection. The 3 and newer have enough CPU horsepower that it's not really a big deal, but the Zero is really a single tasking machine.

Beyond that I personally would never use a Zero W as a piece of my core network infrastructure either, just because it's wireless. Servers go on wired connections, period.

You can use a wired connection with a Zero W you just need an ethernet dongle. I had no problems using one for pihole, but it's so slow that anything else--including loading the package manager--is go-make-a-sandwich slow.

Blue Footed Booby fucked around with this message at 17:35 on Jun 22, 2020

Adbot
ADBOT LOVES YOU

Blue Footed Booby
Oct 4, 2006

got those happy feet

I have a pi 4 with a power supply straight from the official people. I tried to set it up with an SSD using this enclosure. It kinda acted like it was working, got past the point where it would tell me if I didn't have a new enough version to boot from USB, then showed me a wall of nonsense.

Edit: click to embiggen. Photo ended up way bigger than I intended.

I googled and found people with the same error messages, but not the same situation, and was wondering if any of y'all have any thoughts. Suggestions included problems with the power supply, but I'm not sure (or sure how to tell) if that means getting a new cord or a powered dick or what.

Blue Footed Booby fucked around with this message at 01:24 on Aug 13, 2020

Blue Footed Booby
Oct 4, 2006

got those happy feet

astral posted:

Most likely you either need a powered enclosure for the drive or a powered USB hub in between.

Oo, I hadn't thought of the USB hub.

Blue Footed Booby
Oct 4, 2006

got those happy feet

mod sassinator posted:

get a pi4 instead of a pi zero too. a single core proc really sucks for a running as a server, especially one that's so critical that every single web request in your house is blocked by it. the pi 4 runs plain old ubuntu 20.10 now too so you can forget all the garbage hacks and quirks of raspbian too

The zero works fine if you just use pihole. If you have it to do absolutely anything else at the same time it starts to be a problem.

I'd say if you're going out and buying something, just get a 4 so you can fool without it. But if you have a zero lying around it can be your pie hole.

Blue Footed Booby fucked around with this message at 20:19 on Oct 25, 2020

Blue Footed Booby
Oct 4, 2006

got those happy feet

I'm making an image of a pi's SD card so I can write it to...something that isn't an SD card. Win32 Disk Imager tells me runtime so far is 1:80:32. This is fine.

Edit: gah, after 1:99:59 it rolled over to 2:00:00, but now it's at 1:112:40.

Blue Footed Booby fucked around with this message at 01:16 on Jan 14, 2021

Blue Footed Booby
Oct 4, 2006

got those happy feet

i vomit kittens posted:

Does anyone else using PiHole have issues with it locking the filesystem after losing power suddenly? I have two Pis, a Zero and a 4. I've experienced the same problem on both, but only when they're running PiHole; the one that's doing other things works fine after a power outage. The only way to fix it seems to be reimaging.

I had an install eat itself after a power outage, but I have no way to verify it was pihole's fault. Mostly I just have issues with it not connecting to the internet after a power cycle until I disconnect and reconnect the ethernet.

Blue Footed Booby fucked around with this message at 16:13 on Jan 22, 2021

Blue Footed Booby
Oct 4, 2006

got those happy feet

Cojawfee posted:

For something like that, I highly suggest getting a cheap battery backup, the simplest 400-600 VA unit ought to do it. You can install the APC UPS daemon on a pi and you can set it up to safely shut down the pi when power is cut to make sure your file system doesn't get borked.

Duly noted! Currently I have the pi in a little aluminum case, hooked to a powered USB drive enclosure for full-size drives that currently contains an SSD held in position with cut up toilet paper tubes. This is probably going to end with a case made from an amazon box and burning my house down. :yaybutt:

Now off to get sonarr and transmission working.

Blue Footed Booby fucked around with this message at 16:46 on Jan 22, 2021

Blue Footed Booby
Oct 4, 2006

got those happy feet

Blue Footed Booby posted:

...

Now off to get sonarr and transmission working.

I got it working with authentication disabled in transmission. Then when I enable auth it tells me there's an authentication error. Except the web interface works using the same exact name and password (I copy pasted from a text file to make sure). Sonarr is in a docker container; transmission is not. Turning off both whitelist options in transmission via the config changed nothing. Googling is finding a bunch of things my problem definitely isn't, like issues that happen when sonarr and the torrent client are in different containers, or not stopping the daemon before editing the config json file.

Any thoughts? My past few issues were the result of me doing something dumb but I'm having trouble figuring out how to narrow down what the dumb thing is with nothing useful in the log for sonarr, and no log at all for transmission.

Blue Footed Booby
Oct 4, 2006

got those happy feet

tuyop posted:

I remember needing to copy the hashed password from a config file or use secrets file instead of just the human-entered one.

It automatically replaced the password in the config with the hashed version when I restarted the daemon. Was it something other than that?

Blue Footed Booby
Oct 4, 2006

got those happy feet

tuyop posted:

I’m testing a version of this in docker right now, actually. Is there any reason you can’t run transmission as a container as well?

Edit: Nah, got stuck in a permissions hate loop so I'm not going to get to test that tonight. Sorry!

Haha, no worries. This project is basically taped together shower thoughts, where I'll get stuck, set it all down, and randomly think of something else to try hours or days later. It's kind of a zen way to learn linux and poo poo.

Dominoes posted:

It's easy to think of computers as the devices with keyboards and mice we interact with regularly, or maybe smartphones. They have screens and speakers; they run arbitrary software, usually many pieces of it at once. They run an operating system like Linux, iOS, or Windows. They crash, do automatic updates, and let you browse the web.

It's easy to forget all the other computers around us. The ones that control the radio, or fuel injection system in your car. That control your watch, or dishwasher. The systems that manage the flight controls or navigation systems on an airplane. The seeker on a bomb. The systems in Voyager, the ISS, and GPS. The radar in the nose of a fighter jet, or the one that helps you not hit the other cars when parking in a European garage.

My favorite part of the information age is that processors are so powerful these days that lots of stuff has horsepower to spare because it was genuinely cheaper to buy some unnecessarily powerful chip that's already made by the million rather than something bespoke that's closer to what's needed. Thus when some third-rate manufacturer fucks up, you end up with a botnet of lightbulbs and refrigerators taking down Netflix for hours.

Blue Footed Booby
Oct 4, 2006

got those happy feet

beefnoodle posted:

It can’t block DNS over HTTP, which is how lots of ads get delivered these days.

https://www.nigelayen.com/technology/dns-over-https-and-pihole-on-raspberry-pi/

I'm not the most knowledgeable guy about networks and the internet, but I have set up pihole. By default pihole doesn't use https, meaning that it only blocks ads from dns over http. The article you linked is about setting up dns over https (for a pihole that's also a DHCP server).

Blue Footed Booby
Oct 4, 2006

got those happy feet

Achmed Jones posted:

the transmission daemon will write its config file when it exits. this means that if you change the password (or auth settings) in the conf file while the daemon is running, your changes will be overwritten when you hup the daemon.

it's dumb, but turn it off, make your changes, then turn it on

Have they ever given a reason for doing it this way? So many people run into this problem that when anyone asks a question about transmission not doing what they expected everyone assumes this is their problem, sometimes even when they explicitly specify they stopped it first, or their troubleshooting describes getting different results for different things meaning they have to be stopping it in between.

Blue Footed Booby
Oct 4, 2006

got those happy feet

Cojawfee posted:

I have a 5800X and 32GB of RAM and MS Word is stuttery and slow as hell. I don't know how Microsoft is so bad at this. Every other program is snappy and responsive, but sometimes Word just takes a second to recognize that I've typed something and then it all shows up at once. Don't expect a pi to be good at much of anything that requires a GUI at a usable resolution.

Way back when windows 8 was being developed, MS was talking about finally killing the win32 API. The office team unilaterally killed that. They represent a big enough revenue stream that they can just...not fix their poo poo.

Blue Footed Booby
Oct 4, 2006

got those happy feet

MikusR posted:

Boot from USB and use the built in one.

Since he's building a custom case I don't think he wants the board's rear end hanging out.

Blue Footed Booby
Oct 4, 2006

got those happy feet

wolrah posted:

This can cause very unpredictable behavior with at least Windows clients where they can decide to switch over to the secondary based on a single slow response and they will stick there for a period of time meaning that you lose whatever your Pi-Hole or other special DNS configuration was providing.

Yeah, this is why I use a pi that boots from a USB SSD. It hasn't eaten itself since I set that up. Though a few times I had to restart it twice after an update.

Blue Footed Booby
Oct 4, 2006

got those happy feet

wolrah posted:

Please don't take this as me picking on you in particular, this comes up every now and then and I've never been able to figure it out so I felt the need to ask.

What led you to the idea of a Pi as a router?

Like I said, this comes up regularly so you're far from the only person, I just don't get why the idea is so persistent because the Pi family is historically famously bad at networking and even the Pi 4 that doesn't suck at it has very limited capabilities.

People who are new to the platform have no idea what the Pi is historically bad at, but do know what a router is. It's one of a relatively short list of "how can I learn about Thing" projects that don't depend on some non-computer hobby. In other words, basically all prospective pi users use a router, but only a subset have a need for automated plant watering, a dedicated _____ server, or a pornography enabled toaster. So it makes sense that it's relatively common as babby's frist pi project.

Blue Footed Booby
Oct 4, 2006

got those happy feet

MikusR posted:

That's why i have been booting from usb disk since rpi1.

This. To anyone using a pi to do pretty much anything, the second you have an unused drive lying around, buy a cheap enclosure/adapter and use that. SD cards suck.

Edit: or what Beowulfs_Ghost said.

Blue Footed Booby
Oct 4, 2006

got those happy feet

GreenBuckanneer posted:

How is the RP zero W as a pihole? Would the wireless aspect have too much latency?

I see there are ways to give it ethernet, but I really would want a case for it, but I am not seeing much unless you have a 3D printer...

I used one for a while with a USB Ethernet adapter. It worked a treat. I even had a case for it but I can't remember who I got it from.

Edit: it was this case though I actually got it in a "kit" with power cord, some adapters, etc that was on sale for less than the sum of the cost of those parts individually. Point being, shop around.

Blue Footed Booby fucked around with this message at 18:10 on Nov 10, 2021

Blue Footed Booby
Oct 4, 2006

got those happy feet

Warbird posted:

I just picked up one of those m.2 Argon cases and a drive to go with it. I’m angling to use one of my extra Pi4s as a workstation machine instead of ssh-ing to my NAS host. I know I won’t get the full range of performance there, but it should be zippy enough to putter around and no more SD card go boom.

I fantasize about cramming one into the body of my old Asus netbook. I live the form factor and shape.

Blue Footed Booby
Oct 4, 2006

got those happy feet

namlosh posted:

This is what I do… screw using the pi for a critical network service

I run my pihole on a pi because I am brave and virile, and also because it's not really the end of the world if it shits the bed.

But I love how easy it is to do containers and VMs and poo poo these days. It's like magic.

Blue Footed Booby
Oct 4, 2006

got those happy feet

Cabbages and Kings posted:

... "is the weed shack looking okay" ...

I assume this is a jokey way to say one of the cams watches your back yard, but I'm imagining, like, tactical fast response teams in case lives depend on the shack getting a fresh coat of paint.

Blue Footed Booby
Oct 4, 2006

got those happy feet


Please elaborate.

Blue Footed Booby
Oct 4, 2006

got those happy feet

I already have PieVpn set up so I was mostly just thinking it would benefit folks maybe trying to choose between the two to have more than a name to go off of.

PieVPN isn't exactly rocket science, so I have a hard time imagining anything else being THAT much easier or better since it's still wireguard, but it sounds worth considering for anyone starting fresh.

Blue Footed Booby fucked around with this message at 16:09 on Sep 8, 2022

Blue Footed Booby
Oct 4, 2006

got those happy feet

PBCrunch posted:

Please Jesus let the next Raspberry Pi have at least the option for 16 GB or so of reliable onboard storage. Most microSD cards are dogshit and it can be tough to find the good ones because of counterfeiters.

You can boot the 4 from USB, but yeah, agreed.

Blue Footed Booby
Oct 4, 2006

got those happy feet

kliras posted:

thanks. maybe i should just stop using the pi-hole at this point tbh. the lack of reliability is frustrating, and i don't think it's the first time an sd card is busted

I upgraded some PC components and had an extra SSD putting around, so I connected that to my pi in place of the SD card and never had any more trouble. If you'd have to buy a drive you're better off with an eBay laptop. But if you already have one you're not using, it's basically a set it and forget it solution.

Blue Footed Booby
Oct 4, 2006

got those happy feet

AlternateAccount posted:

Is there anything fancier/better than SD besides just booting from a USB3 stick instead?

You can also use USB to a SATA SSD you happen to have lying around.

Blue Footed Booby
Oct 4, 2006

got those happy feet

Warbird posted:

You should probably be running log2ram out of the box to try and preserve your SD card as much as possible. Throwing on some decent log rotation would be the next thing to do.

Or boot off media that isn't an SD card.

Adbot
ADBOT LOVES YOU

Blue Footed Booby
Oct 4, 2006

got those happy feet

eightysixed posted:

Pi4 for PiHole is way overkill.
I’ve been running PiHole on a Pi1 for the better part of a decade.

A 4 has enough grunt to do pihole and other stuff too. Mine is also a wireguard server and NAS for my MP3 library.

Note that the 4 can boot from USB media. If you've got a spare SSD lying around you can totally sidestep the technical Achilles heel of the pi family.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply