Mar
24
2009
2

World of Warcraft won’t start under WINE after Fedora 10 update SOLVED

I did a ‘yum update’ on my Fedora 10 Linux box.  Right afterword I started WoW, but it crased and generated a error log that I saved to the desktop as, ‘imsettings-applet-bugreport.txt’  The error log complains that I’m not a member of the pulse-rt group.  I corrected that and WoW started normally.

Goals of this post:

-Describe how to add a user to the pulse-rt group for purpose of getting World of Warcraft under WINE running after a ‘yum update’

(more…)

Mar
24
2009
1

World of Warcraft keyboard bug using Fedora 10 and WINE 1.1.15

I have found an odd intermittent problem with World of Warcraft.  Once in a while, (and sometimes more) the keyboard will react with odd behaviour.  For instance I might be pressing the ‘w’ key to move forward and when I lift my finger off the key my toon continues to run.I don’t see any obvious errors.  The key bindings look fine to me.

I found some material online:

http://www.nabble.com/WoW-3.0.2.9056-Issues-td20171737.html

Hi All,
First off I want to say a big thank you for your great effort in producing Wine, my hats off to the developers.
I have Ubuntu 8.0.4.1 64bit edition and I have Wine 1.1.7 installed. I have noticed that when I play WoW, it appears that the keyboard buffer becomes full and my character goes off on his own. Sometime I can control it using the left, right and back keys, other times off it goes. Quite worrying when you are in a dungeon with a group and you are trying to fend off the monsters and your char starts to wander. This was also happening under Wine 1.1.6 as well.
I am not sure if this is a recent WoW issue as with the upgrade to V3 or is it a Wine issue. This weekend is the first time I have run WoW since March this year. I have been using Guild Wars and come to think of it, the character control there is a bit dodgy as well.
Any ideas?
Cheers and keep up the excellent work
EmyrB

(more…)

Mar
23
2009
12

Asterisk Appliance AA50 firmware upgrade

I got an Asterisk Appliance from VoiceIP Solutions for the purpose of writing up some labs.  I just got my hands on the unit and the first thing we are a going to do is upgrade the firmware.  I’m going to start by plugging my laptop’s ethernet into the LAN port on the Asterisk Appliance.

The unit I’m working with is AA50.  You can only get the firmware by registering with Digium.  Which is inconvenient.  Not a very open policy for an open source product.  In any case you must obtain the current AA50 uImage-1.3.0.1 image for browser upload.  Which I won’t lie… it is not easy.  There is a clearly marked drop down for documentation on the Digium support page.  I easily found the PDF, but there was no link to the firmware.  I ended up using their built-in search bar to find a page with a link to the AA50 firmware. I then accidentally downloaded the CD ISO image first.  I did eventually find and download the firmware.  I logged into the appliance and chose the update tab.

(more…)

Mar
22
2009
2

Fedora 11 will likely not include Xen Dom0 (virtualization) support

xen logo

I (like many of you) have been patiently waiting since Fedora 8 for Dom0(Domain 0) Xen support in Fedora.  Why hasn’t Red Hat or the Fedora Project made an announcement? Haven’t we been good? I mean libvirtd is great and all, but Xen PV(paravirtualized) VM’s destroy. I did some googling to get to the bottom of this. I found a fedora project page with a January 2009 status update.

Here is a snipit:

“Currently, the Fedora kernel-xen package is based on forward-porting of the XenSource patches from 2.6.18 to more recent kernel versions. This has many problems, including:

  • XenSource code has no chance of being merged upstream, in the near future, making the forward-porting work needed for all new kernel versions.
  • Lots of porting work for each new kernel version
  • Because of the above, kernel-xen has been some releases behind the non-xen kernel package, and the lag between kernel and kernel-xen has been increasing constantly”

And also:

“As of November 2007, the kernel-xen forward-porting was being finished for 2.6.22, and Linux 2.6.24 was about to be released. The effort needed for 2.6.23, 2.6.24 and later would have been even bigger with the introduction of paravirt_ops and the i386-x86_64 merge upstream. Thus, the decision was made to abandon the forward-porting effort and focus on upstream paravirt_ops.”

So where does this leave us?  Unmodified guest are old news.  Even Microsoft can do that.  Well not really, as I understand it, Microsoft’s HyperV platform contains Xensource licensed code.  But a customer of the company I work for likes HyperV a lot(incidently).  On the Xen Wiki it says that Paravirt_ops will be ported to the 2.6.30 kernel.  My prediction, Xen Dom0 support will be available toward the end of Fedora 11’s cycle or Fedora 12.

Why does Dom0 matter?  Dom0 is the specially modifed Xen-linux kernel that sits on top of the hypervisor. From Dom0 you can run fully virtualized guest and partially virtualized guest (paravirtualization).  Paravirtualized guest enjoy a method for allowing the use of a set of generic virtual device drivers provided by Dom0.  PV guest are known to have outstanding perfomance compared to their fully virtualized counterpart.  Paravirt_ops refers to Dom0 integration with the Linux kernel.

Mar
19
2009
4

VoiceIP Solutions offers Asterisk PHP GUI for large scale deployments



VoiceIP Solutions
is a Asterisk ‘consulting & deployment’ company in Seattle Washington.  They deploy Asterisk solutions for businesses of all sizes.  From small offices to universities and call centers.  They have sites deployed all over the United States, but mostly on the West Coast.  I’ve been following them for some time; I guess they started deploying Asterisk before 1.2 was released.  I talked to one of their sales rep’s(I think his name was Liam) about the business and wondered if they had done any development work?  He told me that they had done some PHP work for managing larger installs and proceeded to direct me to one of there engineer/developers.

(more…)

Mar
15
2009
2

Errors loading Asterisk addons, CDR(Call Detail Records) to MySQL

The other day I was doing an Asterisk 1.2 –> 1.4 upgrade.  I have a MySQL database that Asterisk records the Call Detail Record’s(CDR) too.  I deleted the asterisk 1.2 modules, then compiled/installed asterisk 1.4 & asterisk-addons 1.4.  Being that I hadn’t set up the CDR MySQL stuff in a while I loaded the res_mysql.conf, but I copied it from the cdr_addon.conf file by accident.  Because the two files have similer syntax It took me a while to figure this one out.  I checked all the passwords and I even checked the Asterisk CLI to see if the module loaded.  MySQL was populated with the same tables as before.  I also kept seeing this error (see below).

Possibly a mixed up addon file.

Possibly a mixed up addon file.

The error:

[Mar 15 03:25:44] ERROR[23793]: res_config_mysql.c:629 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on  (err 2002). Check debug for more info.

The res_mysql & cdr_mysql have very similer config files, but you can’t ‘cut & paste’ between them.

Sample configuration for res_mysql.conf:

;
[general]
;dbhost = 127.0.0.1
;dbname = asterisk
;dbuser = myuser
;dbpass = mypass
;dbport = 3306
;dbsock = /tmp/mysql.sock

; Sample configuration for cdr_mysql.conf:

[global]
;hostname=database.host.name
;dbname=asteriskcdrdb
;table=cdr
;password=password
;user=asteriskcdruser
;port=3306
;sock=/tmp/mysql.sock
;userfield=1

Be careful not to mix the two between upgrades!

Mar
10
2009
4

Woot!!! World of Warcraft works w/ WINE on Fedora 10, Wine 1.1.14

Excuse me WORLD, but I though everyone should know that the World of Warcraft is finally working on my Fedora 10 system.  Good frames, hardly any glich’s.  Wrath of the Lich King and the other zones load without error.

The goals of this post:

– show the world it is possible to play WoW on Linux

– new reason to stop wasting an entire computer on Windows XP

– reasons why Wine is like 3 years too late and no one should care

– LAB: install WINE and World of Warcraft

(more…)

Mar
06
2009
0

Cisco to enter the Virtualization Server Market

Is this Cisco's future?

I just read on CNN.com that Cisco has announced a server line of products.  I find this interesting because the main reason I don’t use Cisco products is their high cost.  They make some of the best switches and routers, but do they have the mentality to be competitive in the mainstream server market?
One of the huge selling points of virtualization technology is the ability to cut power and hardware cost.  Knowing Cisco their baseline server product will probably be blade server costing $10,000 or more(+ whatever VMware’s cut is).

here is a quote from the CNN article:

“Chambers says virtualization is one of his big priorities for 2009, along with globalization, video growth, customer relationships, and Web 2.0. With its strong position among corporate information technology departments – Cisco has 61% of the router market – the company surely will be able to get an audience for its servers. But if he aims to beat HP, Dell, and IBM on their home court, Chambers is going to have to serve up something truly groundbreaking.”

You can read the whole article here.

The New York Times also ran an article that brought up some excellent points.

“The product — a server computer equipped with sophisticated virtualization software — is a bold but risky move by Cisco into an unfamiliar, intensely competitive market that typically produces far lower profits than Cisco makes from network gear”

You can read the whole article here.

I seriously doubt Cisco is ready to compete against HP, IBM, Microsoft and the Open Source Community.  Virtualization has taken years to become a reality.  Cisco will rely on a VMware product that buyers can already find on cheaper x86 hardware.  By contrast the VoIP market is ripe for the picking, escpicially if Cisco prices more aggressivly against open source Asterisk.  Gianormous Corporations never learn…

Mar
06
2009
0

Asterisk Voicemail to Email solved with Postfix

A while back I wrote an article for asteriskvoipnews.com about routing loops occurring from misconfigured DNS(or lack there of). My article was about routing loops caused by Asterisk attempting to send mail outside the network when the mail server destination is internal. To correct this issue the Asterisk PBX needs to define a ‘mail relay'(mail relay) on the internal network. This post will discuss using Postfix as an alternative to Sendmail for this purpose.

The goals of this post:

– explain Asterisk voicemail to email routing loops

– LAB: Install Postfix and configure ‘smarthost’ for mail relay

(more…)

Mar
03
2009
0

Mediatrix SIP/PRI Gateway Syslog Server Setup

Recently I was requested to set up syslog service between a Mediatrix PRI to SIP gateway.  The Mediatrix web GUI allows you to send logs to a syslog server; in this case an Asterisk PBX.  Asterisk logs just fine to local facility0 by the way.

I enabled the service and set syslog to accept remote connections.  Yet, I got nothing.  I called a support rep for a vendor that sells these things and he told me that by default Mediatrix logs to local facility7.  So I edited the syslog.conf with the IP Address of the Mediatrix and it worked!  syslog and rsyslog config files should work the same.  I hope this helps.

/etc/rsyslog.conf

# Log cron stuff
cron.*                                                  /var/log/cron
# Everybody gets emergency messages
*.emerg                                                 *
# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler
# Save boot messages also to boot.log
#local7.*                                                /var/log/boot.log
#mediatrix IP ADDRESS
local7.*                                            /var/log/mediatrix.log
#
#
#
#
local0.*                        /var/log/asterisk.log

Remember a couple things – rsyslog is a newer version of syslog.  So you might have a ‘rsyslog.conf’ or a ‘syslog.conf’.  Another thing often overlooked is enabling TCP/UDP port 514 and their respective modules.  By default remote logging is disabled in Fedora Distros, and likely others for good reason.

/etc/rsyslog.conf

#### MODULES ####



$ModLoad imuxsock.so    # provides support for local system logging (e.g. via logger command)
$ModLoad imklog.so      # provides kernel logging support (previously done by rklogd)
$ModLoad immark.so      # provides –MARK– message capability



# Provides UDP syslog reception
$ModLoad imudp.so
$UDPServerRun 514



# Provides TCP syslog reception
$ModLoad imtcp.so
InputTCPServerRun 514

In conclusion…  Syslog servers are absolutely nesasarry to get Mediatrix SIP/PRI gateways operational with the carrier.  They are a solid appliance, but difficult to configure because of all the options.  Good luck.