Author |
Message |
edacsac
|
Posted: Thu Feb 23, 2006 11:54 am |
|
Joined: Tue Feb 14, 2006 2:44 pm
Posts: 13
|
Hi all,
I'm working on a KnoppMyth install, but one of my plans is to have a folder/shared drive/mount point mapped to another linux box that I already store media on. Ideally I would like the KnoppMyth box to write to this share and use it as the media folder, but I'm not sure how well it will do running over 11mbps wireless. If I can't get it to write well, I still want to access media on that machine.
So... How do I "map a drive" from linux to linux? I've set up Samba on several boxes (including the box I want to map to), but I've always connected with a windows machine. I'm not even sure what terms to use in a forum search for mapping linux to linux. I know Samba manages the sharing, so I'm thinking I won't be using Samba on the KnoppMyth box to map my drive or sharepoint.
Please point me in the right direction!
|
|
Top |
|
 |
bonarez
|
Posted: Thu Feb 23, 2006 3:13 pm |
|
Joined: Sun Jan 29, 2006 8:51 am
Posts: 48
|
|
Top |
|
 |
edacsac
|
Posted: Fri Feb 24, 2006 7:20 am |
|
Joined: Tue Feb 14, 2006 2:44 pm
Posts: 13
|
Thanks bonarez! Easier than I thought.
|
|
Top |
|
 |
stinga
|
Posted: Fri Feb 24, 2006 7:27 am |
|
Joined: Sat Nov 05, 2005 4:37 am
Posts: 191
Location:
Cornwall - uk
|
_________________ -- stinga
as of 17-May-2018 R8.2 - sort of working. MB: gigabyte GA-P43-ES3G | RAM: 2GB VGA: PNY Nvidia GT240 1GB 4 x Technisat skystar 2 dvb | 1 x TBS6981 dvb-s2 pata: 1x300Gb | sata: 2x1Tb 2x2Tb Problems: TBS6981 Does not work.
|
|
Top |
|
 |
tjc
|
Posted: Fri Feb 24, 2006 6:42 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
What stinga said. NFS will give you markedly better performance than SMB without the file size restrictions.
|
|
Top |
|
 |
bonarez
|
Posted: Fri Feb 24, 2006 7:43 pm |
|
Joined: Sun Jan 29, 2006 8:51 am
Posts: 48
|
Quote: NFS will give you markedly better performance than SMB without the file size restrictions.
true, NFS gives a far better performance then any other file transfer protocol, even ftp However I still prefer samba for compatibility reasons. I'm running a 'mixed' network here, including several gnu/linux, a windows 2k and a mac os9. While it's possible to connect to nfs shares from windows, I haven't tried it from mac. smb shares are easily accesible from all os's I work with so imho samba is the easiest.
|
|
Top |
|
 |
edacsac
|
Posted: Sat Feb 25, 2006 6:15 pm |
|
Joined: Tue Feb 14, 2006 2:44 pm
Posts: 13
|
Thanks for all the opinions. I set up a samba share as well as an nfs share, and I find the nfs share to do the "buffer stutter" less, but both would be rough to actually "watch" something over the network. Although I can get through videos whithout a stutter that are small in size, say 10-20 mb, but any dvd rips are stutter madness. I guess 11b isn't enough throughput to stream video. I'll probably throw in a wired card once I work through some other things.
I wish there was some way to setup a buffer or read ahead with the video player. I was hopeful for a minute when I found the mythstream directory, but after further reading I found out it wasn't what I thought it was.
|
|
Top |
|
 |
spalVl
|
Posted: Sun Feb 26, 2006 12:57 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: wish there was some way to setup a buffer or read ahead with the video player.
If you are using MythVideo with the default of Mplayer there is.
This command will utilize a 2MB cache.
Code: echo cache=2048 >> /home/mythtv/.mplayer/config Personally I don't like using fstab, can have share timeouts and loses connection. I prefer autofs (great howto on the WIKI) and soft links in appropiate media directory. This is script I use to quickly setup Knoppmyth's connection to my windos box. (replace parameters) Code: /etc/init.d/samba start update-rc.d samba defaults
echo “/mnt/network /etc/auto.samba.mnt --timeout=2 -–ghost” >>/etc/auto.master
echo “%servername-share% -fstype=smbfs,credentials=/home/mythtv/.smbpassword ://%windows-server-name%/%shared-folder-name%” >>/etc/auto.samba.mnt
echo username=%username% >> /home/mythtv/.smbpassword echo password=%password% >> /home/mythtv/.smbpassword
/etc/init.d/autofs stop /etc/init.d/autofs start
ln –s /myth/gallery/%servername-share% /mnt/network/%servername-share%/pics ln –s /myth/music/%servername-share% /mnt/network/%servername-share%/audio ln –s /myth/video/%servername-share% /mnt/network/%servername-share%/videos
#Add 2MB cache for Mplayer, assists in playing of network video files echo cache=2048 >> /home/mythtv/.mplayer/config
|
|
Top |
|
 |