Planet LUG Manipal

July 02, 2009

Fedora 11 Fixing Various Problems


0)  Graphic Driver Problems

- For ATI RadeonHD cards (especially x1250 and x1200)

yum install xorg-x11-drv-radeonhd

if /etc/X11/xorg.conf doesnt exist
yum install system-config-display
Run system-config-display –reconfig in terminal.

Modify /etc/X11/xorg.conf

"Device" Section
Driver "radeonhd"
Option "DRI" "True"

- Or Install fglrx (At the time of writing of post official rpmfusion drivers dont exist)

Hence Fedora 10 ’s kernel needs to be installed .Refer this post

(Make sure that you use correct driver since ati recently removed support for many cards )

http://forums.fedoraforum.org/showthread.php?t=224519

1)  Enabling OSS
(This is needed for Real Player 11 as it crashes with ALSA)

(In Root /Sudo Mode)

nano /etc/modprobe.d/dist-oss.conf

uncomment line as mentioned

2)  Fixing glitchy sound problems.
There are many solutions to the sound problems listed in http://fedoraforums.org
They mainly deal with time scheduling
Other solutions consist of

- Enable OSS (See Above)
- Install OSS v4.x ( This replaces all the ALSA/Pulse Audio kernel modules)

3)  Enabling TAP in MousePad / Touchpad

- Temporary Measure

synclient TapButton1=1
synclient TapButton2=1

- Permanent Measures
- Using gsynaptics  ,a gui interface for synapitcs  ( touchpad driver)

yum install gsynaptics -y

- Modifying xorg.conf

See this link.

NOTE: IF YOU FIND ANY PROBLEM / ALTERNATE SOLUTION WITH ABOVE FIXES PLEASE POST A COMMENT.

Posted in Fedora 11

June 26, 2009

Fedora 11 Leonidas Essentials Guide Part 1: Getting Started


Fedora 11 Leonidas essentials guide

Well Howdy Folks ! ,thou having trouble with getting Fedora 11 Leonidas Up and Running ?

Well then you have come to the right place !!!
NOTE:all commands r to be typed in terminal with sudo or su login or su -c
PS: All yum commands can be replaced by package kit alternatives type “info pkcon” in terminal.

0) PRESTO PLUGIN FOR YUM: Presto is a delta rpm plugin for  yum . (Delta rpm is only the difference in old and new version of packages Hence Saves Precious Bandwidth.
yum install yum-presto

1)RPM-FUSION:Adding rpmfusion as a repository to get access to lot of other packages and features.

(VERY ESSENTIAL ALL OTHER STEPS REQUIRE THIS)

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

yum update

To install something in command line use

yum install Name of Packages Seperated by spaces -y

of course to find the exact package name use

yum search Package


2)Package Management Frontend GUI :

Fedora already has PackageKit (System>Administration>Add/Remove Software)

but it doesn’t quite compare up to yumex

yum install yumex

3)MP3 Support:

Well, everybody loves their songs right ?

yum install gstreamer-plugins-bad gstreamer-plugins-ugly xine xine-lib libdvdcss xine-lib-extras-nonfree


4)Music Players:

Everybody has a different choice of a music player , I personally prefer Songbird and Amarok which have everything from cover management ,id3tag editing,online Music Store Support and Global key Shortcuts.

Few of the most used players.

                     -Amarok
                     -Audacious
                     -Banshee
                     -Exaile
                     -Listen
                     -Rhythmbox
                     -Xmms
                     -Songbird

4)GCC compatibility:

GCC is the GNU compiler supporting a lot of languages. Its needed for old packages.

yum install gcc gcc-c++ compat-libstdc++-33 compat-libstdc++-296

5)Video Codecs:

Fedora doesn’t with proprietary codecs for playing Codecs.

Download them.

wget  http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2

then

mkdir -p /usr/lib/codecs

tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/lib/codecs/

5)Video Players:

Totem is installed by default but its not a favourite of mine.

Real Player

Download RealPlayer 11 GOLD from: http://www.real.com/linux/. ( preferably use .bin file)

Select: “Advanced Installation RedHat Package”

Before installing RealPlayer, make sure to have the compat-libstdc++-33 compatibility libraries installed.
yum install compat-libstdc++-33

chmod +x name.bin

./name.bin

Read Agreement Go to end and press y and enter (keep pressing enter, till it starts installing)

For RPM:
sudo rpm -ivh RealPlayer11.rpm

note:if real/helix or any plugin doesnt load in firefox use:
sudo /usr/bin/mozilla-plugin-config -i -f

Other Players

mplayer: yum install mplayer mplayer-gui mplayer-skins mplayer-fonts mplayerplug-in mencoder
xine:       yum install xine xine-lib-extras xine-lib-extras-nonfree libdvdcss
vlc:         yum install vlc

kaffeine yum install kaffeine kdemultimedia kdemultimedia-libs

Dragon : yum install dragon kdemultimedia kdemultimedia-libs

Note: After this if it doesn’t work refer to my other posts

Posted in Fedora 11

June 25, 2009

How Manipal got its first Linux (fedora) server

It all started with a failing Student’s Teacher Feedback System, designed by few fourth year students of my college, in oct-nov 2008 the system was not able to scale and everything was reverted back to paper, it was then when i was contacted by a teacher from my Department ( Information and Communication Technology ), regarding if i can improve it.

i asked DJ if he wants to join me and after few weeks of coding there it was Manipal university’s first (working) Feedback System, when the point of hosting it came, i was surprised to find Manipal University has no Linux servers, i mean come on no Linux what are you people click sys admins, then we decided to setup our own server in the department, thus giving Manipal university its first Linux ( fedora 10 ) server.

currently it just hosts the Feedback System, but we are planning to use it as local ( internal ) fedora repository mirror, we need permission from the WiFi provider ION because almost all the students use only WiFi and not LAN, last time we tried we were denied by saying ” You are a threat to our network “, lets see how it goes this time. we will also require people to manage it but i think this can be handled very well by LUG Manipal, some pics

Fedora 10 server in Manipal

Fedora 10 server in Manipal


Fedora 10 server in Manipal

Fedora 10 server in Manipal

PS – i am looking for a way to convince them that setting up a mirror will be helpful for them as well as students can anyone suggest me how to go about it??

LUG Manipal

How Manipal got its first Linux (fedora) server

It all started with a failing Student’s Teacher Feedback System, designed by few fourth year students of college, in oct-nov 2008 the system was not able to scale and everything was reverted back to paper, it was then when i was contacted by a teacher from my Department ( Information and Communication Technology ), regarding if i can improve it,

i asked DJ if he wants to join me and after few weeks of coding there it was Manipal university’s first (working) Feedback System, when the point of hosting it came, i was surprised to find Manipal University has no Linux servers, i mean come on no Linux what are you people click sys admins, then we decided to setup our own server in the department, thus giving Manipal university its first Linux ( fedora 10 ) server.

currently it just hosts the Feedback System, but we are planning to use it as local ( internal ) fedora repository mirror, we need permission from the WiFi provider ION because almost all the students use only WiFi and not LAN, last time we tried we were denied by saying ” You are a threat to our network “, lets see how it goes this time. we will also require people to manage it but i think this can be handled very well by LUG Manipal, some pics

Fedora 10 server in Manipal

Fedora 10 server in Manipal


Fedora 10 server in Manipal

Fedora 10 server in Manipal

PS – i am looking for a way to convene them that setting up a mirror will be helpful for them as well as students can anyone suggest me how to go about it??

June 24, 2009

Fedora 11 Leonidas Essentials Guide Part 2: More Config


NOTE:All Commands to be entered in terminal in Super User/root mode. (.:. su – or sudo)

1) Setup sudo
In Fedora the root and normal user accounts are different and one can switch between them to do administrative tasks.
However if you want to give a user other than root administrative priviliges

nano /etc/sudoers

Add to the end

<name> ALL=(ALL) ALL

is the user name you want to give sudo privilige.

<name> ALL=(ALL) NOPASSWD: ALL

if you dont want to be asked the password .(NOT RECOMMENDED)

2)Permanantly Mounting Partitions:

Fedora 11 has ntfs 3g preinstalled but sometimes the partitions don’t get mounted (or you just may want to get rid of manual mounting)

Editing fstab gives read/write support on boot

a) use fdisk : /sbin/fdisk -l

b) note down partions u wnt to access name (eg sda1) type (eg ntfs or FAT32)

c)Make mount points:

mkdir /media/<name>
<name>can be replaced by whatever name you choose.

d)open gedit in sudo mode

e)Open /etc/fstab

f)For ntfs drive ( mount point here is DATA)

   /dev/sda1 /media/DATA ntfs-3g rw,defaults,umask=0000 0 0
or /dev/sda1 /media/DATA ntfs-3g defaults 0 0

if drive is FAT32/FAT16 use vfat instead of ntfs-3g , other lines are NOT REQUIRED

3)Adobe Flash :

For 32 bit:

install the Adobe YUM repository, and install through yum:

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

yum install flash-plugin (if you dont do this no sound for flash applicatons)
For 64 bit:

There are 2 ways.

OLDER WAY: (NOT NEEDED AS 64 BIT FLASH PLAYER WORKS)

mkdir -p /usr/lib/mozilla/plugins
yum install nspluginwrapper.{i386,x86_64} pulseaud/io-lib.i386
yum install flash-plugin
mozilla-plugin-config -i -g -v

NEWER WAY:

Download 64 bit Flash Player 10
http://get.adobe.com/flashplayer/

4) Installing Sun Java

a) Download JDK from http://java.sun.com/javase/downloads
To install rpm
rpm -ivh .rpm
To install bin
chmox +x .bin
./.bin

/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre/bin/java 100
/usr/sbin/alternatives --install /usr/bin/jar jar /usr/java/jre/bin/jar 100
/usr/sbin/alternatives --install /usr/bin/javavc javavc /usr/java/jre/bin/javavc 100
/usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so 100

b) To use Switch among javas:
/usr/sbin/alternatives --config java
/usr/sbin/alternatives --config libjavaplugin.so
/usr/sbin/alternatives --config jar

c)For Java Programs(You Probably Already Have This):
yum install libXp compat-libstdc++-*

Posted in Fedora 11

June 22, 2009

Upcoming exciting news from Tech World


  1. Steve Ballmer throws a car at Eric Schmidt.
  2. Ubuntu L***** L**** just works without any goof-ups.
  3. Apple makes iPhone un-pwnable.
  4. Windows 8 removes administrative privileges from default user. In short, now onwards viruses will run with non-administrative privileges.
  5. Opera re-invents the web again. Bundles an Operating System in it’s upcoming “Opera Fright”.
  6. Flash 11 needs 4 CPU cores to render basic animations.
  7. Internet Explorer becomes the safest browser. Reminds “Connecting to the Internet might expose you to viruses, do you want to go offline?” and shows an OK button.
  8. Sun re-writes Solaris in Java. Amen!
  9. Windows 8 requires just 8GB of RAM to run properly.
  10. Script kiddies write malware for Linux and Mac and affect them badly.
  11. FreeBSD gets fool-proof secure. Asks for password when opening Firefox.
  12. Ballmer boasts “Windows has maximum number of applications” (considering viruses as apps too)

June 19, 2009

The Internship @ France

Sometimes I look back at my life and think what I achieved if anything I always feel that I am successful, as I made such good friends everytime. The life has been so kind to me that there has always been good people around me.

France experience was amazing in every way. Not only you learn so many things academically but you learn more on other side of life. Dancing on the music of your destiny is magical experience. Life has shown so many different faces and each face gives you another lesson, Hope the future lessons are helpful too.