Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials



Setting Up Your Own Diskless Workstations with LTSP
Configuring Sound on LTSP

Alexander Prohorenko
Wednesday, October 2, 2002 05:09:46 PM

To support multimedia applications on the workstation, yopu will have to configure sound support. This brings up a rather thorny problem because in reality all the applications are executed not on the local station, but rather on the main server. This means that we need to transfer all sound streams from the server to workstation via the network.

Initially, this seems to be a difficult task, but such software already exists to handle it--a special package called ltsp_sound can do all of these things, which can easily be downloaded from the LTSP developers site.

This package isn't available as an RPM, so after downloading, we need to unpack the archive file into a temporary directory and execute script included in the package as superuser (root). Remember, make sure, the PATH statement contains /sbin and /usr/sbin:

export PATH=$PATH:/sbin:/usr/sbin
./install.sh
LTSP Sound v3.0.1 by Andrew Williams (mistik1@geeksinthehood.net)
Originally created by Boris Reisig (boris@microtrader.com)
Bash Version=2.05a.0(1)-release
Installing Base package.
Please make sure to unset LD_PRELOAD before you use this
if have a previous ltsp Sound package installed
About to install the libs, Are you sure you want to continue? [Y/N]:
    
Confirm (Y):
    
Putting files in /opt/ltsp
   
Setting up Environment variables adding ltsp-sound.sh
    
Would you like to install the nasd sound utilities package? [Y/N]:

Confirm (Y). Nasd - it's special sound server:

Putting files in /opt/ltsp

Setting up Environment variables adding ltsp-sound.sh

Would you like to install the nasd sound utilities package? [Y/N]:y
Putting files in /opt/ltsp

Setting up Environment variables adding ltsp-sound.sh

Would you like to install the nasd sound utilities package? [Y/N]:y
Installation *Complete*

!!NOTE: Please read "/opt/ltsp/i386/etc/lts.conf.sound" for more info
You *SHOULD* turn down your workstation speakers as this
package is installed default to ramp the sound volume
on loading of the sound daemon
			
Have Fun!!!

We now just have to modify the configuration of the network's workstations. In the lts.conf file, in the settings section, we will add these lines:

    SOUND              = Y
    SOUND_DAEMON       = nasd   # This can be 'nasd', or 'esd' at this time
    VOLUME             = 100    # Speaker & WAVE volume pecentage
    MIC_VOLUME         = 100    # Microphone volume
    CD_VOLUME          = 75     # CD Audio volume
    SMODULE_01         = auto   # sound chip auto detect 

    Nasd - it's special daemon, which receives/send media data over network.
    VOLUME - software settings for volume range.
    MIC_VOLUME - software settings for microphone sensivity.
    CD_VOLUME - software settings for CD audion input sensivity.
    SMODULE_01 - name of loadable module of soundcard or auto for autodetect.

If your soundcard cannot be autodetected, you can configure it manually:

    SMODULE_01         = soundcore
    SMODULE_02         = uart401
    SMODULE_03         = sb io=0x220 irq=5 dma=1

In this example, by the way, we are configuring a Sound Blaster-compatible card.

After the workstation reloads, we can use xmms and many other multimedia applications.

Next: A Few Notes About Security »

Skip Ahead

1 The Whys and Wherefores of LTSP
2 Installing and Configuring an LTSP Server
3 Prepping the Workstations
4 Configuring Sound on LTSP
5 A Few Notes About Security
6 Wrapping Up





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers