LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-25-2003, 01:49 PM   #1
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Rep: Reputation: 16
Sharing a DVD-ROM drive


I just set up a computer for my wife running Red Hat 8.0. My own box, with Debian Woody, has a DVD-ROM drive, and she would like to be able to watch DVDs on her machine using the drive on mine.

The two computers are not networked, but they are both connected to the same router for internet access. My question is, what would be the simplest way of enabling her machine to access the drive on mine? Would I need to set up mine as a server, or is there a simpler way? Can we do this through the existing router, or do I need to get a switch?

Thanks in advance for any advice.
 
Old 03-25-2003, 02:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It sounds like your router may already have a built in switch or hub. You possibly just neet to assign IP addresses.

I'm not sure what speed it eill need to be in order to get a decent DVD playback though. You may need to upgrade to a fast switch and or network cards. If it gets like this you would be as cheap buying another DVD player
 
Old 03-25-2003, 03:12 PM   #3
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 16
Sorry, I forgot to mention that both computers have 10/100 Ethernet cards, and the router is switched. I get a transfer rate of 1.2 Mbps over the internet, so I expect they're fast enough. I'm just not sure how to go about it -- I can set up IP addresses easily enough, but after that, how do I tell Red Hat, "use the drive located on the computer at this IP"?

Thanks again...
 
Old 03-25-2003, 03:22 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It isn't something I use very much but I think NFS is the way to go.

Assuming your PC's are networked (you can ping the other machine etc) There is a detailed document about setting up NFS - client and server - here:
http://www.netsys.com/cgi-bin/display_article.cgi?1052

I still don't know if it will work with your DVD software (whether it will complain because the system doesn't actually have a DVD drive)
 
Old 03-25-2003, 04:45 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as long as you have good computers generally i'd say just use SSH to connect to the other system and run the app actually ON your machine but have it display on hers, playing DVD's you'd probably split the system usage 60/40 against the system with the drive (as there's still a lot of work to display the video on your wifes machine). this is what would happen by default with a standard ssh setup, so would be pretty trivial and should work out of the box. http://openssh.com
 
Old 03-25-2003, 05:17 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That should certainly solve any problems with running the DVD software on your wifee's PC.

Good thinking acid
 
Old 03-25-2003, 06:34 PM   #7
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 16
Thanks to you both! I'll probably try SSH first, but after reading about NFS, I'm going to install that too just to play with.
 
Old 03-25-2003, 06:59 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by acid_kewpie
as long as you have good computers generally i'd say just use SSH to connect to the other system and run the app actually ON your machine but have it display on hers, playing DVD's you'd probably split the system usage 60/40 against the system with the drive (as there's still a lot of work to display the video on your wifes machine). this is what would happen by default with a standard ssh setup, so would be pretty trivial and should work out of the box. http://openssh.com
How would one go about displaying this on another box? I mean, what would be an example of the syntax?:
mplayer -vo xv filename.avi
But won't that display on the box that is being ssh'd into?



Cool
 
Old 03-26-2003, 12:24 PM   #9
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 16
That's a good question -- I was too ignorant of SSH to even know to ask it. Or will the man pages address that? (I haven't looked yet, I confess...)
 
Old 03-26-2003, 12:28 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no it would connect to the local machine is x forwarding is enabled which is normally is.
 
Old 03-26-2003, 04:57 PM   #11
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
http://www.videolan.org may be very suited to your situation.
 
Old 03-26-2003, 04:59 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nah, ALWAYS mplayer!... well vlc does have it's uses i guess.
 
Old 03-26-2003, 05:12 PM   #13
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
Such as, say, streaming video from one machine to another? ;-)

Furthermore, Xine! Rah rah rah!
 
Old 03-27-2003, 02:03 PM   #14
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 16
Faecal, that looks like the best (or simplest, anyway) solution yet. I'll give it a try. Thanks!
 
Old 03-27-2003, 03:36 PM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Xine? don't make me come over there.....
 
  


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
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 11:25 AM
DVD Rom drive is not seen jeempc Slackware 2 08-13-2004 05:23 PM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM
Mounting DVD-ROM Drive mindstormsguy Linux - Hardware 2 06-27-2003 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:14 AM.

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