HowTo install WebCDwriter On SME 5.6 Author

Original Author: Placido Sanchez

Updated by: Ben Morrisson (this is a beta howto - feedback welcome - use at your own risk)

ben@interworx.com.au

http://www.geocities.com/lapsch Last Updated 10-Oct-03 WARNING

Tested only on SME 5.6. Before you do anything make sure to read the documentation for each of the packages below, and ...... You are responsible for any changes you make, so only add these settings if you know what you're doing, or are prepared to deal with the consequences. Introduction

WebCDwriter ( http://joerghaeger.de/webCDwriter/ ) "webCDwriter can be used to make the CDR/W connected to a Linux box available to all users in your network.." Download

1 audiofile (needed by mpg123) ftp://fr2.rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/audiofile-0.2.3-1.i386.rpm 2 esound (needed by mpg123) ftp://fr2.rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/esound-0.2.24-1.i386.rpm 3 mpg123 (needed by webCDWriter) ftp://fr2.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/mpg123-0.59r-10.i386.rpm 4 webCDWriter (rpm for redhat 7.2) http://129.70.4.38/download/webCDwriter-2.4.1-1.i386.rpm

Needed for workstations accessing webCDcreator

Java Runtime Plugin (for linux, windows...)

http://java.sun.com/products/archive/j2se/1.3.1_02/jre/

Optional - suns Java Web Start (recommended, does not depend on browser, runs alone)

http://java.sun.com/products/javawebstart/download-windows.html

Things you should already have done

Configure your CDR(W) drive. Install mkisofs and cdrecord

If you need to do this follow these instructions: Read the CDRecord HOWTO Installation

Install all the files in the 'Download' section. In the order that they appear.

rpm -Uvh audiofile-0.2.3-1.i386.rpm rpm -Uvh esound-0.2.24-1.i386.rpm rpm -Uvh mpg123-0.59r-10.i386.rpm rpm -Uvh webCDwriter-2.4.1-1.i386.rpm

Before you start CDWserver, edit '/etc/CDWserver/config' to your needs. The default for the maximum speed of the CDR is set to 8x you may like to increase this depending on your hardware

Note from Ben: I haven’t tested the webstart config but it appears to be similar to what is required would like some feedback from someone who tries it.

Install the java plugin on the machine/s you will be using to access webCDcreator. If you will be using java web start make sure to configure apache correctly, edit/create /etc/e-smith/templates-custom/etc/mime.types/JavaWebStart.jnlp put this two lines below in 'JavaWebStart.jnlp'


  1. For java web start

application/x-java-jnlp-file jnlp


rebuild /etc/mime.types /sbin/e-smith/expand-template /etc/mime.types restart apache /etc/rc.d/init.d/httpd restart

Finally start CDWserver /etc/rc.d/init.d/CDWserver start Go to a workstation, open a browser, go to http://[your server address]:12411

Enjoy! Troubleshooting

If you get a cdrecord error like the one below


cdrecord: Invalid argument. Cannot get mmap for 4198400 Bytes on /dev/zero


this means that cdrecord was not compile with the same kernel version your machine is using(probably on a 2.4.x machine), a solution would be to use an older cdrecord version, or recompile cdrecord using your kernel version.