|
Just-In-Timeberlake posted:So I got an pi4 and turned it into a little headless htpc with a couple of 2TB drives hooked up to it. It's running SABnzbd as the Usenet downloader, with Radarr and Sonarr doing the heavy lifting of finding things, running Plex so Commercial VPN services are for two things: P2P and accesssing geoblocked content. There is no benefit to using one with Usenet unless your ISP is just straight up blocking your Usenet provider. Those who actually care about securing their own normal web browsing when on untrusted networks should follow Subjunctive's advice and roll their own either at home on a Pi or whatever or with a trusted VPS provider.
|
# ? May 11, 2020 16:54 |
|
|
# ? Apr 25, 2024 16:18 |
|
wolrah posted:Like Skarsnik said if you're just using Usenet then enable TLS and don't worry about it. yeah, I just turned on use SSL and called it a day
|
# ? May 11, 2020 17:58 |
Maybe this is a dumb question, but is there a way I can pre-configure a raspbian instance on my desktop before copying it to the pi's SD card? The pi itself is in kind of an inconvenient place to set it up as a full-head device while still being connected via ethernet to our router, so if I can get a basic raspbian image ready with the ability to ssh into it as soon as I put the card in the pi and turn it on, that would make things infinitely easier to mess with actually doing other stuff with it later. E: Apparently googling the correct search terms is what you need! I found a guide on it. taiyoko fucked around with this message at 22:58 on May 11, 2020 |
|
# ? May 11, 2020 22:55 |
|
taiyoko posted:Maybe this is a dumb question, but is there a way I can pre-configure a raspbian instance on my desktop before copying it to the pi's SD card? The pi itself is in kind of an inconvenient place to set it up as a full-head device while still being connected via ethernet to our router, so if I can get a basic raspbian image ready with the ability to ssh into it as soon as I put the card in the pi and turn it on, that would make things infinitely easier to mess with actually doing other stuff with it later. https://www.pibakery.org/
|
# ? May 11, 2020 23:20 |
|
taiyoko posted:Maybe this is a dumb question, but is there a way I can pre-configure a raspbian instance on my desktop before copying it to the pi's SD card? The pi itself is in kind of an inconvenient place to set it up as a full-head device while still being connected via ethernet to our router, so if I can get a basic raspbian image ready with the ability to ssh into it as soon as I put the card in the pi and turn it on, that would make things infinitely easier to mess with actually doing other stuff with it later. I imagine you found it already but you just have to put a file called ssh in the root directory and you're good to go.
|
# ? May 12, 2020 03:04 |
|
Just a quick sanity check... the Pi Zero/W only have one functional USB port, right? In the pictures they have two so I almost bought the regular Zero because I thought I could hook up a printer and ethernet adapter, but it seems like one is just a dummy power port. I have a USB hub around somewhere, does it work fine with a hub in practice? The doc says this: quote:4. Single-TT USB hubs
|
# ? May 12, 2020 14:01 |
|
One is power and the other is Ethernet. It should work fine with a powered hub but I’d generally recommend going with the ZeroW just to avoid having to deal with another dongle.
|
# ? May 12, 2020 14:53 |
|
If you have the USB ports on top and facing you, the port to the right is only a power input. The left USB port, the one closer to the center, can be used to power the device and can also provide USB functionality in both directions. By default it operates in host mode where with the right adapter it can use any standard USB 2.0 devices (including hubs) that Linux supports, but you can put it in to device mode instead and make it act like a flash drive, ethernet adapter, input device, USB-Serial, or a few other things. Technically that multi-mode port should be a Micro-AB connector because it supports host mode, but I've only seen that actually done right once ever. Everyone else seems to have just decided that Micro-B is fine for OTG capable devices. That said, if you're at the point where you're adding a USB hub and an ethernet adapter to a Zero it generally makes more sense to use a full size Pi.
|
# ? May 12, 2020 15:51 |
|
Great, thanks for clarifying this. I thought I'd be able to get away with the Zero and two usb devices but yeah either a normal Pi or a W would make more sense than this contraption.
|
# ? May 12, 2020 17:55 |
|
Can somebody recommend me a desktop OS? I’m using the 4gb rPi4. So far I’ve looked at raspbian, Ubuntu, and manjaro but I’m a bit confused by KDE vs XFCE, Ubuntu vs LUbuntu/etc, and so on. It also seems like the only version of Ubuntu supported by canonical on rpi is Ubuntu Server, am I going to see a practical difference? Should I just stick to Raspbian?
|
# ? May 13, 2020 20:04 |
|
Ok Comboomer posted:Should I just stick to Raspbian? Longer answer: Raspbian is going to be the lightest and most acutely developed for the Pi's shortcomings IMO. And the Pi's shortcomings are many. Not sure where you're getting recommendations for Lubuntu for the Pi. Start with these OS's: https://www.raspberrypi.org/downloads/ I played around with Ubuntu MATE on the Pi, and it's neat seeing something so pretty run on a teeny little box, but ultimately Raspbian worked better since it's more stripped down. doctorfrog fucked around with this message at 21:11 on May 13, 2020 |
# ? May 13, 2020 21:07 |
|
I tried DietPi and it seemed to work just fine. Not sure if it's lighter than Raspbian but had the advantage of having a setup for lots of popular things.
|
# ? May 13, 2020 21:26 |
|
I forgot about DietPi. I should check that out someday.
|
# ? May 13, 2020 23:52 |
|
Working on an application based on a Pi Zero and we need a dual band Wi-Fi USB dongle, but it seems like all of the ones that work with Linux are 3-4 inches long, whereas all of the ones that are less than a half inch or so long won't work with Linux and only have Windows or iOS drivers available. Am I missing something?
|
# ? May 14, 2020 20:07 |
|
Thank you guys for recommending Lakka to me, runs like a dream and I'm having a blast playing Dreamcast and PSX games on it. I found the upscaling option for PSX games and while it warns me that it can be slow, it actually runs incredibly well on the Pi 4. Only 1 game I've found has issues and the workaround was fairly easy for that. Aside from bluetooth being sort of a bitch to get going properly, it's really been quick and easy.
|
# ? May 15, 2020 18:42 |
|
Thanks for the suggestions everyone re. Pi and printing. I got my Zero W in the mail today and I just printed my first page wirelessly after about two hours of dicking around. On Android, at least, it works. On Windows, the printer is initially found, but when I click "Add", after a moment it says "Status unavailable" and nothing happens. When I refresh it, the printer doesn't get discovered any more. Weird (and makes the whole thing useless ) but I'll leave it for now. E: It seems to work if I add it manually though IPP, huh. I Demand Food posted:Working on an application based on a Pi Zero and we need a dual band Wi-Fi USB dongle, but it seems like all of the ones that work with Linux are 3-4 inches long, whereas all of the ones that are less than a half inch or so long won't work with Linux and only have Windows or iOS drivers available. Am I missing something? No, you're not missing anything, it probably depends on the chpset and the cheaper/shittier ones have windows drivers. I've been using an older version of this thing, it's pretty big too: https://www.fasttech.com/product/9656497-mantistek-dual-band-1200mbps-wireless-usb-3-0-lan mobby_6kl fucked around with this message at 23:35 on May 15, 2020 |
# ? May 15, 2020 21:23 |
|
khy posted:Thank you guys for recommending Lakka to me, runs like a dream and I'm having a blast playing Dreamcast and PSX games on it. I found the upscaling option for PSX games and while it warns me that it can be slow, it actually runs incredibly well on the Pi 4. Only 1 game I've found has issues and the workaround was fairly easy for that. Aside from bluetooth being sort of a bitch to get going properly, it's really been quick and easy. How's dreamcast run? I have been meaning to try it out but I assumed it would be hit or miss. And yeah, my experience with PSX has basically been flawless.
|
# ? May 16, 2020 14:53 |
|
Not sure where this question should go but I’ll start here. I created a standalone Pi camera for my wife for her birthday. She loves taking pics, video, time-lapse, etc and the raspberry pi with camera module was something I had already and I went ahead and made her one using a github project I found. You can control the camera completely through a web interface hosted on the pi. Works great on WiFi in our house. But I was thinking, if we take it on a trip it would be cool to just have it use our iphones hotspot. Of course, then the phone can’t talk to it, since the devices on the network are rightly segregated. I was thinking of getting around this using a vpn or wireguard maybe? Two devices could be on the same network that way, correct? It doesn’t need a lot of bandwidth, it’s a really simple interface on the pi in html on Apache on port 80. We’d wait until we got home to get stuff off of it. Does this sound feasible? Is there an easier way I’m not thinking of? Bonus points for being able to do it completely offline, like if we were in a remote area out of cell range, but that isn’t strictly necessary. Let’s start off saying the phone will I’ve internet access. edit: Here's the software I used in case it helps/matters https://github.com/silvanmelchior/RPi_Cam_Web_Interface https://elinux.org/RPi-Cam-Web-Interface#Installation_Instructions namlosh fucked around with this message at 17:26 on May 17, 2020 |
# ? May 17, 2020 17:18 |
|
If I'm understanding your setup correctly, you should be still able to access the camera if it's connected to your iphone hotspot. But maybe it's an iphone thing. The way I usually do with my ESPs (cameras or otherwise) is that they act as the access point, and I connect to them with my phone/laptop whenever needed.Then it's not dependent on any existing infrastructure. I don't know how exactly it's done with the Pi, but after a quick search it should be possible.
|
# ? May 17, 2020 18:26 |
|
mobby_6kl posted:If I'm understanding your setup correctly, you should be still able to access the camera if it's connected to your iphone hotspot. But maybe it's an iphone thing. Hmmmm, I hadn’t thought of that. Making the pi camera a WiFi hot spot and having the iPhone connect to it would be a way to go. Wouldn’t need internet while it’s just controlling the camera. Is there an easy setting for configuring the pi as a WiFi hot spot? If anyone knows chime in, but I’m sure I can google it. Thanks!
|
# ? May 17, 2020 22:28 |
|
Apologies in advance for what has got to be a dumb question, but I recently bought a Pi 4 in the hopes of replacing my laptop as my Plex server. Now, this is my first Pi experience and my first Linux experience so I absolutely take the blame for biting off more than I can chew, but the youtube tutorials made everything sound so simple... I'm using Raspbian and I tried going through these tutorials (and some others, but honestly they pretty much all said the same thing), and the installation mostly works; I can get to the web interface, I can log in to Plex, but I have 2 issues (that I think are related) 1. At every boot, Plex asks me to claim this server with my account. Not a huge deal in itself since it takes a second to fix and I don't plan on rebooting that often, but I think it's a symptom of the same problem as no. 2 (which is that the Plex app is missing permissions to write or read or whatever I don't get Linux) 2. Every USB HDD that I've tried "works" (as in, it shows up in the GUI, I can see the files in the Explorer), but Plex can only see the drive but apparently not the directories and scanning the library turns up nothing. Faffing about on Google leads me to believe it's a permission thing, but I have no idea how to go about fixing that. Some of the tutorials that I tried to follow told me to change the Plex user from "Plex" to "Pi", but they tell me to do it by editing /etc/default/plexmediaserver.prev, which apparently isn't used anymore (which would fit with my experience of this file not existing despite the installation being apparently successful). I really hope that I'm missing something obvious and that someone can help me with this. This morning I'm trying to install DietPi and I can't even get that to install, so I'm trying to follow another tutorial again. Thanks in advance for you help!
|
# ? May 18, 2020 13:33 |
|
CordlessPen posted:Apologies in advance for what has got to be a dumb question, but I recently bought a Pi 4 in the hopes of replacing my laptop as my Plex server. Now, this is my first Pi experience and my first Linux experience so I absolutely take the blame for biting off more than I can chew, but the youtube tutorials made everything sound so simple... That absolutely sounds like a permissions issue, and literally having done what you are doing right now a few weeks ago I got to figure that out. Plex runs under the 'plex' account, so you need to give that account R/W access to the relevant directories. Third answer down should help you out: https://askubuntu.com/questions/150909/plex-wont-enter-my-home-directory-or-other-partitions
|
# ? May 18, 2020 14:58 |
|
You can try adding the Plex user to whatever group has access, but my experience with the pi is that it usually ignores what I'm trying to do.
|
# ? May 18, 2020 15:53 |
|
Yeah getting your head wrapped around permissions for Linux can take some getting used to. Would our goon friend be better off doing the container route? It’s pretty much a turnkey situation once set up, but I don’t know if that would be ideal for a raspi server.
|
# ? May 18, 2020 15:57 |
Has there been any progress on 64-bit OS stability on the Pi 4s? I tried Ubuntu Server when it first became available but was having some issues with it such as it randomly dropping all networking ability (it would still be running and I could plug a monitor/keyboard in, but SSHing or accessing it via the IP/port I had a service running on didn't work). Would like to try again mostly so I can use the newer versions of MongoDB.
|
|
# ? May 27, 2020 19:26 |
|
I've been trying it for a few days and it's still a bit of a mess. Ubuntu 20.04 arm64 install is a _real_ pain in the rear end right now. I had to totally disable cloud-init as it was overwriting the wifi config and doing all kinds of stuff that made no sense. I eventually got a full DE going with the ubuntu-mate-desktop package install and it was extremely flakey and bad in X11. The screen randomly glitches out and stops repainting chunks. Bluetooth and wifi connectivity are very bad and flakey. Logs don't have any useful info to troubleshoot. Overall it feels very slow and not as fast as it should be either--my pi 4 4GB should be as snappy and fluid as top end chromebooks but it feels worse than the pi 3. Oh and don't even bother trying their new native USB boot stuff. I blew a few days on it and it's not working, period. I only got it to work with Raspbian's default 32 bit image. It's neat booting from a SSD over USB when it works, but I don't trust it at all right now and their forum has a few threads with many issues people are finding. So IMHO stick with plain old 32-bit Raspbian. Honestly I'm looking for a better arm64 board, it's pretty clear from the Pi forums and devs that post there that arm64 is not a priority at all for them. I have a feeling some of the other SBCs that use armbian are in a better state.
|
# ? May 27, 2020 19:58 |
|
What would be the benefit of 64 bit for the typical use cases for a pi? It'd be great to have it but I'm not surprised it's not a priority for them.
|
# ? May 28, 2020 08:30 |
|
using numbers larger than 4 billion
|
# ? May 28, 2020 08:51 |
|
There's now a 8GB variant of the Raspberry Pi 4, priced at $75
|
# ? May 28, 2020 08:55 |
|
Was just about to post that. Still no 64 bit Raspbian though. They say the 32bit PAE kernel can allow different processes to use more memory. And suggest Gentoo or Ubuntu if you want 64bit.
|
# ? May 28, 2020 09:00 |
|
taqueso posted:using numbers larger than 4 billion You need more than 4 billion digits of Pi?
|
# ? May 28, 2020 09:05 |
|
Varkk posted:Was just about to post that. Still no 64 bit Raspbian though. They say the 32bit PAE kernel can allow different processes to use more memory. And suggest Gentoo or Ubuntu if you want 64bit. It's buried at the end of the announcement but they're also working on a 64bit version of the OS: quote:Not to be left out, today we’ve released an early beta of our own 64-bit operating system image. This contains the same set of applications and the same desktop environment that you’ll find in our regular 32-bit image, but built against the Debian arm64 port. It's only a beta and it seems to have some big drawbacks at the moment: quote:Known issues
|
# ? May 28, 2020 09:12 |
|
Ah, well then. E: although this raises more questions really, I guess it could be great for a database server Wibla posted:You need more than 4 billion digits of Pi? You'd need a whole cluster of these probably! mobby_6kl fucked around with this message at 10:13 on May 28, 2020 |
# ? May 28, 2020 09:44 |
|
What is the actual usecase for this? Other then making a profit from people who will buy this without thinking because they want the biggest number.
Raygereio fucked around with this message at 12:41 on May 28, 2020 |
# ? May 28, 2020 12:38 |
|
Raygereio posted:What is the actual usecase for this? Other then making a profit from people who will buy this without thinking because they want the biggest number. Docker hosts and tiny compute clusters is what would make sense with more than 4gb of ram on a rpi4(or a series of)
|
# ? May 28, 2020 13:25 |
|
Raygereio posted:What is the actual usecase for this? Other then making a profit from people who will buy this without thinking because they want the biggest number. Lots of cache means less I/O—could be good for handling video assets, or just as a static web server for a large collection of images like a maps sort of back end?
|
# ? May 28, 2020 14:03 |
|
mobby_6kl posted:What would be the benefit of 64 bit for the typical use cases for a pi? It'd be great to have it but I'm not surprised it's not a priority for them. Unlike your standard intel and amd processors where 64bit was mainly for more memory, on ARM 64bit brought new instructions and improved performance.
|
# ? May 28, 2020 17:58 |
|
MikusR posted:Unlike your standard intel and amd processors where 64bit was mainly for more memory, on ARM 64bit brought new instructions and improved performance. Debatable. Most instructions there is no gain in having 64 bit width. Depending on the design there can also be memory bandwidth bottlenecks. 64 bit programs also tend to be larger. I'm not advocating either here. Just saying that one or the other can be better depending on the use case.
|
# ? May 28, 2020 22:14 |
|
SlowBloke posted:Docker hosts Yeah exactly. Four raspberry pi 8gb is enough to run a k3s or even a full kubernetes cluster with all of your apps and poo poo CPU hasn't been a bottle neck for years and years on SBC, it's mostly memory. I would buy just one 32GB raspberry pi for $150 if one were avalible 8GB pi 4 is an ideal size/price point for multi device clusters.
|
# ? May 28, 2020 23:00 |
|
|
# ? Apr 25, 2024 16:18 |
|
MikusR posted:Unlike your standard intel and amd processors where 64bit was mainly for more memory, on ARM 64bit brought new instructions and improved performance. For a few years there was a project in the Linux Kernel that was picked up by a few distros early on but never really caught on called "x32" that runs the CPU in 64 bit mode but uses 32 bit pointers so applications can use the new registers and other features while still retaining the same memory footprint as standard 32 bit code. x32 was released in 2011, made the kernel in 2012, and was proposed for deprecation in 2018 (though hasn't officially been removed) because no one really ended up caring about it all that much.
|
# ? May 29, 2020 14:19 |