|
What are the pros and cons of Pi Hole on Docker vs straight through bash on Raspbian? Does the added layer of abstraction in the container help at all for security? I know I don’t want to advertise it externally, I want to try to keep it as secure as possible since it will be on my wired network. Has anyone installed the Kodi 18 beta? It seems like it has better support for DRM-enabled media, so I’m going to run it and hope the stable version comes out soon. I also see it has a game emulator, anyone know how well it works? Do any of those console-looking cases have power switches that plug into the GPIO header and give an actual shutdown / reset command? I know just hitting the power button on the cable can gently caress your SD card.
|
# ? Sep 19, 2018 19:08 |
|
|
# ? May 12, 2024 09:40 |
|
DizzyBum posted:The 3B+ LAN port is hampered by the USB 2.0 bus, but is still capable of something like ~320Mbps. So if you're doing 100Mbps speedtests on it, you should be fine. It's a big upgrade over the 3B. Thanks. Ultimately decided to pick up a 3B+, and got the initial setup in place tonight. Looks like the 3B+ is going to be spitting out numbers in line with my current internet speed when using speedtest-cli. Guess I'll spend the weekend finding out if I took good enough notes to recreate what I did on the 3B, and decide whether to move the 4x20 LCD over, or try something with ePaper.
|
# ? Sep 22, 2018 06:18 |
|
22 Eargesplitten posted:What are the pros and cons of Pi Hole on Docker vs straight through bash on Raspbian? Does the added layer of abstraction in the container help at all for security? I know I don’t want to advertise it externally, I want to try to keep it as secure as possible since it will be on my wired network. Did you order a new on or did you go for the original model B? A little late to the party but my original model b did not run the pihole well. Each dns request took 2-3 seconds longer than without it so that killed the WAF (wife acceptence factor) so I disabled it and use that pi for other things now.
|
# ? Sep 22, 2018 09:01 |
|
I got a new 3 B+ because I didn't like the idea of being so far behind already when I would probably have to get new parts in there before long if I was going to keep it running all the time. I got the whole thing including keyboard for $60 with careful shopping and discount codes. No ethernet cables or HDMI cables, but I've got boxes full of unused cables.
|
# ? Sep 22, 2018 09:09 |
|
Okay, I think I screwed something up. I enabled Wait for Network on Boot in raspi-config on my raspberry Pi B+ I have it hooked up via ethernet, but I don't have a wifi configuration set for it, and the wifi is turned off. When I shut it down, and turned it back on again, the light came on, but it never connects to the LAN, and booting doesn't seem to happen. Is there a way for me to end run around this "Wait for Network on Boot" so I can have it boot the way it used to? Is there something I can edit on the SD card to disable it? I have a linux virtual machine on my desktop, and can access the filesystem that way, if need be.
|
# ? Sep 23, 2018 01:08 |
|
maltesh posted:Okay, I think I screwed something up.
|
# ? Sep 23, 2018 01:19 |
|
Thanks, I deleted the file. Still having the same issue The red power light comes on, but the green light never blinks. At this point, since everything was in operation a little over than a day, I'm starting to wonder if I'd be better off just wiping the memory card and starting anew.
|
# ? Sep 23, 2018 02:02 |
|
I picked up a Pi 1B and I’m looking to find out how to get the most out of it. I’m thinking it’ll only be good for retro gaming at this point given the specs but I don’t know much. I installed Retropie on a 64GB card but it doesn’t play well with setting up my 360 controller then it refused to boot up again after my power cord fell out of it.
|
# ? Sep 23, 2018 17:27 |
|
Island Nation posted:I picked up a Pi 1B and I’m looking to find out how to get the most out of it. I’m thinking it’ll only be good for retro gaming at this point given the specs but I don’t know much. I installed Retropie on a 64GB card but it doesn’t play well with setting up my 360 controller then it refused to boot up again after my power cord fell out of it. It's really easy to have your SD card get corrupted if the Pi loses power unexpectedly. I had to setup retropie twice due to this and now just keep images of the important cards post-setup on my desktop PC just in case. You will probably have to image it and set it up again. The Pi 1B can play some games although it's obviously not as quick as the newer models. I suspect you can play a lot of stuff but not everything. There will be some trial and error. I also had issues with the Pi 1B doing playback of higher bitrate encodes of shows and movies with Kodi but you should be able to play a lot of things if you want to. There's also a million electronics projects you could use it for, or home automation (domoticz), or whatever. It's a flexible platform because a lot of different things have been developed for it.
|
# ? Sep 23, 2018 19:27 |
|
Rexxed posted:It's really easy to have your SD card get corrupted if the Pi loses power unexpectedly. I had to setup retropie twice due to this and now just keep images of the important cards post-setup on my desktop PC just in case.
|
# ? Sep 24, 2018 23:15 |
|
I've not had a corrupt card in years and years across the 4 pi I have running, all of them different models and all getting the power yanked regularly Just don't cheap out on memory cards
|
# ? Sep 25, 2018 08:27 |
|
Skarsnik posted:I've not had a corrupt card in years and years across the 4 pi I have running, all of them different models and all getting the power yanked regularly Same. And my pi b (original) has been running 24/7 since I got it. That’s what, 5 years already? I should really replace it before it actually dies I guess.
|
# ? Sep 25, 2018 09:41 |
|
Fuzz1111 posted:If you have a Linux PC / boot disk you can usually repair the card filesystem/s with fsck. I’ve been using diskpart in Windows to repair it for now. I put Lakka on a card in place of Retropie but I can’t work on it until Friday
|
# ? Sep 25, 2018 14:39 |
|
Skarsnik posted:I've not had a corrupt card in years and years across the 4 pi I have running, all of them different models and all getting the power yanked regularly This is interesting to me. Do you mean that power loss is causing physical damage/corruption on the card, which is worse in cheaper cards? I thought it was inconsistent filesystem state in software that was the issue. What are the attributes of cheaper cards that make them more susceptible to that corruption? It occurs to me that I don’t really know how they’re made.
|
# ? Sep 25, 2018 14:54 |
|
It has nothing to do with that. It's just luck. If the file system was being written to, it could get corrupted. If it was just idle, it could be fine.
|
# ? Sep 25, 2018 17:08 |
|
I don't know much about flash memory. Maybe more expensive cards are better made and somehow internally more robust than the cheaper ones. I've gotten a vague sense from this thread that the corruption protection in larger flash memory products isn't present in tiny SD cards, and if that is true, then I don't see how the more expensive cards can be better at resisting corruption due to power failure. That said, I had a Kingston card go corrupt and just use the Samsungs I've heard sung about on this thread, and haven't had any issues, and that's with the occasional cord yank. Anyone know?
|
# ? Sep 25, 2018 17:38 |
|
It really just depends if you're doing writes when the power is pulled. SD cards work by erasing entire sectors at a time so when you want to update just one byte it pulls out a big chunk (~512 bytes) to a cache, updates the data, erases the sector, then write the entire updated sector back to the flash memory. The big problem is with your filesystem, it typically has a list of all the data that has to be updated when files are added, deleted, moved, etc. If the power is pulled while that root part of the filesystem is in cache and being updated... kaboom it's all gone.
|
# ? Sep 25, 2018 18:08 |
|
All of my rpi sd card failures have been on runeaudio or volumio during normal operation and not the retropi that I’ll pull the plug on if a controller stops working.
|
# ? Sep 25, 2018 18:20 |
|
mod sassinator posted:It really just depends if you're doing writes when the power is pulled. SD cards work by erasing entire sectors at a time so when you want to update just one byte it pulls out a big chunk (~512 bytes) to a cache, updates the data, erases the sector, then write the entire updated sector back to the flash memory. The big problem is with your filesystem, it typically has a list of all the data that has to be updated when files are added, deleted, moved, etc. If the power is pulled while that root part of the filesystem is in cache and being updated... kaboom it's all gone. It's weird to me that that's the case with a journalling filesystem, since that's exactly the reason one uses such an FS. I guess it's also weird to me that there's an erase step instead of just writing the new sector atomically, but even then. I will have to learn more about this, thanks!
|
# ? Sep 25, 2018 18:23 |
|
Regarding the randomly corrupting SD cards, I saw a video from a Linux conference where the speaker mentions finding a bug in the generic SD infrastructure where probes to detect if the card was present could occur during a read or write and corrupt it. That would explain why the corruption seemed really random since it actually was. This is the video, it should start at the relevant time (30:43): https://www.youtube.com/watch?v=o0milqmt4ao&t=1843s
|
# ? Sep 26, 2018 06:49 |
|
I've done a couple of projects which involved deploying a number of pi's into sketchy environments where the power could go at any moment. We had a reasonable number of them fail at random because the SD cards became corrupt. Some of them could be recovered, in the sense that we could re-image the cards and put them back out in the field, but there were a number of cards that couldn't be re-imaged either, they had to be tossed. I was never able to corrupt my own test cards despite trying very hard to do so, but the failures happened in the field fairly often. My solution was to tweak the filesystem layout so that the OS and my applications were stored on read-only partitions, and I had a writeable partition for storing temporary files. When I needed to push an application update, the update script would remount the root fs as read-write, update whichever files, and then reboot, which mounted the root fs read-only again. This dropped the corruption rate dramatically. I hardly do any dev on the pi's any more, but I have a Pi2B without the read-only root partition shenanigans running Plex Media Server, Transmission, OpenVPN, PiHole and Squid in my home office 24x7, and it's survived a few random power outages without any issue.
|
# ? Sep 26, 2018 11:24 |
|
Island Nation posted:I’ve been using diskpart in Windows to repair it for now. I put Lakka on a card in place of Retropie but I can’t work on it until Friday I should say that corruption hasn't been that much of an issue for me either, mostly its happened due to sdcard actually being yanked out (usually because of stupid unnecessary push-to-eject mechanism on rpi1B+ and rpi2) rather than loss of power.
|
# ? Sep 26, 2018 13:39 |
Out of curiosity: Why do so few/no single-board computers support Power over Ethernet natively? I know there is the PoE hat for RPi, but it enlarges the machine significantly. Apart from a PoE jack having significantly larger footprint on the board, are there any practical reasons why native PoE support isn't a thing?
|
|
# ? Sep 26, 2018 16:01 |
|
I don’t know, but the Pi 3 B+ does. It’s why some 3 B cases don’t fit the +, the chip is a different shape because of the POE bits. Are there any cases that have a power switch built in that connects to the GPIO header and sends a shutdown command to the OS when it’s hit? That seems like a pretty useful feature given the concerns above.
|
# ? Sep 26, 2018 16:15 |
|
nielsm posted:Out of curiosity: Why do so few/no single-board computers support Power over Ethernet natively? I know there is the PoE hat for RPi, but it enlarges the machine significantly.
|
# ? Sep 26, 2018 16:40 |
|
nielsm posted:Out of curiosity: Why do so few/no single-board computers support Power over Ethernet natively? I know there is the PoE hat for RPi, but it enlarges the machine significantly. Until recently PoE switches were pretty expensive, so it's an increase in cost and complexity for something very little of the target market is likely to have. I definitely wish it was a more common option at least, but I can easily understand why it's not. PoE USB splitters aren't too expensive though so it's not too bad to bodge.
|
# ? Sep 26, 2018 16:45 |
|
nielsm posted:Out of curiosity: Why do so few/no single-board computers support Power over Ethernet natively? I know there is the PoE hat for RPi, but it enlarges the machine significantly. It's a weird spec for maker gadgets. 48 volts is huge and requires some work to bring down to 5 and 12, etc.
|
# ? Sep 26, 2018 18:26 |
evil_bunnY posted:My guess is the regulator and ancillaries add non-trivial BoM and real estate requirements. wolrah posted:Until recently PoE switches were pretty expensive, so it's an increase in cost and complexity for something very little of the target market is likely to have. mod sassinator posted:It's a weird spec for maker gadgets. 48 volts is huge and requires some work to bring down to 5 and 12, etc. All good arguments. I hope it can become more common, at least in some devices tailored less towards development and toy use.
|
|
# ? Sep 26, 2018 19:19 |
|
pairofdimes posted:Regarding the randomly corrupting SD cards, I saw a video from a Linux conference where the speaker mentions finding a bug in the generic SD infrastructure where probes to detect if the card was present could occur during a read or write and corrupt it. That would explain why the corruption seemed really random since it actually was.
|
# ? Sep 27, 2018 05:27 |
|
peepsalot posted:Is this polling corruption thing confirmed/still an issue on RPis? I don't know, he doesn't mention how exactly they fixed it but hopefully they upstreamed their changes. Maybe someone else knows how to find out.
|
# ? Sep 27, 2018 19:31 |
|
Has anyone else noticed their iPazzPort symbol keys not working right? Off the top of my head, backslash is @, pipe is ~, and I know there's something that makes # instead of what it's supposed to be. Tilde makes the not equals logical symbol. Makes any sort of terminal work a real pain in the rear end. Also sometimes the touchpad freaks out. Not sure why. It will run all over the place and start left-clicking at random.
|
# ? Sep 28, 2018 20:19 |
|
22 Eargesplitten posted:Has anyone else noticed their iPazzPort symbol keys not working right? Off the top of my head, backslash is @, pipe is ~, and I know there's something that makes # instead of what it's supposed to be. Tilde makes the not equals logical symbol. Makes any sort of terminal work a real pain in the rear end. Check what keyboard language you have set with raspi-config. I think it defaults to GB instead of US.
|
# ? Sep 28, 2018 20:46 |
|
Ah. That would make sense given they are British. Weird that setting the country code to enable WiFi wouldn’t change the layout. Does Pihole reliably start up again on reboot? Last time it did, which I wasn’t expecting. I was about to write a Bash script to run on boot to do that.
|
# ? Sep 28, 2018 21:21 |
|
Err, why would this happen on a RPi3 B+?code:
--edit: Ran rpi-update, now it sees the full 1GB. --edit2: Regardless of that, the RPi 3 B+ sure seems to run hot on idle. That can't be good for the SD card? Combat Pretzel fucked around with this message at 21:34 on Oct 6, 2018 |
# ? Oct 6, 2018 21:12 |
|
I'm interested in using my 3 B+ as a pi-hole. The twists are that my internet connection is via an android mobile hotspot and doesn't involve a router of any sort, and that I don't know anything about routers or networks etc. Can I buy a wireless router that: gets its internet connection from a USB (or wirelessly) connected cell phone, serves this internet connection to the computers and other devices in my house, and connects to my PI for the pi-hole DNS lookups?
|
# ? Oct 7, 2018 07:33 |
|
Newf posted:I'm interested in using my 3 B+ as a pi-hole. The twists are that my internet connection is via an android mobile hotspot and doesn't involve a router of any sort, and that I don't know anything about routers or networks etc. if you're current hotspot uses a SIM then, yes, plenty of routers that support connnecting using a 3/4G network. I've used some of these to give customers emergency internet when their main service is down: https://www.tp-link.com/uk/products/list-4691.html
|
# ? Oct 7, 2018 08:44 |
|
22 Eargesplitten posted:Ah. That would make sense given they are British. Weird that setting the country code to enable WiFi wouldn’t change the layout. Pihole has started after a reboot every single time for me, have used it for ~3 years. Why wouldn't it?
|
# ? Oct 7, 2018 09:30 |
|
Pi-hole has booted without fail except on two occasions: A corrupt SD card, and no disk space left.
|
# ? Oct 7, 2018 12:44 |
|
Dead Goon posted:Pihole has started after a reboot every single time for me, have used it for ~3 years. Why wouldn't it? I just don’t expect stuff on a device this barebones to automatically set itself to run on startup.
|
# ? Oct 7, 2018 16:09 |
|
|
# ? May 12, 2024 09:40 |
|
22 Eargesplitten posted:I just don’t expect stuff on a device this barebones to automatically set itself to run on startup. Thats...not the way computers work.
|
# ? Oct 7, 2018 16:31 |