How to set up KVM / Qemu running XP in Fedora 8

January 11th, 2008

This is a bit long, its 11 pages, but its something I’ve been working on and off with for 2 months. Mostly I use qemu on my laptop, its been very stable since installation.

This is the first version of the guide. Please feel free to link back to it, but do not copy it and say its your own, thats just bad mojo. Thanks and I hope it helps.

http://bonzoli.com/docs/How_to_setup_Qemu_on_Fedora_8.pdf

http://bonzoli.com/docs/How_to_setup_Qemu_on_Fedora_8.html

K9copy issue on fedora 8

December 28th, 2007

I was having an issue with k9copy on fedora 8, the solution was provided at this link: http://forums.fedoraforum.org/forum/showpost.php?p=909422&postcount=7

Updated Fedora 8 mumble 1.1.1 rpms

December 12th, 2007

The are in http://bonzoli.com/files

The festitival directory has a working rc file put it in ~/.festivalrc and pulseaudio should work fine.

Bit of fun with festival text-to-speech with pulse audio

December 9th, 2007

I had issues with mumble using festival for text-to-speech which was not using the pulseaudio backend. Pulseaudio is the new audio backend in Fedora 8 (Werewolf). Pulseaudio puts lots of emulators in to capture audio for esd, alsa, oss, and some others. Pulseaudio works fine, but if your application is by default  not pointed at /dev/dsp you will get an error,  “can not open /dev/dsp.”

You have to point the application at something other then the raw device(dsp) which pulse audio will have locked.  In my case the older alsa emulation appears to work.   So the solution to make festival on Fedora 8.

gedit ~/.festivalrc

Add:

(Parameter.set ‘Audio_Command “aplay $FILE”)
(Parameter.set ‘Audio_Method ‘Audio_Command)
(Parameter.set ‘Audio_Required_Format ‘snd)

Save file:

echo “say something, please.” | festival –tts

in a terminal.

It should work, if you have the pulse audio items installed you can watch it open an audio channel to play back the text.

To install the pulseaudio utilities as root type:

# Install all the pulse utilities to manage and view sound settings:
yum install -y padevchooser.i386 paman.i386 pavumeter.i386 pavucontrol.i386

Or install those packages via yumex. After your done you should find menu options in your multimedia menu. The volume control lets you set and see whats playing.

What is unique on pulseaudio that you can not do anywhere else, is you can alter the volume of one application versus your other applications, this allows you to have say voice over ip(VoIP Mumble) higher then say your BF2, WOW, or MP3 playback.

Enjoy.

Mumble Fedora 8 Client and server 1.1.1-3

December 8th, 2007

Rebuilt, this rpm should be about as complete as I can make it. I might tidy up the startscript a bit later, but the functional parts are all here, logs, rotation of logs, services, ini changes, new start/stop script, and I’ve fixed all the package errors I was experiencing. It was quite fun being my first full rpm build of this size. I signed it with my gpg key, rpm -k should verify it, or -qip.

I’ve tested it -ihv to install and -e to remove it appears to work correctly. It will not delete the murmur database, or the murmur.ini files if you remove it.

Changes:

* Fri Dec 7 2007 1.1.1-3
Moved murmur.log to /var/log owned by murmur:murmur
Added logrotate.d config for murmur server
Added rpm “Signed by”, to make it easier to use.
Fixed the library symbols issue with AutoReqProv: no
Added /etc/services update murmur 64738/tcp/udp
http://bonzoli.com/files/mumble/mumble-1.1.1-3.src.rpm
http://bonzoli.com/files/mumble/mumble-1.1.1-3.i386.rpm
http://bonzoli.com/files/mumble/mumble-devel-1.1.1-3.i386.rpm
http://bonzoli.com/files/mumble/mumble-server-1.1.1-3.i386.rpm
I’m loving all the imrovements. OH did I mention all conversations are ssl encrypted now, along with the signin. Thorvald did one hell of a job with it. Feel free to stop by the sourceforge forums and tell him so if you haven’t.

New Mumble 1.1.1 Fedora 8 RPMS

December 7th, 2007

I have updated the rpms in the http://bonzoli.com/files/ directory. The new rpm’s have a working /etc/init.d start stop script. And a few other additions here is the change log entry. The new version is 1.1.1-2.

Added Dependency on openssl,
Added pre and post for server install.
Added init.d startup
Added /var/lib/murmur/murmur.sqlite.db setup
Added /etc/murmur.ini
Added murmur start stop script, works but needs more work for the other distros
Added overlay_gl files
fixed libmumble.so links in /usr/lib
fixed should be more safe when doing -U upgrade
Added some novell dependency checks, might be usable now on suse, but will have to test the server start stop script.

There is a side effect though, its going to say can not find dependency

error: Failed dependencies:
libc.so.6(GLIBC_PRIVATE) is needed by mumble-server-1.1.1-2.i386

Which is actually not true, since everything needed is in the package. I have to research RPM lib functions and try to clear that up later. just install rpm -ihv –nodeps <rpmname>

It will go in fine, and work fine.

The murmur.ini is in /etc and the murmur database is now in /var/lib/murmur by default.

Edit the /etc/murmur.ini file if you want to turn on dbus or any of the other options for the server.

The mumble-overly now works also, its in /usr/bin next to mumble, use this if you want to have the overly on linux GL. Warning though, there is a serious penalty to use it, my tests showed a 30% hit on Frames per second for this version. If you have an old system or a weak video card, you should test before using.

Mumble on Fedora 8

December 6th, 2007

Well I went a bit farther this time and created a RPM package for Mumble 1.1.1. This is a Teamspeak, or Ventrilo type product. Mumble is Opensource, and works quite well on Windows and Linux. I have not tried the Mac version. It now has secure login, along with overlays for GL games in linux so you can see who is talking and in the channel. It works well in DX9 also on XP. The mumble sources and forums can be found here.

You will have to install some other packages to make it work:

yum install qt4-devel.i386 qt4-mysql.i386 qt4-x11.i386 qt4.i386 qt4-devel.i386 qt4-sqlite.i386 qt4-x11.i386 speex-devel.i386 speex.i386 boost.i386 boost-devel.i386 qt-MySQL.i386 qt4-sqlite.i386 libXevie-devel.i386 pulseaudio-libs-devel.i386

You can skip the devel packages if you are not interest in recompiling it.

The RPMs are in this directory, the spec file is still new and needs lots of work. This does work on my machine though. Dont forget the to run the above yum install line. Other distro’s that use RPM your milage will vary, can’t hurt to try I think.

Setting up the perl scripts in the archives on Fedora 8

December 2nd, 2007

You can run the following commands to set up to run the usenet scripts I have in my archive on Fedora 8.

yum install ImageMagick*
yum install mp3gain.i386 lame-mp3x.i386
#pac
yum install -y perl-Inline.noarch perl-Test-Inline.noarch perl-Parse-RecDescent.noarch flac-devel.i386
yum install perl-CPAN.i386

# By hand method if cpan wont work for you

# MP3::Tag
wget http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/MP3-Tag-0.9709.tar.gz
tar -zxf MP3-Tag-0.9709.tar.gz
cd MP3-Tag-0.9709
perl Makefile.PL
sudo make install
cd ..

# Audio:WMA
wget http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Audio-WMA-1.1.tar.gz
tar -zxf Audio-WMA-1.1.tar.gz
cd Audio-WMA-1.1
perl Makefile.PL
sudo make install
cd ..
# Ogg::Vorbis
wget http://search.cpan.org/CPAN/authors/id/F/FO/FOOF/libvorbis-perl-0.05.tar.gz
tar -zxf libvorbis-perl-0.05.tar.gz
cd libvorbis-perl-0.05
perl Makefile.PL
make
sudo make install
cd ..
wget http://search.cpan.org/CPAN/authors/id/D/DB/DBP/Ogg-Vorbis-Header-0.03.tar.gz
tar -zxf Ogg-Vorbis-Header-0.03.tar.gz
cd Ogg-Vorbis-Header-0.03
perl Makefile.PL
sudo make install
cd ..

# CPAN method if you want the proper perl way.

perl -MCPAN -e’shell’

#Copy below into the root cpan after you set it up.

install MP3::Tag
install Ogg::Vorbis
install Ogg::Vorbis::Header
install Audio::WMA

Fun issue with php 5.2.4

November 26th, 2007

I had an issue with postnuke which ran on earlier versions of php 5 but doesn’t allow for authentication on 5.2.4. The issue in the error log was

[error] PHP Fatal error: Call to a member function Execute() on a non-object in /includes/pnSession.php on line 378

The fix for the issue is:

http://openstar.postnuke.com

Which links to a german site,

http://www.gratis-cms.com/forum/index.php/topic,11.msg14.html#msg14

But you can not download the fix, unless you register. Register and the .rar file will show up for downloading.

Fedora 8 and PulseAudio

November 20th, 2007

How many ways can you spell pain in the ass. After 8 hours of reading and changing settings I believe I now have my system with F8 working as well as before the upgrade for sound. The Audio seems a bit better with high end headphones on, but I can not really hear a difference on 25dollar computer speakers.

Setting up F8 audio, goto http://www.pulseaudio.org/wiki/PerfectSetup

There is an option for flash 9 player, you have to have the livna repo installed. Then :

yum install libflashsupport.i386

Exit all firefox windows and restart, it should work if you have the pulseaudio deamon running.

ps -ef|grep pulse

will show it.

pulseaudio -D

If its not there, then run pulseaudio -D