May
13
2009
4

SOLVED: Real Player 11 Gold, ‘no sound’ issue with Fedora/Unbuntu

I like Real Player.  I like Real Networks too.  They use and support open source software.  They haven’t made the GPL leap yet, but at least Linux has a decent streaming media player because of them.  I was happy until a recent upgrade.

I was stumped on this one for a while.  I updated from Real Player 10 to 11 and then got no sound.  I uninstalled and tried the Real .bin package.  Same problem.  So I downgraded to Real Player 10, but again no sound(even though the player appears to be playing without error).

What made it worse was how lousy the support forum for Real Player on Linux is.  I mean it really sux.  The web design and support layout is okay, but there are no real answers to many of the post I looked at.  It was frustrating because there are many, many people experiencing the same problem.  I understand it’s free, but did anyone test it on Unbuntu and Fedora with different audio servers before release?  Right now, Unbuntu and Fedora use, PulseAudio, ALSA, and OSS.  Many times all of them at once, as to offer the most driver and application support.  Big oversight.

I tried OSS drivers with the same result:

Real Player 11 preferences

Real Player 11 preferences

(more…)

May
12
2009
0

Xen Dom0 and Paravirtualized guest reported to work in Fedora 11 Beta

Xen 3.0 Dom0 support reported to be working

Xen 3.0 Dom0 support reported to be working

Great news everyone! Fedora Weekly News, issue 175 reports successful Dom0 integration in Fedora 11 Beta.  Here is the quote I read today:

Pasi Kärkkäinen reports[1] success with a dom0 kernel using Fedora 11 Rawhide. “I’m able to run Xen paravirtual (PV) domUs, install new domUs using virt-install and also install and manage domains with virt-manager.”



The environment used was:



- Fedora 11 (rawhide as of 2009-05-05)
- Xen included in F11, no external patches (xen-3.3.1-11.fc11)
- xen-tip/next pv_ops dom0 kernel as of 2009-05-06, Linux 2.6.30-rc3.
- All the rest was standard stuff included in Fedora 11 as well

This is all coming sooner than I previously expected.  I’ll be following up on this story next week as I compile more information and try it myself.  Paravirtualized Operations provide a significant boost to guest Operating System performance and no project implements it better than Xen.  I’m glad to read that it is working in Fedora 11.

May
07
2009
0

How to make USB and DVD ROM drives work on Fedora 10

Lately, I’ve been working on Asterisk PBX related articles, but today we’re going to tackle a common problem with Fedora 10: getting drives to mount to the Desktop.  If you are experiencing trouble, the likely cause is that your current user, does not have permissions to access that hardware.  The reason for this has a lot to do with the security model of Linux.

In the old days computers came on large mainframes.  It was not practical for engineers and scientist to have their very own main frame, so Unix was designed to be a multi-user operating system.  Everyone connected their own keyboard & monitor.  The permission structure was set so only certain individual accounts could do certain things.  Like say, reboot a system or delete a database.

By contrast Microsoft Windows(thru XP) is a single user operating system.  In Windows you can create extra accounts, but any of those accounts can execute arbitrary code from anywhere in the file system (c:\\ drive).  Which is a big reason for the many attacks on Windows systems.

Recently my friend got a virus that made XP unbootable and stole his World of Warcraft account login and password.  The hacker then used that information to login to his account, change his password, and his accounts valid email address.  The hacker then sold all his gear and used his character to scam other people in bad trades.  The account became banned for “economic extortion” before my friend could get his Windows XP machine back up and running.  Now he runs WoW on WINE/Fedora 10.

An appeal to Blizzard got his account back after several days and many emails. My friend requested that they check the IP address of the hacker and compare that to his previous logins.  What if the virus had collected his bank account credentials instead?  In a way he got lucky.

Goals of this Post:

- correct authorizations in Fedora 10 and allow access to USB and DVD – ROM devices

It seems odd that someone would be unable to access a USB thumb drive on any modern desktop computer, but Red Hat the maker of Fedora Linux is far more interested in their commercial offering, Red Hat Enterprise Linux(RHEL).  They model RHEL development on previous versions of Fedora.  So desktop integration is obviously not their top priority; stability and security is.  This neglect has allowed rival Unbuntu Linux to come in and snatch up the Linux desktop market.  Big mistake Red Hat…  however with a little work we can make Fedora 10 desktop work well without them.

So to correct the permissions issue(from Gnome) start by clicking, System –> Preferences –> System –> Authorizations.  Fedora may ask you for your ‘root’ password.

fedora10-authorizations-usb

fedora10-authorizations-usb

Set access to allow anyone to mount and unmount USB and other devices!  I hope this helps.  It’s frustrating dealing with these little things, but hey, “it’s free”!  If it doesn’t take, leave a comment below and I’ll try to help.

Apr
24
2009
0

How to Change the root Password in MySQL and Backup with mysqldump

I’m not DBA, but most Linux system administrators need to at least know a little about SQL. Like adding users, making simple databases, changing passwords, backups, etc… This article describes backing up a database to a fresh machine. In my case I happen to be backing up my wordpress blog. However these steps can applied to Sugar CRM, Joomla, or any database driven site that uses MySQL. The following tutorial does not completely cover backing up a wordpress blog; it only covers the database portion.  Which applies to many LAMP projects.  Enjoy!

The Goals of this Post:

- to remind myself how to backup databases

LAB: Backup WordPress Blog Database to new machine

I’m changing the default password of nothing to the same password as my root user. Please note that mysql ‘root’ user is not the same as Linux system root. Also, they can be different passwords and probably should.

[root@mattcom1 ~]# mysqladmin -u root password mynewpassword
[root@mattcom1 ~]# mysql -u root -p
Enter password:
[root@mattcom1 ~]#

Create a blank database on the machine we will repopulating.

Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 10
Server version: 5.0.77 Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> create database savelono;

Use mysqldump command to back up the database on the original server. The database can be named anything, I usually back up to savelono.com with a ‘DATE-NAME.sql’ convention.

[root@savelono ~]# mysqldump -u root savelono > savelono-04-24-09.sql

Now copy your sql database to the new server and import it.

[root@mattcom1 ~]# mysql -u root -p -D savelono < savelono-04-24-09.sql

That’s it!  Piece of cake.

Apr
22
2009
0

Asterisk: Creating an Extension to Logout Agents from CallerID

I told a customer for the company I for that I would figure out how to logout agents by CID(Caller ID). So I figured, why not kill two birds with one stone. Today we will create a single Queue, Agent, and dial plan to accomplish this goal. I’m using Asterisk 1.4, Fedora 10 and a Polycom IP SIP phone for my demonstration purposes.

When I started this project four hours ago, I thought I would google my way to another successful blog post(and happy customer), but no…  logging out agents in Asterisk is very unintuitive.  The agentcallbacklogin utility has the exact same prompts for logging in as out.  AgentCallbackLogin (when initiated, from the dial plan)  asks for three things, agent, agent password, and call back number.  To eliminate all these prompts I’m using the ‘$CallerID(num)’ variable to automatically answer the agent and call back number.  So the user 8888 dials ’1000′ and and AgentCallbackLogin assumes he is AGENT/8888 with a password of ’8888′.

from /etc/asterisk/extensions.conf

exten => 1000,1,AgentcallbackLogin(${CALLERID(num)}||${CALLERID(num)}@savelono-queue-out)
exten => 1000,n,hangup

(more…)

Apr
15
2009
0

Fedora 10 and TVtime make gaming on your PC easy and affordable!

For a while I’ve been using a WinTV cable tv tuner card made by hauppauge. These cards are the best way to add TV/(console gaming) on the cheap.  WinTV cards are well supported by all major Operating Systems.  As of this writing you can only get HD tv tuner cards in the United States now, but I have an older card.  So I can’t personally vouch for the High Definition card drivers in Linux.  I’m guessing by now every major distro supports it.

My advice is to get the HD card if you can.  X-Box and PS3 are designed for HD TV’s, but in my example I’m showing Mario Kart on the Nintendo Wii.

Linux Installation is easy.  First check to see if Linux can see the device.

[matt@mattcom1 Desktop]$ lspci -vvv
07:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 22
Region 0: Memory at d2001000 (32-bit, prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: bttv
Kernel modules: bttv
07:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 22
Region 0: Memory at d2000000 (32-bit, prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: Bt87x
Kernel modules: snd-bt87x

You should see a video and audio capture device, for my model it is Brooktree.  Use the package manager of your Linux(in my case Fedora 10 and yum) to install TV Time.  Now hook up your Wii and start TVtime Television Viewer.  From Gnome Panel: Applications -> Sound & Video -> TVtime Television Viewer.  It’s that easy.  Enjoy.  For more information on TVtime television viewer click here.

Apr
08
2009
2

Install Queuemetrics Call Center software for Asterisk on Fedora 10


What makes Asterisk so great is the growing ecosystem of 3rd party software.  For call centers based on Asterisk PBX, the best on the market is Queuemetrics.  This solution allows for over 150 different statistics to be collected.  Here is just a few:

Number of calls
Total call length
Average call length
Average call waiting
Number of unanswered calls
Average time before disconnection
Area code
Number of calls
Total calling time
Average time per call (for taken calls)
Average wait per call
Average position at disconnection (for lost calls)
Number of available agents
Total agent time
Average agent time
Minimum/ maximum agent session duration
Agent availability

If by now you are not convinced take a look at the complete list; you can check out Loway’s site and Queuemetrics here.  I have personally helped setup several commercial call centers(while working for VoiceIP Solutions) with this software and I am impressed at the value and support for our customers purchase.  So today we are going to set up a basic Queuemetrics installation; we will not be covering the Asterisk portion.  Nothing fancy here, but I can get you started.

The goal of this post:

- install Queuemetrics

(more…)

Apr
02
2009
5

How to configure a Polycom SoundPoint IP phone for Asterisk on Fedora 10

In my opinion the best IP business phones on the market are made by Polycom. Anyone that knows anything about the VoIP Industry knows that!  High quality Polycom desk phones combined with Asterisk are a great combination of quality/price. So to that end we’re doing this lab.

Polycom employs several methods of provisioning the SIP phones.  For general configuration Sound Point IP have an excellent built web GUI,  but for multiple phones Polycom has an XML based system as well.  Every Sound Point IP can be provisioned based on MAC address.  Polycom’s provisioning method makes use of TFTP, FTP, or HTTP to deliver firmware updates and individual phone settings.

The goals of this post:

- Configure FTP server for Polycom firmware and configuration

- Configure Asterisk SIP extension

- deploy firmware and XML configuration files to Polycom SoundPoint IP 501 SIP phone

(more…)

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…)