LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2004, 05:25 PM   #1
Tinochelli
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 18

Rep: Reputation: 0
share dvd-rom


Hi ppl,

is it possible to share a dvd rom drive (with samba) in fedora c2 box so a windows machine can access the files on it?





if so....how?



thank in advance
 
Old 12-20-2004, 06:12 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I believe something like the following under the shares section of /etc/samba/smb.conf should do it.

[dvdrom]
comment = dvdrom
path = /mnt/dvdrom

Note, the drive will have to be mounted, and any changes made to the smb.conf will not take effect until the daemons are restarted. Most likely the windows machine will need a reboot to pick up the share.
good luck.
 
Old 12-20-2004, 06:21 PM   #3
Tinochelli
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 18

Original Poster
Rep: Reputation: 0
I believe something like the following under the shares section of /etc/samba/smb.conf should do it.

[dvdrom]
comment = dvdrom
path = /mnt/dvdrom

Note, the drive will have to be mounted, and any changes made to the smb.conf will not take effect until the daemons are restarted. Most likely the windows machine will need a reboot to pick up the share.
good luck.

ok thanks for ur prompt reply, i added the text to smb.conf and the windows box
picks up the share, but wen i try to access it, i cant. it comes up as not accessible

any ideas? permission?
 
Old 12-20-2004, 06:31 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Yes I'm guessing permissions. Is the drive mounted with a disk? If so what does /etc/fstab look like, or was it mounted manually? In any event you may need to unmount it and remount it.
good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 shows dvd-rw as cd-rom and cd-rom as cd-rw hjshah Linux - Hardware 1 10-03-2005 05:40 AM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 12:39 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM
DVD-ROM not detected CD-RW mistaken as CD-ROM Device DarkXtar Slackware 21 06-02-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration