Linux Tips

Linux is great, but there are so many little gotchas all over the place that I figured I should set up a place to dump all the things I've spent time figuring out. Perhaps someone will find some of this stuff useful.

MSI KT3-ARU and Sound

This caused me no end of grief. The brief run-down of how I got it working:

OK, things should work now. run "mpg123" on a file of your choice, and you should hear nice sound.

Oh yeah, if you hear weird reverb/echo/crappiness, try turning Master Mono volume all the way down in alsamixer. I don't know why, but this fixed my problem - even though I could turn the Mono volume back up afterwards with no ill effects.

Mplayer

This actually wasn't a huge deal, I basically had to force MPlayer to use the "OSS" driver setting instead of the "ALSA9" setting:

mplayer -vo x11 -ao oss:/dev/dsp movie.mpeg

CommuniGate Pro installation on Slackware

This is pretty straightforward, but there are a few gotchas. I couldn't make the statically-linked version of CGPro work for me. (This is the "Linux-Non-Redhat" tarball that is on the CGPro download page.) The server would seem to start up, but it would then silently die after getting halfway through creating some of the initial directory structure. The way I solved this problem was by downloading the Redhat RPM, converting it to .tgz with rpm2tgz, extracting the resulting tarball to a temp directory, and then moving the files into appropriate locations. Wherever you decide to move the CommuniGate "Base Directory", you need to make sure it is recursively owned by root, group mail, and that its permissions are 2770 all the way down the tree:

	chown -R root:mail /var/CommuniGate
	chmod -R 2770 /var/CommuniGate
This assumes that your mail group is "mail" and that you've set the base directory as /var/CommuniGate.

The startup script is simple, but you will need to modify it if you are using a non-default Application or Base directory. Note that the $APPLICATION directory refers to the parent directory of the "CommuniGate" server directory, so if the path to CGServer was /usr/foo/bar/CommuniGate/CGServer, then APPLICATION should be set to "/usr/foo/bar".