|
I'm basically using ssh for remote admin and for sftp access to my synology nas via an nfs mount (synology don't have the best security track record) nginx is used to reverse-proxy my domoticz installation, not sure how secure that is. I guess I should probably install fail2ban Also this is a pi2 which I thought was arm7? Is it worthwhile to run regular Debian? How quickly do debian security updates filter down to raspbian?
|
# ? Dec 31, 2015 04:02 |
|
|
# ? May 10, 2024 19:11 |
|
fail2ban + non-standard port for SSH + disable password/use keys is pretty much impenetrable unless you do something like post your key.
|
# ? Dec 31, 2015 04:56 |
|
37th Chamber posted:fail2ban + non-standard port for SSH + disable password/use keys is pretty much impenetrable unless you do something like post your key. This is basically the bedrock of the linode linux hardening guide.
|
# ? Dec 31, 2015 05:30 |
|
I've also got fail2ban with key file access only. No problems so far. I haven't changed port 22 because it's fun to view the logs and see the ever growing list of banned IP's. I'm under the impression that the Pi2 is fully compatible with the Pi in terms of processing and chipset operation. I've not experienced any problems running Raspbian Wheezy or Jessie on both my Pi and Pi2: just try it out and you should be fine.
|
# ? Dec 31, 2015 08:57 |
|
Hadlock posted:This is basically the bedrock of the linode linux hardening guide. Hello, this is quite useful to me, thanks for mentioning it. I tell you, it may be a somewhat flawed device, but I feel like I've learned more with tinkering with this toy computer than I have since my DOS/Win95 gaming days.
|
# ? Dec 31, 2015 09:14 |
|
37th Chamber posted:fail2ban + non-standard port for SSH + disable password/use keys is pretty much impenetrable unless you do something like post your key.
|
# ? Jan 1, 2016 00:27 |
|
doctorfrog posted:Hello, this is quite useful to me, thanks for mentioning it. I tell you, it may be a somewhat flawed device, but I feel like I've learned more with tinkering with this toy computer than I have since my DOS/Win95 gaming days. Here is the direct link, in case anyone was looking for it: https://www.linode.com/docs/security/securing-your-server
|
# ? Jan 1, 2016 02:51 |
|
So I'm thinking of moving Kodi from PC to my Pi2 since then it can also be a 24/7 dlna server, use less power and the living room PC can just be used for gaming. To do this though. I'm going to need a USB soundcard with either co-ax or optical out and is capable of bitstreaming. Somewhere I have a Terratec Aureon USB Mk2 which can't bitstream under Windows because apparently bitstreaming over USB is really hard or something. Will this work in Linux, or any recommendations for a decent cheap USB soundcard that can bitstream and works on the pi? Alternatively any device that can extract the digital audio from HDMI and squirt it out of an optical or co-ax connector (or 6x RCA at a push) Yes I know I should upgrade my Receiver to something more modern that supports HDMI but my DSP-AX2 is still a bloody good amp and it'd cost me a grand minimum to replace it with an equivalent with hdmi support.
|
# ? Jan 4, 2016 03:37 |
|
Lum posted:So I'm thinking of moving Kodi from PC to my Pi2 since then it can also be a 24/7 dlna server, use less power and the living room PC can just be used for gaming. What are the available drivers for that? It's probably not going to run on ARM, but could you run a Liva or a PC Engine ALIX on a Linux or (firewalled!) Win7 setup? It sounds like you have a DAC/amp that you like, I would focus on making that work. Alternately if it makes a good amp then get a DAC that can squirt optical/coax digital audio out. Maybe Fiio makes something you'd like. How many channels are you looking to push? Paul MaudDib fucked around with this message at 03:57 on Jan 4, 2016 |
# ? Jan 4, 2016 03:54 |
|
Terratec's website makes it sound like it's mainlined, so it should just work. Plug it in and see...
|
# ? Jan 4, 2016 05:07 |
|
Does anyone know if it's possible to run Excel off a Pi 2? I know people say it can run Windows 10 apps, but I've also heard that's marketing crap and it can run a single Metro-style app at a time. I am one of three people in the world that own a Windows phone, and I know there's a stripped down version of Excel available on it. I just want to know if I'm wasting my time since I have a week before I return to class and I want to make my time worthwhile. I'm also extremely curious about opening my Pi 2 to the internet and attempting to get the Bittorrent Sync GUI accessible outside of my network. The previous posts were really informative but I'm still relatively new to Linux servers and might attempt another attempt at a server if I can get the security issues figured out. Is there any other reading someone would recommend? I'd prefer in English, not Linux acronym speak, if possible.
|
# ? Jan 4, 2016 23:57 |
|
durtan posted:Does anyone know if it's possible to run Excel off a Pi 2? I know people say it can run Windows 10 apps, but I've also heard that's marketing crap and it can run a single Metro-style app at a time. I am one of three people in the world that own a Windows phone, and I know there's a stripped down version of Excel available on it. I just want to know if I'm wasting my time since I have a week before I return to class and I want to make my time worthwhile. Nope it only runs Windows 10 IoT apps which are not the same as Windows 10 Metro apps. IoT apps can have a UI that even sorta looks like Metro, but real Metro apps can't run on the Pi 2 Windows 10. Excel definitely is not an IoT app unfortunately.
|
# ? Jan 5, 2016 00:07 |
|
Just bought a Canakit Rapberry Pi 2 Complete Starter kit to make this magic mirror thing for my girlfriend for Valentines day so I will probably be in here complaining when it doesn't work. Are there any particularly good effort posts on the Raspberry Pi/Pi 2 between the OP and now? A lot has happened in four years.
|
# ? Jan 7, 2016 03:36 |
|
CarForumPoster posted:Just bought a Canakit Rapberry Pi 2 Complete Starter kit to make this magic mirror thing for my girlfriend for Valentines day so I will probably be in here complaining when it doesn't work. Hey I bought the same kit tuesday and I'll receive it today! Can't wait! But you know, I won't do that magic mirror for my GF because I'm not that good, just want the emulators on my TV with recalbox or RetroPie (don't know which one I'll go)
|
# ? Jan 7, 2016 19:14 |
|
ShiroTheSniper posted:Hey I bought the same kit tuesday and I'll receive it today! Can't wait! But you know, I won't do that magic mirror for my GF because I'm not that good, just want the emulators on my TV with recalbox or RetroPie (don't know which one I'll go) You might also check out Lakka.
|
# ? Jan 7, 2016 19:55 |
|
Dem Bones posted:You might also check out Lakka. What I loved with recalbox is the embedded KODI for my random streaming needs, without much tweaking (I'm not Linux savvy). Does Lakka provide easy media streaming? EDIT: VVVVVVVVVVV Thanks, I'll take a look! ShiroTheSniper fucked around with this message at 20:57 on Jan 7, 2016 |
# ? Jan 7, 2016 20:07 |
|
ShiroTheSniper posted:What I loved with recalbox is the embedded KODI for my random streaming needs, without much tweaking (I'm not Linux savvy). Don't think so, yet. You should be able to dual-boot with e.g. NOOBS, though https://github.com/libretro/Lakka/wiki/Alternative-installation-methods
|
# ? Jan 7, 2016 20:20 |
|
Dem Bones posted:Don't think so, yet. You should be able to dual-boot with e.g. NOOBS, though https://github.com/libretro/Lakka/wiki/Alternative-installation-methods I have a question along these lines. I just booted Raspbian using NOOBS, and now I want to install something like OpenELEC and/or Retropie on the same SD card. It seems like they want me to extract ..something.. to the /os folder of my NOOBS install, but it only has like 90MB free after partitioning off the other ~28GB (which I can't access through Windows 7 right now).
|
# ? Jan 7, 2016 22:03 |
|
CarForumPoster posted:Are there any particularly good effort posts on the Raspberry Pi/Pi 2 between the OP and now? A lot has happened in four years. I took the byte_unixbench results I posted earlier in the thread and wrote a blog post about the performance differences between a Sun SPARCstation 20/61—which was hot poo poo in 1994—and the original RPi and RPi2. It was briefly popular last weekend with the Hacker News crowd. The short version: The RPi is 7× as fast while the RPi2 is 17–42× depending on workload. It also inspired me to actually get a SPARCstation 20 of my own, which turns out itself to have been a server at Sun! (Either that or whoever owned the system before set it up to claim to be a Sun system before scrapping it, to prank the next person to boot it.)
|
# ? Jan 8, 2016 08:00 |
|
Got my Canakit Rapberry Pi 2 Complete Starter kit last night. The power supply was DOA. Emailed Canakit and had and answer within the hour and they ship me today a new one, no question asked. The kit was neatly packaged and my Pi2 is now powered by my 2.0Amp phone charger. I hope it won't break anything while waiting for my new power supply.
|
# ? Jan 8, 2016 16:16 |
|
It won't.
|
# ? Jan 8, 2016 22:17 |
|
Is there a way to set up a Pi remotely? Or am I basically stuck getting a monitor and usb keyboard/mouse?
|
# ? Jan 10, 2016 03:20 |
|
Yeah you need a monitor to enable the serial port or enable ssh. After the first boot it can (and mine frequently do) go headless from there on out. In theory you could enable that stuff, then clone the SD card image. The new Pi Zero allows you to program it via micro usb and is truly headless, but for whatever dumb reason, they don't include a true USB port* so you can't plug in any of the countless wifi usb nubs that work out of the box with the Pi. *The nubs will work if you use an $3 adapter cable, but that's dumb, there's plenty of room on the board for a regular USB port
|
# ? Jan 10, 2016 03:32 |
|
Yeah you can, should connect to wired ethernet with an ssh server running automatically. The DietPi distro also allows you to specify a wireless network in a text file on the SD card to automatically try and connect. The UART pins can be accessed with a cheap ($2) USB-UART dongle for terminal access. Hit or miss on whether or not this is enabled by default in your distro of choice. Adafruit also has some tools that I've been meaning to check out https://github.com/adafruit/Adafruit-Pi-Finder I've probably only connected a Pi to a monitor twice ever
|
# ? Jan 10, 2016 03:34 |
|
I think Raspbian now has SSH enabled by default, so just hooking it up to your router long enough to config wireless should do you.
|
# ? Jan 10, 2016 04:17 |
I have a stream from my raspi's camera (specifically, the camera feed configured by octopi/octoprint, but I'm pretty sure that just set up the web stream in the background and does nothing out of the ordinary) that I would like to send to a server out in the wilds of the internet, and then have that server handle multiplexing the stream to multiple viewers. The goal would be to minimize the load on my home network and the pi itself, since it has other time-sensitive workloads to deal with, as well as keep my home network reasonably secure, while still allowing multiple viewers to stream from the webcam. Any recommended google searches to get me started on this? So far I haven't turned up anything terribly useful. If the solution involves sending the stream to some service a la livestream or what have you, I am perfectly okay with that. My only requirement would be the option to embed it in a web page, but even that is a soft requirement.
|
|
# ? Jan 10, 2016 05:00 |
|
In Raspbian I've been able to connect to the serial port without any configuration on a fresh install. I really like the HC06 Bluetooth serial dongle for this purpose.
|
# ? Jan 10, 2016 05:09 |
|
Bad Munki posted:I have a stream from my raspi's camera (specifically, the camera feed configured by octopi/octoprint, but I'm pretty sure that just set up the web stream in the background and does nothing out of the ordinary) that I would like to send to a server out in the wilds of the internet, and then have that server handle multiplexing the stream to multiple viewers. The goal would be to minimize the load on my home network and the pi itself, since it has other time-sensitive workloads to deal with, as well as keep my home network reasonably secure, while still allowing multiple viewers to stream from the webcam. Can you run a webserver on the Pi and a cron job to take a picture every ten seconds? Mantle posted:In Raspbian I've been able to connect to the serial port without any configuration on a fresh install. I really like the HC06 Bluetooth serial dongle for this purpose. drat, that's a great idea to solve both my "not always having a router to connect to" and "not wanting to get off the couch" issues.
|
# ? Jan 10, 2016 05:34 |
ante posted:Can you run a webserver on the Pi and a cron job to take a picture every ten seconds? The video stream is already available via web server, that's not a problem. However, I don't want to punch a hole in my network to make it accessible to the outside world at large, and I don't want to bog the pi/network down by having it serve up more than one stream. Hence the desire to have an external server access the stream (which I will make a very specific hole through the nat/firewall for) and then have that server multiplex to the general public through whatever mechanism.
|
|
# ? Jan 10, 2016 05:41 |
|
ante posted:Adafruit also has some tools that I've been meaning to check out https://github.com/adafruit/Adafruit-Pi-Finder I've used the ada fruit tool before and it worked p well.
|
# ? Jan 10, 2016 08:28 |
I think I figured out the solution to my remote webcam multiplexing issue. I mean, I found that the solution exists, now I just have to figure out how to apply it. Sounds like ffserver is the answer, it can take some number of ffmpeg streams and serve them up. From what I'm reading, an ffmpeg stream can be remote, so in theory, I can just have my pi talk to an online ffserver somewhere and that server will handle actually serving out the stream to viewers. I'll post a trip report if I ever get it working.
|
|
# ? Jan 10, 2016 18:32 |
|
I got a Pi2 for Christmas, it was one of those starter packs that included a LCD screen that I *think* is touchscreen as well, but I think I'm just going to sell that once I figure out what it is. I'm looking into using it to just play with sensors/cameras and just learn about how all that interacts. Eventually I'd like to learn more about putting together some neat little robot or some automated device just as a little hobby. I may have asked this here before but it was a while back and I don't recall what the responses were. Should I just pick up something like one of the following kits to start tinkering with since I have no clue what I want to start with? http://www.amazon.com/Raspberry-Starter-Kit-Breadboard-Compatible/dp/B00X5BVGZY/ref=sr_1_21?s=pc&ie=UTF8&qid=1452458765&sr=1-21 http://www.amazon.com/SunFounder-Se...N8F6MGC56F05QSS http://www.amazon.com/SunFounder-Pr...N8F6MGC56F05QSS
|
# ? Jan 10, 2016 21:48 |
|
Yup, newest version of Raspbian has ssh enabled by default. Plugged it into my router and was good to go.
|
# ? Jan 10, 2016 23:52 |
|
Bad Munki posted:I think I figured out the solution to my remote webcam multiplexing issue. I mean, I found that the solution exists, now I just have to figure out how to apply it. Sounds like ffserver is the answer, it can take some number of ffmpeg streams and serve them up. From what I'm reading, an ffmpeg stream can be remote, so in theory, I can just have my pi talk to an online ffserver somewhere and that server will handle actually serving out the stream to viewers. I'll post a trip report if I ever get it working. have you looked at red5 server?
|
# ? Jan 11, 2016 06:12 |
TheresaJayne posted:have you looked at red5 server? No, but I will now, thanks.
|
|
# ? Jan 11, 2016 06:14 |
|
Anyone use their rpi for openhab/home automation? I just got my z-wave stick and raspbee. I'm hopefully going to replace my smarthings hub with something a lot more customizable (and not dependent on an internet connection). Does anyone have any articles or guides for doing this? I've found quite a bit of info online but the zigbee support seems pretty lackluster, but I'm hoping I'll be able to get it all working as I want.
|
# ? Jan 14, 2016 01:32 |
|
I run Domoticz on mine. Currently it's running z-wave light switches, milight bulbs and also an mce usb dongle for a convoluted hack that lets me control the bulbs from my logitech harmony remote.
|
# ? Jan 14, 2016 17:49 |
|
I just got to take over a pretty cool little project at work - setting up a few Pis on monitors to display live metrics data and status updates from our internal systems. My boss then directed me to a drawer full of Pis that I get to play with. Guess I'll be reading this thread front to back pretty soon!
|
# ? Jan 20, 2016 15:30 |
|
I hope you don't work with IT systems, because yikes. Plugging tons of digital meters into Pi's owns tho.
|
# ? Jan 20, 2016 16:14 |
|
|
# ? May 10, 2024 19:11 |
|
evil_bunnY posted:I hope you don't work with IT systems, because yikes. Plugging tons of digital meters into Pi's owns tho. It's for my NOC team. I already have something rudimentary to work with. We're building out some Grafana dashboards that the Pis will output to the TVs and then rotate through every several seconds. Stuff like system load, open production issues, overall server cluster health, that sort of high-level junk. We already do something similar for the sales/care teams that shows things like current wait time and calls in queue. It's just nice to have quick info up on the wall for people to see and go "hey, looks like everything's OK/bad!"
|
# ? Jan 20, 2016 16:45 |