You are not logged in.
I want to share music, video, photos over a home network
Which is the simplest way to do this over local network?
Mr Green
Offline
personally, I use samba. My roomate has 3 other machines networked and it is the simplest way to share files with them.
[edit]his 3 machines are windows, then I have my arch i686, a arch x86_64, and arch on my iMac G5 [/edit]
Last edited by 3nd3r (2009-04-07 06:23:08)
Proud Arch i686 & x86_64 User
Share your knowledge!
Arch Linux Forum Etiquette
Offline
NFS for me - no windows here.
Offline
NFS for me - no windows here.
yea, but he just "LOVES" his AOL /puke...
If I could get him off of that BS id go NFS
Proud Arch i686 & x86_64 User
Share your knowledge!
Arch Linux Forum Etiquette
Offline
Got Samba running here, but will take a look at MS free NFS..........
/me off to wiki
Thanks
MrG
Mr Green
Offline
Just wondering how simple it is to set up.... only running linux boxes here so no fancy set up required... local network only
Mr Green
Offline
Mr. Green: I sent you an email via the site.
Proud Arch i686 & x86_64 User
Share your knowledge!
Arch Linux Forum Etiquette
Offline
Ok NFS is running streaming music now via local network.........it does keep stopping to load is that normal? or do I need to load track to local machine?
Is there a way to name my client and server so I do not have to use ip address?
Thanks
MrG
Mr Green
Offline
Is there a way to name my client and server so I do not have to use ip address?
MrG
'/etc/hosts' ?
English is not my native language .
Offline
well yeah hosts .... running dhcp you do not get a fixed address as I understand it, can I do a range of addresses ?
An example might help
Mr Green
Offline
If you're running DHCP, you'll need to configure static entries for each host. Depending on what your DHCP server is, it may or may not support that.
Then you can add entries to /etc/hosts
Regarding the buffering, it shouldn't do that unless you have a really slow network, or the server is under load. You might benefit from playing with the send and receive buffer options in the mount options.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
thanks :-)
Mr Green
Offline
I tried NFS and found the performance and reliability to be horrible. It kept disconnecting and traffic moved really slow. Now I use sshfs and it works great. I crash dolphin every so often when I hover my mouse over a very large file and it tries to get all the information from it, but other than that it works great. Very reliable, now disconnects, and speeds are pretty decent.
I did have to setup the ssh between my server and my desktop with no password for it to not be a pain in the ass, asking me for password all the time.
Also, if you're not setting it up as a share that you access all the time, KDE4 has a very nice easy to use way to connect to an ssh file system built into it. Works great if you just connect and grab files every once in a while and don't want to hassle with setting up nfs or sshfs.
Offline
I will use ssh to remote control server.... access is the problem I did notice when playing music it kept pausing
nfs is running at the moment gave samba the boot as there are no MS machines here... will give sshfs a go
http://www.mccambridge.org/blog/2007/05 … nd-autofs/
just came across autofs
MrG
Mr Green
Offline
Bear in mind that sshfs' encryption will have an impact on performance - may not be significant, but it will be there. NFS is the best choice IME, once it's configured correctly.
Offline
Are there any good guides to setting up nfs correctly?
Had no problems with sshfs mounted remote folders with ease
But streaming media may need a different approach
Mr Green
Offline
I've never had issues streaming music, or even hd video over nfs or sshfs. Are you running wireless?
Last edited by Zeist (2009-04-09 07:12:37)
I haven't lost my mind; I have a tape back-up somewhere.
Twitter
Offline
yeah I am running wifi for home network
Mr Green
Offline
NFS is giving me grief.... not quite grasped it
mount: only root can do that
mrgreen@mrgreen-laptop:~$ sudo mount 192.168.0.100:/files /files
[sudo] password for mrgreen:
mount.nfs: access denied by server while mounting 192.168.0.100:/files
mrgreen@mrgreen-laptop:~$ sudo mount mrgreen@192.168.0.100:/files /files
mount.nfs: DNS resolution failed for mrgreen@192.168.0.100: No address associated with hostname
mrgreen@mrgreen-laptop:~$ sudo mount viken@192.168.0.100:/files /files
mount.nfs: DNS resolution failed for viken@192.168.0.100: No address associated with hostname
mrgreen@mrgreen-laptop:~$
The server name is viken on 192.168.0.100
username on server is mrgreen
hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.100 viken.example.com viken
I can ssh in .... not a problem have server [/files] loaded in nautilus via sftp
Can anyone help me or point me in the right direction
/me confused
MrG
Mr Green
Offline
NFS doesn't use user/password. It is setup on the server side using the /etc/exports file.
"sudo mount 192.168.0.100:/files /files" is correct, but your setup on the server side probably was wrong.
The wiki is pretty informative.
http://wiki.archlinux.org/index.php/Nfs
Last edited by stryder (2009-04-10 11:36:22)
Offline
Did you try removing 'viken.example.com' ?
I'm not an expert but It looks like It's trying to connect remotely .
Hint :
Use '/etc/exports' and '/etc/fstab' to mount NFS shares easily .
English is not my native language .
Offline
I wish connect locally only... got example.com from a howto online /etc/exports emmmm
Yeah most of the howtos I have read are connect via web, I am not interested in doing that purely media
Thanks for your help....
@Nezmer what do I need to have in hosts to give my server a machine name?
Mr Green
Offline
@Nezmer what do I need to have in hosts to give my server a machine name?
On the server side :
'/etc/hosts' :
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost <dydnsName>.homelinux.org serverName
# End of file
'/etc/exports' :
# /etc/exports
#
# See exports(5) for a description.
# use exportfs -arv to reread
/var/cache/pacman/pkg 192.168.1.0/255.255.255.0(sync,rw,no_root_squash)
/var/lib/pacman/sync 192.168.1.0/255.255.255.0(sync,rw,no_root_squash)
/home/<serverUsername>/pkgs 192.168.1.0/255.255.255.0(sync,rw,no_root_squash)
* Make sure you allow clients in '/etc/hosts.allow' for nfsd,mountd & portmap .
On the client side :
'/etc/hosts'
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost clientName
192.168.1.105 serverName.local serverName
# 192.168.1.105 is the LAN ip of the server
# End of file
'/etc/fstab' :
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
UUID=10498b2e-ade0-46c0-a6ec-88843a6db821 swap swap defaults 0 0
UUID=bba816f4-0614-42c0-9876-8130b3d37fe7 / ext3 defaults 0 1
serverName:/var/cache/pacman/pkg /var/cache/pacman/pkg/ nfs defaults 0 0
serverName:/var/lib/pacman/sync /var/lib/pacman/sync nfs defaults 0 0
serverName:/home/<serverUsername>/pkgs /home/<clientUsername/pkgs nfs defaults 0 0
Last edited by Nezmer (2009-04-10 14:57:59)
English is not my native language .
Offline
Thank you ;-)
Mr Green
Offline