|
So I finally found a use for my raspberry pi 1 (first gen with only 256mb). I turned into a docker device which now leaves me with a few questions. I need ARM docker containers, otherwise they won't run on the rpi. I've got an arm alpine container, created by the makers of the docker rpi image. Can I use arm containers to run x86 software (say nginx, dnsmasq, openvpn and maybe owncloud) or should I get ARM repositories for installing them in the containers too? Not really an rpi question I guess, but maybe someone here tried to set stuff like this up before. I realize I could just install raspbian and run the software on the rpi, but I want to get some hands on practise with docker so I figured this might be fun to do.
|
# ¿ Aug 5, 2016 19:39 |
|
|
# ¿ Apr 28, 2024 07:24 |
|
Hadlock posted:There's a pirate themed group that does an ARM based docker solution for raspberry pi's. The big problem is that first gen pi is ARM 6 while most everything is built for arm7hf which is the A+ and B2 and higher. The big difference between arm 6 and arm 7 is... Something related to the GPU? I forget. The pirate group is Hyperiot, that's the image I'm using. It works perfect, even on a Pi 1. Hyperiot also made a few arm versions of popular images. My question was more about installing software on containers from those arm images. I created an image based on hyperiot/rpi-alpine-scratch. Can I install all alpine packages on this image, or do I need specific arm versions of packages? And if so do you guys know arm repositories which are usefull? I went ahead a installed nginx which is now up and running. I think the default alpine repo was used so that'd mean I don't need arm packages, right?
|
# ¿ Aug 6, 2016 16:07 |
|
evil_bunnY posted:The default arm repo Ok, thanks for clearing that up, I had some sort of inceptionesque mind freeze here. Next stop is seeing where to find alpine arm packages then!
|
# ¿ Aug 6, 2016 19:40 |
|
Does anyone have experience with the USB hub from the pi hut? This one: https://thepihut.com/products/7-port-usb-hub-for-the-raspberry-pi?variant=789554361 I was thinking about getting a pi zero for in my garage. Hook it up to an old monitor/wifi dongle/keyboard/mouse I'm not using, so I have a really low budget internet station for if I need to look things up when working on my bike.
|
# ¿ Dec 12, 2016 19:17 |
|
wolrah posted:I'd use a Pi 3 for that. Browsing the web on a Pi zero is painful. The internet expects multi-core at this point. Plus that gains you built-in WiFi and a bluetooth chip which you could connect to a bluetooth OBD-2 dongle, wireless keyboard/mouse, audio system, etc. I figured that a zero might be pushing it. If I end up buying a Pi3 though, I'd probably swap it with my Pi1 which is running the Hypriot image and is serving as my docker host. The Pi1 lacks bt, but I have a 2 dollar usb bt device somewhere in my spare parts box. I was hoping for a 10-15 dollar garage setup, not a 40-50 dollar one though. Guess I gotta make up my mind. I'd also love to get a Pi running Kali and hook my awus wifi adapter up on it and do some scans at home.
|
# ¿ Dec 12, 2016 21:26 |
|
Ok, so no zero or Pi1 for browsing, got it. Another thing I'd love to give a shot some day is install some security camera's outside of my house and save the feeds on a disk Would a puu zero be able to do that, or should I look at pi3 for that as well?
|
# ¿ Dec 13, 2016 09:06 |
|
eschaton posted:It's the OS that's running on the API that's providing virtual terminals, not the Pi. Not sure if I understand what you're saying here. Which API do you mean?
|
# ¿ Jan 13, 2017 10:13 |
|
Pyramid Scheme posted:I've recently gotten into the Raspberry Pi and am slowly learning how to use them through online projects. That's certainly possible although I'm not sure why you would want NAS connectivity go through your Pi and WiFi. I'd connect the NAS to your router (over ethernet) if I were you. If you want your NAS in a seperate part of your network you can create it's own vlan.
|
# ¿ Jan 17, 2017 08:36 |
|
Pyramid Scheme posted:A quick Amazon search with the magic missing word "bridge" has unveiled a realm of handy products I always suspected existed, but didn't have the magic word for, nor the good sense to look harder. I've ordered as simple 5GHz bridge that sits in a socket and has a cable network point. I will now curl up in a ball of shame and embarrassment. Thanks all! The only ways to find out are either asking for these things or accidenty running into them. Both are usually "how the gently caress did I not know this existed" moments.
|
# ¿ Jan 18, 2017 09:25 |
|
xtal posted:You may need to specify the full path to the executable; cron runs in a more minimal context without loading bash_profile or anything like that. If that doesn't fix it then look at the output for the cronjob, which I believe is in /var/mail/yourname. The cronjob is in /var/spool/cron/yourname and you are correct about specifying full path. Log file can be found in /var/log/cron LochNessMonster fucked around with this message at 21:48 on Mar 12, 2017 |
# ¿ Mar 12, 2017 21:45 |
|
hooah posted:In Raspbian it's in /var/spool/cron/crontabs/yourname (although I couldn't cd to /crontabs - not even with sudo, I could still sudo less the crontab). Ah, I'm not running Raspbian, guess Debian does it slightly different. Check /var/log/syslog, apperently Debian logs cron mesaages to syslog by default.
|
# ¿ Mar 13, 2017 08:01 |
|
I've noticed Raspbian does not have python3.6 in their stable repository. Does anyone know how the raspbian repository list works? I'm running the Jessie release (on an rpi1 model b), is there something like an unstable/experimental respository I can add to my apt sources.list?
|
# ¿ Jun 26, 2017 16:10 |
|
Daztek posted:You'll have to compile it yourself, dunno how well it'll work on a Pi1 though. I'll stick with 3.4 then, cheers. As for webservers, is nginx still the go to lightweight http server or is it as bloated as apache httpd these days?
|
# ¿ Jun 26, 2017 16:55 |
|
I might in the future, so I'll keep that in mind, thanks! edit: I noticed the raspbian repo currently uses nginx 1.6 which is a 3-4 year old release. I never really ran into problems of wanting to run more recent releases than my repos provided. What do I do, run a complete different distro with more up to date repositories? Are there distro's for the raspi that are more up to date, or should I just start compiling stuff I want myself (been ages since I did any of that and I vaguely remember lots of issues with make, make install and ./configure...) LochNessMonster fucked around with this message at 18:31 on Jun 26, 2017 |
# ¿ Jun 26, 2017 18:05 |
|
I was under the impression that normal repositories won't work on the raspi due to it having the armhf architecture instead of x86. But that might be me mixing up docker container requirements for raspberry pi.
|
# ¿ Jun 27, 2017 11:59 |
|
xtal posted:Debian/Ubuntu repositories aren't tied to a specific architecture, they can have x86 and ARM and MIPS etc drat, I was making it way to complicated for myself. I already looked into software specific repos but couldn't find any architecture references. Problem solved.
|
# ¿ Jun 27, 2017 18:43 |
|
Fuzz1111 posted:This post is from a while back but the original Pi is definitely capable of this, because in my home I've used one to simultaneously record from 3 camera's without problems (I currently use a Beagle Bone Black for it but a Pi1 worked too). Awesome post, thanks for that! Time to start looking into it again, I did some side projects in the meanwhile. What kinda cams did you use for your project?
|
# ¿ Aug 3, 2017 15:09 |
|
Not sure if I should post this on the Linux thread but figured it might be something more people have run into. I installed fail2ban with: sudo apt-get install fail2ban and tried to see if the rules were created properly and got this error: code:
code:
code:
edit: fixed it by upgrading the firmware with rpi-update. LochNessMonster fucked around with this message at 14:20 on Aug 21, 2017 |
# ¿ Aug 21, 2017 13:53 |
|
eightysixed posted:
Before starting I already did a apt-get update/upgrade so I expected everything would already be up to date. I specifically checked the iptables package after that message and that was up to date. I had no clue I needed to run rpi-update to update the kernel. I expected apt would've done that for me.
|
# ¿ Aug 23, 2017 20:39 |
|
I was looking to introduce my 11 years old to a raspberry and python so we can make xmas lights that change colours and maybe create some images on a tft or led. Any suggestions on tutorials?
|
# ¿ Oct 1, 2017 09:16 |
|
evil_bunnY posted:Use a micro controller instead? Any suggestions on how to start a project like that without any experience on the subject?
|
# ¿ Oct 1, 2017 10:24 |
|
I'll have a look at the NeoPixels and see if my 8 years old arduino still works. And start looking at some arduino tutorials since I've never used mine before. Good to have an excuse to start working with it after all those years. Do we have an Arduino thread by any chance?
|
# ¿ Oct 1, 2017 15:27 |
|
eddiewalker posted:Just keep digging on the Adafruit site. They've got great tutorials starting from simple blinking lights up to more complex projects. I'm not too worried about the coding part, it's the complete lack of electronics background that's bothering me. I've been going through some of the tutorials on adafruit and they seem to assume basic knowledge on working with an Arduino I still lack. So I started with the getting started guides on arduino.cc and I'm wondering if I didn't fry mine already.
|
# ¿ Oct 2, 2017 16:33 |
|
what would be a good place to start reading on how to get an (ancient) arduino (mega 1280) working? I ordered one 7-8 years ago and never used it. I tried to hook it up to my laptop this but I can't push any stuff to it. Getting some error messages that are occuring often according to google but the solutions for other folks don't seem to do the trick for me.
|
# ¿ Oct 7, 2017 17:51 |
|
peepsalot posted:cool error messages bro I was looking for an Arduino thread but couldn't find. I see it's in a different subforum, thanks!
|
# ¿ Oct 7, 2017 19:17 |
|
KKKLIP ART posted:This might be more of a linux general question, but I am trying to get my Pi 3 to auto mount to my FreeNAS box. I can get it to mount manually using the mount command in terminal, but everything I see to get it to automatically mount says to use fstab. I have no issue with that password being plaintext, because it is only internal, but can someone show me on what the fstab is supposed to look like because I've tried formatting it to how I see online and I keep getting errors. Something like this: code:
|
# ¿ Dec 30, 2017 23:28 |
|
I recieved the new model 3 and want to use it for Kodi. Do I need to get heatsinks for it or is that not really necessary? It's not in a case yet, but I'm looking to get one for it. Which cases are goon recommended, or should I just grab one from china? edit: I'm seeing some aluminium cases with integrated heatsinks. Will that interfere with the wifi signal? LochNessMonster fucked around with this message at 10:33 on Mar 28, 2018 |
# ¿ Mar 28, 2018 09:33 |
|
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 |
|
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 |
|
Thanks Ants posted:What an absolutely boneheaded move considering the makeup of the whole hacker/maker community. The state of Liz Upton's completely disingenuous responses as well, jfc. I recall she has made some incredibly tone deaf statements in the past as well but can’t remember what that was about anymore.
|
# ¿ Dec 10, 2022 23:00 |
|
|
# ¿ Apr 28, 2024 07:24 |
|
Managed to get my hands on a Zero 2W. Apparently I once registered for an email notification from a vendor that's not listed on rpilocator (anymore, not sure how else I found out about this one?). I've been eying one for ages and ordered immediately when I saw the mail, but now I can't remember what I wanted to use it for...
|
# ¿ Jan 18, 2023 11:59 |