[Q] Raspberry Pi B+ "Cloud" - Raspberry Pi Q&A, Help & Troubleshooting

Hey guys,
at the moment I am running Samba on my Pi to sync files from my Nexus 5 with Foldersync to an external drive connected to the Pi. I'm getting ~700kb/s while syncing and I also tried setting up an ftp server which was at ~1,5MB/s. The problem with ftp is the risk of incomplete file transfers so I don't want to use that.. But I wonder if there are any good alternatives to my setup. I also tried WebDAV but the speed is similar to Samba. I read something about Bittorrent Sync, do you think it would be faster? Or do you have other recommendations?
Greetings

Related

Import iTunes library to my Captivate

Hi,
I am avid reader of these forums, and finally pulled the trigger and got the Samsung Captivate (I had to stick with AT&T). I am relatively new to Android, and I was stunned but what I got with my Captivate!! (all due respect to my old beloved Tilt with WiMo). To think I was seriously considering iPhone 4
Anyway, I am yet to root the phone - will wait a few more days to get comfortable. For now I have been playing with a ton of apps etc.
I have a 100 GB iTunes Library which sits on my home server. I am looking for a solution where I can selectively sync certain albums and playlists to my phone. No point in carrying around 2 devices. I have already tried Double Twist. The problem is I need to install the client on my Laptop and get the music synced from the home server. I have got this working by manually adding 1 folder at a time - which is cumbersome, and not to mention that I loose artwork, ratings etc.
So, I am looking to [Home Server] <--> [Laptop] <--> [Phone]. At any point the source for this library is the Home Server, Laptop is only a pass thru.
Why use the laptop in the middle? I don't want to store media files here (work laptop).
Why not directly sync with the Home Server? It sits in the basement and I am lazy to go down the every time I want to sync that was my major irritant with iPod syncing.
Any recommendations?
Regards
Nick
Can't you set up home sharing in iTunes? That way you can see your library from your server on your laptop, and have doubletwist pull your playlist from that iTunes.
Home Server <--> Laptop --> DoubleTwist --> Captivate
I can't remember the exact steps, but I know you can pull from a home server like you are saying. Most people do it with their home theater set ups, but I don't see why it couldn't be done this way
I just use estrong file manager, and am able to get to my file shares via wifi. While this might work exactly like you want you won't have to plug in. just a thought.
Sent from my SAMSUNG-CAPTIVATE using XDA App
I found Doubletwist to be unstable. I used MediaMonkey. It supports playlists and syncing to mounted drives or media devices. If you mount your homeserver as a drive letter on the laptop, then MediaMonkey should work fine.
The free version did all i needed, but it doesn't sync video - just music.
Google is your friend.
http://www.knowyourcell.com/samsung...o_sync_the_samsung_captivate_with_itunes.html
This works with any android phone.

NFS or SMB

I have just ordered my RaspberryPi, and I plan on using it for below.
1. Connect my powered 2TB external HDD to it and make a NAS
2. Use it as a torrent client
3. Play movies on the HDD using XBMC
4. Run lightppd to share my files on the internet.
Coming to my questions
1. Would it be possible to install the distro on a separate partition one the HDD? I plan to format the HDD using ext4.
2. Will the little machine be able to handle the load of all 4 tasks?
3. Should I use NFS over SMB? I plan to access the files of the share on Linux, Windows and Android.
Please let me know your thoughts on this.
Tapatalked from Desire S running Andromadus
suku_patel_22 said:
I have just ordered my RaspberryPi, and I plan on using it for below.
1. Connect my powered 2TB external HDD to it and make a NAS
2. Use it as a torrent client
3. Play movies on the HDD using XBMC
4. Run lightppd to share my files on the internet.
Coming to my questions
1. Would it be possible to install the distro on a separate partition one the HDD? I plan to format the HDD using ext4.
2. Will the little machine be able to handle the load of all 4 tasks?
3. Should I use NFS over SMB? I plan to access the files of the share on Linux, Windows and Android.
Please let me know your thoughts on this.
Tapatalked from Desire S running Andromadus
Click to expand...
Click to collapse
1: I would use a bootloader like BerryBoot to install the distro on the hard drive, I think its possible, Ive only installed on a flash drive and SD Card, but I dont see why it wouldnt work.
2. It might be able to handle it but cant say for sure. On mine I am using XBMC and streaming movies from my desktop and I am using nearly 400mb of RAM but I think the CPU load is okay.
3. Not sure on this one, I use SMB but my laptop is broken so I dont have linux running on any of my machines, but Windows and Android works just fine, and I actually use my Nexus 7 as a remote for XBMC.
ZachOlauson said:
1: I would use a bootloader like BerryBoot to install the distro on the hard drive, I think its possible, Ive only installed on a flash drive and SD Card, but I dont see why it wouldnt work.
2. It might be able to handle it but cant say for sure. On mine I am using XBMC and streaming movies from my desktop and I am using nearly 400mb of RAM but I think the CPU load is okay.
3. Not sure on this one, I use SMB but my laptop is broken so I dont have linux running on any of my machines, but Windows and Android works just fine, and I actually use my Nexus 7 as a remote for XBMC.
Click to expand...
Click to collapse
SMB is compatible with linux and Windows natively, however if you intend to stream HD video at all NFS would be better. My NAS uses both, NFS to stream to my pi running xbmc, and samba for windows machines/android devices. I also running a upnp server for remote streaming to my phone.
Sent from my DROID3 using xda premium
Samba has slow speeds on the pi typically 7-8Mbps compared to the usual 25-40 i get from my drive.
ratchetnclank said:
Samba has slow speeds on the pi typically 7-8Mbps compared to the usual 25-40 i get from my drive.
Click to expand...
Click to collapse
I found samba had lag on HD vids. I still use samba on my windows and android devices, buti never stream HD to them
Sent from my DROID3 using xda premium
The Pi's 'ROM/BIOS' boot code attempts to bootstrap from the SD. If there is nothing where it expects it to be it won't start.
You would need some code to transfer startup to the external hard disk.
AFAIK, the raspberry pi can boot partitions from an external USB drive, what it actually boots is the GPU executable which loads a kernel, then it can bootstrap an USB HDD.
For the SMB or NFS matter, NFS usually provides higher throughput than SMB, and Windows can mount NFS based hosts, I'd go for that if you plan to see some performance.
As said, NFS have smaller overhead than SMB. So use that if you can.
Sent from my Nexus 4 using xda premium
i have a Samba server and i can Stream Full HD whit no problems (maybe a littel slow in the Begining nothing more) 1TB 2.0USB HDD NTFS
So overall NFS is better than Samba?
Yes, but samba is easier to setup across platforms
Tapatalked from Desire S running Andromadus
I have just a 256 MB model, and I'll use it for torrent+file share+XBMC. Which client for torrenting will you use otherwise? (transmission-daemon or rTorrent?)
Not sure, whichever gives me ability to push torrents from my pc.
My pi arrives next week.
Tapatalked from Desire S running Andromadus
You should give transmission-daemon and transmission gui (transgui) a try. You can push files via the Internet if you have your port forwarding set up correctly.
I have a slightly different setup that has Apache providing ssl for transmission-daemon
EDIT
You can also set it up with transdroid on Android. I believe transdroid also works with r Torrent.
NFS is faster than SMB. If you are reasonably Linux-savvy, you should have no issues setting it up. I serve NFS to my Win 7 torrent box from OpenIndiana. Setting up Win7 as an NFS client is a bit more complicated.
=RV=
Endoroid said:
I found samba had lag on HD vids. I still use samba on my windows and android devices, buti never stream HD to them
Click to expand...
Click to collapse
I hope you're talking about megabits per second. You can get 7~8 Megabytes per second with SAMBA and you can get the full 12 megabytes (100megabits) per second with NFS, but never more than that.
In most cases, samba is enough, but I've seen two or three videos with imense video and sound quality that SAMBA simply can't keep up. NFS saves the day. The 100 megabit ethernet can be a real bottleneck though.
redvelociraptor said:
NFS is faster than SMB. If you are reasonably Linux-savvy, you should have no issues setting it up. I serve NFS to my Win 7 torrent box from OpenIndiana. Setting up Win7 as an NFS client is a bit more complicated.
=RV=
Click to expand...
Click to collapse
Setting up the NFS is really quite a bit of trouble for a first-timer. Windows doesn't play well you don't have the no_root_squash option on the server. After that though, all l you need is a bat script with "mount <NFS_SERVER_IP>://<SHARE>/<FOLDER> <DRIVE>:". Don't forget to enable NFS client first.
Either that or use nekodrive and dokan.
sioxz said:
i have a Samba server and i can Stream Full HD whit no problems (maybe a littel slow in the Begining nothing more) 1TB 2.0USB HDD NTFS
Click to expand...
Click to collapse
yeah same here samba runs very smooth for my 3D/1080p movie streams.
I recommend changing up the settings(disable firewall etc) increase buffer size and overclock.
i prefer nfs for hd movies, there is also a windows nfs client :laugh:
As I read I must give a try for NFS.
There were bechmarktests done by a user in the OpenELEC forum.
As you can see the difference isn't that great:
FTP was faster than SMB by 1.57%
NFS was faster than FTP by 5.65%
And finally NFS was faster than SMB by 7.22%

[Q] DLNA Server Help

Hi All,
Apologies in advance if this is the wrong place to post this question and/or it's already been asked.
I have an old phone (Nexus 1). I want to use it as a DLNA server so that I can store music and videos on this device and then view/play this content on other devices (For this example, the Archos 101 G9 512MB).
To setup the DLNA server on the Nexus 1 I installed the 'Servers Ultimate' app and setup a simple DLNA server. I have a SD card connected to the Nexus 1 which has a couple of videos on it. I start the DLNA server on the Nexus 1 and it runs without any problems.
On the Archos 101 G9 I open the stock 'Files' app, select 'Network', select 'Media server (UPnP)', refresh the list but no server are found.
I've tried searching for solutions on Google but have yet to find anything useful.
The plan is, once setup to run within my personal network, I will setup port forwarding on my router so that I can access this content when outside of my internal network (E.g. through 3G). Not so sure if this is possible as DLNA looks more like an automatic internal system rather than having options to specify the address of my DLNA server.
Any advice would be great.
Thanks,
Dan

Fastest file transfer between Note 5 and PC

Given the omission of microSD an USB 3.0 what is the absolute fastest way to transfer files between the Note 5 and a PC? What speeds are attainable? I was under the impression that 802.11ac compatibility would enable transfer speeds rivaling those of USB 3.0 but I appear to have been mistaken. Any info on what you folks are using and what speeds you are getting is greatly appreciated.
Thanks
-Dan
wifi file transfer (play store)
samsung sidesync (built in app)
only difference is
wifi file transfer uses FTP so you can access your storage via a web browser with an IP address an a port
samsung side sync you need to install a client on the pc as well.
but both works pretty good, except that side sync has more features too. while WFT is only.. well to transfer files.
i use both.. go with WFT if you want simplicity.

display and reload a website on CC2?

Hi, I need to deliver a locally on a Pi served HTML/PHP-site to a LCD-TV and want to use the Chromecast, though: the host is offline, no internet. And I would like to just load the site instead of screencasting a browser from the Raspberry Pi.
build_version":"79313","cast_build_revision":"1.22.79313" :/ Any way to get the thing to display that webpage one way or another?

Categories

Resources