Archive for the ‘Fedora 9’ Category

Freeing up RAM in Linux

July 27, 2009 3 comments

NOTE: Little clarification, this is not needed at all ,as memory is freed when required.

WHY IT MAY BE HELP-FULL: This clears the page-cache , dentires and inodes.

IT’S TRANSLATION : It may be that you are watching a movie or using a Virtual Machine , a resource hungry process has filled up your ram by caching data and the data needs to be continuously removed  to make space for new data . This is managed by the kernel.

IF YOU STILL DON’T  GET IT: Notice  video in your movie hanging (not audio) while your ram gets cached Or your system running a bit slow ?

1) Stop the process consuming loads of memory. (Check System Monitor).
2) Open a terminal with root privileges .
3) Sync
4) echo 3 > /proc/sys/vm/drop_caches
5) echo 0 > /proc/sys/vm/drop_caches


Install XBMC

January 10, 2009 2 comments

XBMC (a.k.a. XBOX Media Center) is a great media center available on all platforms

If you have Ubuntu then see this

For Fedora an unofficial rpm is available at

Installing From source:

0) Get Latest SVN Snapshot

svn co

1)Get RPMFusion Repo:

rpm -Uvh

2)Install Dependencies :

yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost \
boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel \
enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel \
pcre-devel gcc-c++ sqlite-devel curl-devel pulseaudio-libs-devel libsmbclient-devel

3)Make sql symbolic link
– For i386

ln -s /usr/lib/mysql/ /usr/lib/

For 64 bit

ln -s /usr/lib64/mysql/ /usr/lib64/


cd linuxport/XBMC



During this some errors may occur:

../xbmc/utils/CharsetConverter.h:31:39: error: fribidi/fribidi_char_sets.h: No such file or directory


cd xbmc
ln -s lib/libfribidi/ fribidi
cd ..


/usr/include/jpeglib.h:1096:55: error: jpegint.h: No such file or directory


cp xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/

C) For any other errors refer to or

6) Install

make install

7) Configuring

Open xbmc by typing   xbmc in terminal or ALT+F2

-Settings > System >Audio Hardware
-Change Audio Output to Digital
-Change Audio Output Device and Passthrough Output Device to same device settings

(pulse -for fedora , hdmi/spdif- for ubuntu/debian systems)

You can also find out your device by using

aplay -L

8) To learn More about plugins and scripts Visit

Reliance ATZ USB CDMA Modem on fedora , ubuntu and other linux

December 24, 2008 1 comment

1) Find Vendor and ProdID


cat /proc/bus/usb/devices

In the generated list where Manufacturer is ZTE , Incorporated

Take Vendor and ProdID

eg. Vendor=19d2 ProdID=fffd

-You can also use lsusb to get entry with ONDA Communication S.p.A in format   a:b

eg  19d2:fffd

2) Load Module
modprobe usbserial vendor=0x19d2 product=0xfffd

After this step 3 interfaces /dev/ttyUSB* where *(0-2)
should be created .(if not then rmmod usbserial ->remove device->modprobe again->insert device )

3)Configure (Run in root mode)(NOT FOR FEDORA go to 6)

4)Edit /etc/wvdial.conf
Add number eg. #777
Add your username and password in the fields.

Ideally running wvdial should be enough.
(try ping to check if you are connected)

6)However in fedora(and if above steps dont work for you) after modprobe
Go to System>Administration>Network>New>Modem>
In Modem Properties (Despite error)
change device to /dev/ttyUSB0
Modem Volume=low
Phone number #777
Username and Password -as you have
Provider Name -any
Save And activate
Try ping

Fixing Broadcom 802.11 Linux STA driver

October 31, 2008 Leave a comment

Well Broadcom 802.11 Linux STA driver works with 2.6.25 Kernels but for newer kernels additional Parameters have to be included.Without supplying addidtional parameters following errors may arise while making

(Am using Fedora 9 i386 with a bcm 4312 rev 02)

error: too few arguments
to function ‘iwe_stream_add_point’

Warning: passing
argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type


1) cd hybrid-portsrc-x86_32_5_10_27_6/src/wl/sys

(or 64-bit ….x86_64.. .. instead of x86_32)

2) Make Backup and Open wl_iw.c

3) For Every “iwe_stream_add_event” and “iwe_stream_add_point” function calls Add a first Parameter info


4)Now Try Compiling with instructions from my previous post

OR if you are 2 lazy Download this wl_iw.c and replace at above directory (USE THIS AT YOUR OWN RISK)

Bypass Site blockage / filtering

August 31, 2008 Leave a comment

Lets go back to the basics of IP addresses and their naming format.

An IP address is the unique identification code of a machine connected to a network (local or www)

The name eg. is just an alias of the numeric ip addresses(here IPv4)

Try this:

1)Windows -> Run ->cmd

1)Linux ->open terminal
Read more…

Making VLC play in Fedora 9

June 26, 2008 2 comments

Well I installed VLC ( formerly called Video Lan Client) today on my installation of fedora 9 and like any other video player it 2 was not working, so here are the settings that worked for me:

1) Go to Settings>Preferences>Check Advanced Options
2)Audio>Output Modules>Select ALSA Audio output >ALSA>Refresh List>Select Device
3)Video>Output modules>Select X11 Video Output

Well Thats about it


Categories: Fedora 9, Linux Tags: ,

Cure Kaffeine and Real player problems so they don’t Crash

June 17, 2008 Leave a comment

Well for my Laptop 6515b , Fedora 9 proved to be more troublesome than Fedora 8 including kaffeine

The problem itself is not in kaffeine but in xine engine parameters

Go to Settings>Xine Engine Parameters>Video>Beginners Options xine in Auto mode was using xv causing entire system Hang whenever i played anything.So change it to xshm.Thats all!!!!!

In Real Player go to Tools>Preferences>Hardware

Disable XVideo, For me Alsa couldn’t be initialized. Hence  RealPlayer 11 can be used on OSS.