Remote devices?

I have two linux boxes on a LAN in my apartment.  Is there a way that one of them can access the serial and sound devices of the other (ie: redirect audio from computer1 through the sound card of the computer2 or use let computer1 use a device plugged into the computer2's serial port).  Can this be done through NFS mounting or is there another way it could be done?

Thank you in advance for any assistance.
Z'
ZeePrimeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ventolinCommented:
NFS is only designed to operate with block files. The issue is the difference between the way device files operate on UNIX and PC (DOS, OS/2, NT) environments.  In the PC systems the device file is the device, so if a network shares the device file then it shares the device.  However in UNIX the device file has a single purpose - to tell the kernel the major/minor ID numbers of the device driver.  Than after the device file is opened the kernel performs all operations on the local device driver that has registered those numbers.

You could write a lightweight server using sockets interface that will allow the mentioned operations to be performed on the remote machine and the results passed back to the client or...

There are some servers like this already written. Check out:

EsounD -- The Enlightened Sound Daemon
http://www.tux.org/~ricdude/EsounD.html

rplay
http://rplay.doit.org/

Network Audio System (NAS)
http://shell.rmi.net/~jon/nas.html

AudioFile
ftp://crl.dec.com/pub/DEC/AF

-ventolin-
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.