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
LRADIKAL
Jun 10, 2001

Fun Shoe
Syphon, I know you're desperate to do something cool with your pi. So here's what you do, hook it up to your soon to exist expensive home theatre sound system.

plug something like this into it: http://www.amazon.co.uk/gp/product/B0056WJP1M/ (i think there were other ones linked above this post) A touch screen version might be even cooler.

Use the pi as a low power Pandora/mp3 streamer that connects to your high powered system and have a neat little display to go with it.

Adbot
ADBOT LOVES YOU

LRADIKAL
Jun 10, 2001

Fun Shoe

syphon posted:

I was thinking of a media streamer... but I'd prefer something that allows for control over the network (so I could use my smartphone to control the music). Depending on what receiver I end up getting, I might be able to do it there instead of the RPi though.

xbmc has this baked in

LRADIKAL
Jun 10, 2001

Fun Shoe
http://xbmc.org/natethomas/2013/01/29/xbmc-12-0-frodo/

"Support for Raspberry Pi"

Does this mean that the main releases of XBMC will now work and we don't have to worry about the OpenELEC, RASPBMC, etc? Might it be inferior? The wiki page doesn't seem to have been updated yet.

LRADIKAL
Jun 10, 2001

Fun Shoe
What kind of performance does a rasp pi have as a file server? I just did a bad test by copying a bunch of tiny files off my xbmc pi and it was going just over a megabyte. Not really fast enough. Does it work better using a USB disk and NFS(and not running xbmc)?

LRADIKAL
Jun 10, 2001

Fun Shoe
I want to create a VM on my machine which will have an 8GB ram disk that the pi network boots off of. My media is shared via NFS from the same VM.

How stupid is my idea? Does it make sense at gigabit ethernet speeds? 100 mb? Will the pi access that data over the network faster and with less cpu issues?

LRADIKAL
Jun 10, 2001

Fun Shoe

iceslice posted:

I want to also do this, but haven't gotten into it yet. Can you be more specific on the setup you're trying?

Oh poo poo! With the help of one of Obama's campaign IT staff (thanks bud) I got it working.

I used FreeNAS on a VM, which was super easy to get going. I set up an 8GB NFSshare (roughly the size of an SD card) on freeNAS opened up the permissions for the IP of my pi and (under the sharing->/mnt/Storage/)set "mapall user" to "root" which gives every user root access to the files contained within. I mounted the NFS share.
code:
mount -o "rsize=32768,wsize=32768" 192.168.1.8:/mnt/Storage /mnt/server
(the rsize and wsize didn't seem to make too big a speed difference)

Then I copied everything over to the NFS share:
code:
cp -ax / /mnt/server
Then I changed the cmdline.txt to:
code:
dwc_otg.lpm_enable=0 root=/dev/nfs nfsroot=192.168.1.8:/mnt/Storage ip=dhcp rootfstype=nfs
A deceptive part of that last bit is that /dev/nfs/ is a "pseudo device" so there won't be anything there. After you save the cmdline.txt you just reboot and it works.

It boots way faster and displays cover art and fanart much more quickly. I noticed that while scraping/scanning videos over my SMB share performance was degraded a lot more than when it is simply writing to the SD card, but the trade in responsiveness the rest of the time is worth it so far. People have suggested that an NFS shared media library is also better performing, so I might do that as well. Apologies for the shittiness of this post, I just learned how to do it and I might have missed some stuff.

Here's some relevant links:
http://raspberrypi.org/phpBB3/viewtopic.php?f=63&t=5974
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
http://raspberrypi.stackexchange.com/questions/628/how-do-i-configure-the-raspberry-pi-to-boot-with-an-nfs-root

edit: I also didn't bother with a RAM disk. ZFS should cache anything that is necessary anyway.

LRADIKAL fucked around with this message at 10:34 on Feb 18, 2013

LRADIKAL
Jun 10, 2001

Fun Shoe

Stereotype posted:

Is there any rasbian download for a distro that is entirely headless from the start (ie has sshd running when I boot it up)? I'm not planning on ever hooking my Pi up to a monitor, so I don't want to have to buy an HDMI cable just to turn on ssh. The most recent version doesn't seem to work at all.

Jonny 290: You said you had done this in YOSPOS but I can't seem to figure out how.

You can extract the file structure from the image and then put the bare minimum amount of files to boot it on the SD card.
The top answer here goes into it: http://raspberrypi.stackexchange.com/questions/628/how-do-i-configure-the-raspberry-pi-to-boot-with-an-nfs-root

LRADIKAL
Jun 10, 2001

Fun Shoe
are you overclocking? Have you tried different SD cards?

LRADIKAL
Jun 10, 2001

Fun Shoe
Ace, maybe you ought to return that thing as defective?

LRADIKAL
Jun 10, 2001

Fun Shoe
ACE, what's the performance like before and after in your opinion? Do you run into slowdown when it is pulling your library?

Since I've done this, Raspbmc has updated once or twice and the performance has improved even more. I've had no crashes except a couple times when it's tried to access its' disk when my computer has been down for maintenance. Other times it hasn't even seemed to notice.

LRADIKAL
Jun 10, 2001

Fun Shoe

Heners_UK posted:

From what I can tell, that's still true now. Thing is I'm trying to find a reasonable option and it turns out that both SD cards and usb flash drives vary wildly in terms of speed to price ratios... So I'm just trying to find something snappy for the pi to use... Remove the bottleneck but not overspend.

Wayyyyyy back in the thread I describe how to boot the Pi off of an NFS share, which if served off a snappy computer is the fastest option I've seen.

LRADIKAL
Jun 10, 2001

Fun Shoe
http://forums.somethingawful.com/showthread.php?threadid=3468084&userid=22889#post412641988

My method was to run a NFS share off of a virtual FreeNAS server using virtualbox. I'm pretty sure there are standalone windows NFS servers.

I could certainly have gone all out and had my media saved onto an NFS volume (which supposedly runs faster than samba) but I would lose ease of use for grabbing torrents and manipulating media on my PC.

So if you are really keen to share via NFS on a windows machine, run freeNAS (or whatever) and have the virtual machine get dedicated access to the storage drive.. Then you can share the NFS drive on your network. On the local machine your speeds should be near hardware speed. Over the network you should get the advantages of NFS.

LRADIKAL
Jun 10, 2001

Fun Shoe
http://www.kickstarter.com/projects/697708033/hdmipi-affordable-9-high-def-screen-for-the-raspbe
I'm sure this has been posted in the thread, but here's a cool upcoming display solution.

LRADIKAL
Jun 10, 2001

Fun Shoe
http://pipresents.wordpress.com/galloping-away-at-the-german-equine-museum/
This museum is probably the best one ever!

LRADIKAL
Jun 10, 2001

Fun Shoe

ante posted:

My $1 tiny-form-factor eBay wifi adapter worked fine (with a powered hub).

My $1 tiny-form-factor eBay BT adapter worked fine without a powered hub.

Wow! Thanks for the two worthless bits of information!

LRADIKAL
Jun 10, 2001

Fun Shoe
I use the tv remote 95 percent of the time. My preferred android remote is yatse.

LRADIKAL
Jun 10, 2001

Fun Shoe
I find my RaspB to be pretty pokey for anything other than XBMC (KODI!). I use a chromecast for everything else except for Prime video which my TV happens to be capable of making GBS threads out.

LRADIKAL
Jun 10, 2001

Fun Shoe
I've been using a 2GB 32GB emmc as a steam stream box for a few weeks now, it's pretty cool. Still use my pi for kodi (rip xbmc)

LRADIKAL
Jun 10, 2001

Fun Shoe
I've switched to osmc and pull video from my synology all day. It works great for the price!

LRADIKAL
Jun 10, 2001

Fun Shoe
I couldn't get linux to succesfully do hardware video decoding with it. Now I just use it for torrents, unifi and other lightweight administrative tasks. Using windows 10 of course.

LRADIKAL
Jun 10, 2001

Fun Shoe
I was talking about a Liva running it through windows... I'm pretty sure you can do what you want though. I seem to remember installing a pretty stripped down flavor of linux and CLI installing java and remoting in?

LRADIKAL
Jun 10, 2001

Fun Shoe

Lord Windy posted:

I have issues with my raspberry pis SD cards corrupting after blackouts and other events. I use it to run several things so it's a pain in the butt when it dies and I have to recompile all my stuff.

Would eMMC be a solution? And if so would it be dooable on a raspberry pi 2 or 3 with ubuntu 16.04? Otherwise are there any other solutions?

https://www.modmypi.com/raspberry-pi/breakout-boards/pi-modules/ups-pico

This seems reasonable

LRADIKAL
Jun 10, 2001

Fun Shoe
My pops got me a raspberry pi 3 with a breadboard kit and all those accessories.

I've already got a pi3 as a media center.

Top of my head I'm thinking I can use it as a DNS server, maybe some kind of net facing proxy for managing my internal network devices? I already have a windows server for print management and torrenting and a synology for mass storage and basic sharing.

Then I can plug some kind of LED status bar on it for the whole "kitness" of it. Maybe control some lighting in my office with a motion sensor and relay?

Any suggestions along these lines?

LRADIKAL
Jun 10, 2001

Fun Shoe
http://a.co/gZ358Gk I got an 80 dollar one of these a few years ago for torrents and etc and it's great. saturates my bandwidth to my synology and my 50mbs internet. Runs windows too.

LRADIKAL
Jun 10, 2001

Fun Shoe
You'll get faster DNS results from cached hits, but we are talking milliseconds. There are issues with some pages loading with SSL and ipv6. These forums would spend a lot of time on a white screen before loading. I fooled around with info on how to fix ipv6 but couldn't figure it out, so I loaded the forums and white listed the resulting blocks from the pi hole web interface.

Pros of pi hole are that it works for everything connected to my WiFi and I disable ad blockers client side.

It's not just a DNS server by default it is also dnsmasq behind a web front end. That said, while troubleshooting, I found the CPU load never got over a percent or two while doing this stuff in my pi 3.

LRADIKAL
Jun 10, 2001

Fun Shoe
I was going to say the same thing. Intel ones were worth the cost last time I was looking.

LRADIKAL
Jun 10, 2001

Fun Shoe
Neat! These look cool. NUC's are too expensive for that sort of thing. I have this old Liva PC that's way slow and crap, but it's a great little windows home server.

LRADIKAL
Jun 10, 2001

Fun Shoe
https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/
Good bit about the bootloader and how the GPU works.

Pi-hole is also good because it adblocks your phones and poo poo on wifi, too.

LRADIKAL
Jun 10, 2001

Fun Shoe
This is like saying you don't like a book because you don't know how to read. Get literate, or use Windows. Linux design decisions, on the whole aren't any less sensible than Windows or macos

Adbot
ADBOT LOVES YOU

LRADIKAL
Jun 10, 2001

Fun Shoe
https://support.google.com/a/answer/3179170?hl=en
Anything that runs Chrome can be a cloud print server.

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