Sharing an optical Disk Drive over a Samba network?

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Moderators General, Prelates

User avatar
radicaledward101
Posts: 37
Joined: Thu May 08, 2008 5:59 pm UTC
Location: here
Contact:

Sharing an optical Disk Drive over a Samba network?

Postby radicaledward101 » Sat May 31, 2008 12:03 am UTC

Hello All!

I hope this problem isn't too odd and that its not already been solved elsewhere. I can't find anything about it on google searches (about 30 different ones too!).

Problem:

I'm trying to share an optical disk drive over a Samba fileshare network. The DD is CD-ROM only and on a very old computer. The stuff I did find said that in order to do this I simply edit the smb.conf file to share the cdrom directory which is automounted by the computer from fstab. All of that seems to work. I can even get my Mac to mount the cdrom directory. But it comes out all jumbled. For instance, I insert a DVD and it still gets mounted on the MAC as a folder which means I can't actually watch the DVD. I tried it with a number of music cds and I was able to access the "bonus content" but not the actual music. I have another share which shares a 500gb harddrive from the same computer which works fine. Also the computer shares some of its files over UPNP with uShare.

Specs:
    I'm running two computers on this network:
      A pentium III with 380mb of RAM running Ubuntu Linux Server Edition version 8.04
      A Macbook (from about a year and a half ago) 2 GHz Intel Core Duo 1gb RAM running OS X 10.4.11
    I'm using a wired router: D-LINK 4 port hooked up to my school's network

Will provide .conf files upon request!

Thanks in advance!
For some reason I write ridiculously long posts on this forum. In order to curb tl;dr syndrome I attempt to spoiler and summarize where possible. Let me know if my post structure is overly confusing!

User avatar
enk
Posts: 754
Joined: Mon Sep 10, 2007 12:20 am UTC
Location: Aalborg, Denmark
Contact:

Re: Sharing an optical Disk Drive over a Samba network?

Postby enk » Sat May 31, 2008 2:03 am UTC

For some time, I used my headless linux server to watch DVDs on my lappy as the optical drive in the latter was very noisy.

The shared folder usually contained two folders called audio_ts and video_ts. Dropping the video folder on VLC resulted in the DVD playing (audio included)... hope this helps.
phlip wrote:Ha HA! Recycled emacs jokes.

User avatar
radicaledward101
Posts: 37
Joined: Thu May 08, 2008 5:59 pm UTC
Location: here
Contact:

Re: Sharing an optical Disk Drive over a Samba network?

Postby radicaledward101 » Sat May 31, 2008 4:27 am UTC

Unfortunately that didn't work.

When I sent the folder to VLC I got this error:

main: thread 2684415136: mutex_lock failed at misc/variables.c:805 (22:Invalid argument)
main: thread 2684415136: mutex_unlock failed at misc/variables.c:811 (22:Invalid argument)
For some reason I write ridiculously long posts on this forum. In order to curb tl;dr syndrome I attempt to spoiler and summarize where possible. Let me know if my post structure is overly confusing!

Baka no Kami
Posts: 203
Joined: Sun May 25, 2008 7:34 pm UTC

Re: Sharing an optical Disk Drive over a Samba network?

Postby Baka no Kami » Sat May 31, 2008 7:23 am UTC

Look in the video_ts directory for .vob files 1gig in size. if you see 3 or more that all start with vts_ then the same number than another underscore and sequential numbers chances are that's the main move. Try playing one of those files, and try to do it with a really cheap movie as the chances are it isn't encrypted. If it plays that file, try it with a newer movie. If the errors show up then you probably need to install whatever package the DVD decryption library is in. If you get the errors regardless of the disc it's likely an access issue.

For music I don't know. I can guess that your system is only seeing the bonus material because it's ignoring the non-data portions of the disc. I don't know if you can make linux emulate a optical device with a local folder much less a network one. The only thing I've seen was to emulate an optical using a image file of a disc.

I'm assuming you meant that the computer you're on only has a CD-rom while the remote one has a DVD. What OS's are they running?

EDIT: My bad. I glanced over the system specs too fast.

k1ll3rdr4g0n
Posts: 141
Joined: Sun May 11, 2008 2:13 am UTC

Re: Sharing an optical Disk Drive over a Samba network?

Postby k1ll3rdr4g0n » Sat May 31, 2008 3:34 pm UTC

radicaledward101 wrote:Hello All!

I hope this problem isn't too odd and that its not already been solved elsewhere. I can't find anything about it on google searches (about 30 different ones too!).

Problem:

I'm trying to share an optical disk drive over a Samba fileshare network. The DD is CD-ROM only and on a very old computer. The stuff I did find said that in order to do this I simply edit the smb.conf file to share the cdrom directory which is automounted by the computer from fstab. All of that seems to work. I can even get my Mac to mount the cdrom directory. But it comes out all jumbled. For instance, I insert a DVD and it still gets mounted on the MAC as a folder which means I can't actually watch the DVD. I tried it with a number of music cds and I was able to access the "bonus content" but not the actual music. I have another share which shares a 500gb harddrive from the same computer which works fine. Also the computer shares some of its files over UPNP with uShare.

Specs:
    I'm running two computers on this network:
      A pentium III with 380mb of RAM running Ubuntu Linux Server Edition version 8.04
      A Macbook (from about a year and a half ago) 2 GHz Intel Core Duo 1gb RAM running OS X 10.4.11
    I'm using a wired router: D-LINK 4 port hooked up to my school's network

Will provide .conf files upon request!

Thanks in advance!

My thoughts is that Mac is having some issues between the different versions of SMB. I have experienced bad funny things on my mac laptop also: I use FreeNAS to run a file server and for the life of me I can't figure out why Mac wont talk to to the SMB share off of FreeNAS. I'll bet if you hook a Windows machine up it will work just fine.


Return to “The Help Desk”

Who is online

Users browsing this forum: No registered users and 3 guests