Tag Archives: Fedora 10

Installing ATI fglrx for compiz Fedora 10

These instructions are for installing fglrx on ATI cards it also removes the flickering that radeon might be giving.
You could also follow the guide at fedora forums but this is more simple.(Using 8.12 Driver)

(if you have followed other methods, please roll-back to previous system state,remove related packages)

1)Get Fedora 9s libdrm

32 Bit

rpm -ivh --nodeps --oldpackage http://mirror.yandex.ru/fedora/linux/releases/9/Everything/i386/os/Packages/libdrm-2.4.0-0.11.fc9.i386.rpm

64 Bit

rpm -ivh --nodeps --oldpackage http://mirror.yandex.ru/fedora/linux/releases/9/Everything/x86_64/os/Packages/libdrm-2.4.0-0.11.fc9.x86_64.rpm

2)Go to AMD official Site Download the driver:

http://ati.amd.com/support/drivers/linux/linux-radeon.html

3)Install driver

./ati-driver-installer-8-12-x86.x86_64.run

4)Create a blank xorg.conf in /etc/X11 (if u have a xorg.conf ,delete and make empty file)

5)

aticonfig --initial -f

6) Edit xorg.conf

Add following to “Device”

   Option      "OpenGLOverlay" "off"
   Option      "VideoOverlay" "on"

7)In the end add

Section "DRI"
Mode 0666
EndSection

Save

8)Backup Old initrd

mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.0

9)Remake initrd for the kernel (So the radeon module is not force loaded)

mkinitrd  /boot/initrd-`uname -r`.img `uname -r`

10) Prevent libdrm from being upgraded

perl -i -pe "s/([.*])/1nexclude=libdrm/"  /etc/yum.repos.d/fedora.repo
perl -i -pe "s/([.*])/1nexclude=libdrm/" /etc/yum.repos.d/fedora-updates.repo

11)Open

/boot/grub/grub.conf in root mode

Go to

kernel

line and add

vga=0xmode

mode for me was

323

which was 1024×768 32 bit

12)Edit /etc/modprobe.d/blacklist

Add radeon

13)Reboot and Voila !!

Wifi in Fedora 10 (broadcom wl)

To make them work you have 2 ways:

1)Install Ndiswrapper

or

2)Install Broadcom Driver for linux

Faster is the Broadcom route so here goes:–

You need to install these packages either through package manager or download them seperately from

http://download1.rpmfusion.org/nonfree/fedora/releases/10/Everything/i386/os/

and use rpm -ivh <name>  (Remember: ALT+F2>gnome-terminal>su – >then yum install <name> or rpm -ivh <name>)

kmod-wl-*

broadcom-wl-*

* means all packages for your kernel version and architecture
to find kernel version uname -r

3)Open /etc/sysconfig/network-scripts/ifcfg-wlan0 (assuming wlan0 is the wireless interface)

change ONBOOT=off to ONBOOT=on

Fedora 10 Cambridge 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 10 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)Macromedia 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:

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 (currently alhpa stage)
http://labs.adobe.com/downloads/flashplayer10.html

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++-*