[mythtv-users] Mapping to a Windows share

Anthony Giggins seven at seven.dorksville.net
Thu Jan 24 03:07:30 UTC 2008


> David George wrote:
>> On 01/23/2008 08:34 PM, Harry Devine wrote:
>>
>>> I recently put Windows XP back onto my main PC in the house, mainly
>>> because I couldn't get any drivers to work for my ATI Radeon X1600 card
>>> on FC8, and also because the Flash support for x86_64 was non existant.
>>> So I went back figuring I'd try again at a later date.
>>>
>>> Anyway, I have most of my MP3s on my Windows box.  I'd like to allow
>>> Myth to access them from there instead of copying them over to the Myth
>>> box.  I have a share setup called Music on the Windows box and it's
>>> open
>>> to Everyone (permissions-wise).  When I try to mount to it from my Myth
>>> box, nothing happens.  It just sits there forever looking like it's
>>> trying, but never mounts it.  I'm entering:
>>>
>>>              mount 192.168.1.101:/music /mnt/music
>>>
>>> Any ideas?  I'd really like to not have files duplicated on 2 machines.
>>>
>>>
>>
>> You didn't mention what Linux distro you are running on your myth box,
>> but as you mentioned F8 for the other system the following should work:
>>
>> mount -t cifs -o "username=loginname,uid=loginname"
>> //192.168.1.101/music /mnt/music
>>
>> Then just enter your password and you should be good to go.
>>
>>
> Sorry about the Linux distro.  It's FC6.  I entered the following and
> got it to work:
>        mount -t cifs -o username=Administrator,password=#######
> //192.168.1.101/music /mnt/music
>
> So, for the next dumb question:  can I somehow put this into my
> /etc/fstab so it can be mounted up automatically?  I'm assuming a line
> similar to the following should be close:
>        //192.168.1.101/music   /mnt/music   cifs
> username=Administrator,password=####### 0 0
>
> Thanks for all the help!
> Harry
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


Just add the command into /etc/rc.local
mount -t cifs -o username=Administrator,password=#######
//192.168.1.101/music /mnt/music

Cheers Anthony


More information about the mythtv-users mailing list