My Personal Fedora 17 After Install Guide

You are now reading my personal Fedora 17 after install guide. It solves specific problems related to my ASUS-K55VM-SX170V laptop.  The guide will take you through each step of installation of missing drivers for Intel wireless card, Realtek card reader and NVIDIA graphic card. It also shows installation of software that is not open-source but daily used by many Fedora users.  I hope you will be able to  tweak your Fedoran according to your needs.

Installation of Missing Drivers

1) Intel wireless card is not detected

$ dmesg | grep firmware
[    2.591597] psmouse serio4: elantech: assuming hardware version 4 (with firmware version 0x361f03)
[   15.612347] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-2030-6.ucode' failed.
[   15.613277] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-2030-5.ucode' failed.
[   15.613282] iwlwifi 0000:03:00.0: no suitable firmware found!

Install missing firmware and reboot the system.

$ sudo yum install iwl2030-firmware

Reference:
http://ask.fedoraproject.org/question/2254/wifi-not-detected-fedora-17

2) Realtek 5289 card reader

As it is mentioned here we must compile Realtek reader from sources.

Reference
http://forums.gentoo.org/viewtopic-t-922794-start-0.html

a) Download a driver

$ wget https://bugs.launchpad.net/bugs/971876/+attachment/2991730/+files/rts_bpp.tar.bz2
$ tar jxf rts_bpp.tar.bz2
$ cd rts_bpp

b) Compile and install driver

$ make
$ sudo make install
$ cp rts_bpp.ko /lib/modules/3.6.5-1.fc17.x86_64/kernel/drivers/scsi -f

c) Add rts_bpp do the list of modules and load the module to kernel

$ sudo depmod
$ sudo modprobe rts_bpp

SD Card is now automatically created as dev/sdb1 and mounted to /run/media/your_username.

Note  I uploaded rts_bpp.tar.bz2 to my 4shared account. The file is here:

http://www.4shared.com/file/BJ9cutqk/rts_bpptar.html

3) Install proprietary NVIDIA driver and Optimus

My step-by-step guide describing installation NVIDIA proprietary driver on Fedora is available here.

https://brezular.com/2012/11/08/bumblebee-nvidia-installation-on-fedora-to-support-nvidia-optimus-technology-under-linux/

Additional Software Installation

1) RPM fusion

RPM Fusion provides software that the Fedora Project does not want to ship. To enable access to both the free and the nonfree repository use the following command:

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Reference
http://rpmfusion.org/Configuration/

2) Video and Audio player, audio and video codec

a) Install audio and video codecs

$ sudo yum install gstreamer gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg

b) FFMpeg

$ yum install ffmpeg ffmpeg-libs

c) K3b MP3 decoder plugins

$ yum install k3b-extras-freeworld

d) DVD playback

$ sudo yum install libdvdread libdvdnav lsdvd

e) Audacity with mp3 support

$ sudo yum remove audacity
$ sudo yum install audacity-freeworld

f) VLC video player

$ sudo yum install vlc

g) Nautilus

$ sudo yum install nautilus

If you want to make Nautilus a default file manager navigate to Settings -> System Settings-> Default Application-> File Manager-> Default Component and choose Other. Set path to Nautilus.

3) Xvidcap

Xvidcap is software for desktop recording. It seems that xvidcap rpm has not be yet created for Fedora17  so we need to compile it.

a) Install dependencies

$ sudo yum install libglade2.x86_64 libglade2-devel.x86_64 libXmu.x86_64 libXmu-devel.x86_64 lame-devel.x86_64 ffmpeg-devel.x86_64

b) Download xvidcap  and extract it

$ wget http://sourceforge.net/projects/xvidcap/files/xvidcap/1.1.7/xvidcap-1.1.7.tar.gz -P ~/Downloads/

$ cd ~/Downloads
$ tar zxvf xvidcap-1.1.7.tar.gz

c) Compile and install xvidcap

$ cd xvidcap-1.1.7/

$ ./configure LIBS="-lX11 -lz  -lXext"

Edit ./src/xvidcap-client-bindings.h.   Find any #include <glib/*.h> and replace it with #include <glib.h>

Change following lines

#include <glib/gtypes.h>
#include <glib/gerror.h>
#include <dbus/dbus-glib.h>

to

#include <glib.h>
#include <dbus/dbus-glib.h>

Now you can compile xvidcap source:

$ make
$ sudo make install

Binary is stored in /usr/local/bin/xvidcap

Reference
http://www.linuxquestions.org/questions/slackware-14/glib-on-current-mon-jul-30-20-42-03-utc-2012-a-4175419660/

4) Script for converting video files to mp3

I wrote a bash script that helps you to convert your video file to audio format. First you have to install following packages.

$ sudo yum install lame mencoder

Download script from here and copy it to the directory where your video files are located. Assign run privileges to the script.

$ chmod +x ./video_to_mp3.sh

5) Flash plugin

a) Enable Adobe 64-bit x86_64 YUM repository

$ sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

b) Install Adobe Flash Player

$ sudo yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl

Reference
http://www.if-not-true-then-false.com/2010/install-adobe-flash-player-10-on-fedora-centos-red-hat-rhel/

6) Google Chrome

a) Enable Google Chrome repository

$ sudo rpm --import https://dl-ssl.google.com/linux/linux_signing_key.pub

$ su -c 'echo "[google]
name=Google Chrome 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64" >> /etc/yum.repos.d/google.repo'

b) Install Google Chrome

$ sudo yum install google-chrome-stable

Reference
http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

7) Gtalk plugin

a) Download plugin from website

$ https://www.google.com/chat/video/download.html?platform=linux_fedora_x86_64

b) Install Gtalk plugin - yum takes care for dependencies

$ sudo yum localinstall ~/Downloads/google-talkplugin_current_x86_64.rpm

8) Skype

Download Skype and install it.

$ http://www.skype.com/intl/en/get-skype/on-your-computer/linux/downloading.fedora
$ sudo yum localinstall ~/Downloads/skype-4.0.0.8-fedora.i586.rpm

Note  For Fedora 20 following steps are needed:

a) Install Mesa libGL runtime library

skype: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

$ sudo yum install mesa-libGL.i686

Reference
http://superuser.com/questions/608751/failing-to-load-libgl-so-1-after-installing-bumblebee

b) Eliminate noise once Skype is started

Left click on Skype icon-> Application and change option command to env PULSE_LATENCY_MSEC=60 skype %U

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

9) Temviewer

Teamviewer is software for remote control computers  over the Internet. Download it and install via yum.

$ wget http://www.teamviewer.com/download/teamviewer_linux.rpm
$ sudo yum localinstall ./teamviewer_linux.rpm

Teamviewer binary is installed in directory /opt/teamviewer/teamviewer/7/bin/

Reference
http://www.teamviewer.com/en/index.aspx

10) Archive tools - Unrar, 7-zip

$ sudo yum install unrar p7zip p7zip-plugins

11) Acrobat Reader

a) Enable Adobe Repository

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

b) Install Adobe Reader

$ sudo yum install AdobeReader_enu

Note  For Fedora 20 download and install Acrobat Reader manually:

$ sudo yum install atk.i686 gtk2.i686 gtk2.i686 libidn.i686 pangox-compat.i686 libXt.i686
$ wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm
$ sudo rpm -ihv /home/brezular/Downloads/AdbeRdr9.5.5-1_i486linux_enu.rpm

Reference
http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/

12) Microsoft Truetype Fonts

a) Download the latest msttcorefonts spec file

$ wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec

b) Install necessary packages

$ sudo yum install rpm-build ttmkfdir cabextract

c) Build rpm package

$ rpmbuild -bb ~/Downloads/msttcorefonts-2.5-1.spec

d) Get info about built rpm package

$ sudo rpm -qip ~/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm
Name        : msttcorefonts
Version     : 2.5
Release     : 1
Architecture: noarch
Install Date: (not installed)
Group       : User Interface/X
Size        : 5759020
License     : Spec file is GPL, binary rpm is gratis but non-distributable
Signature   : (none)
Source RPM  : msttcorefonts-2.5-1.src.rpm
Build Date  : Sat 03 Nov 2012 11:58:53 PM CET
Build Host  : K55VM
Relocations : (not relocatable)
Packager    : Noa Resare <noa@resare.com>
Summary     : TrueType core fonts for the web
Description :
The TrueType core fonts for the web that was once available from
http://www.microsoft.com/typography/fontpack/. The src rpm is cleverly
constructed so that the actual fonts are downloaded from Sourceforge's site
at build time. Therefore this package technically does not 'redistribute'
the fonts, it just makes it easy to install them on a linux system.

e) Install package msttcorefonts-2.5-1.noarch.rpm package

$ sudo rpm -ihv /home/brezular/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm

Note
My msttcorefonts rpm package compiled for x86_64 Fedora 17 is available for download here:

http://www.4shared.com/file/Zw11Kr0V/msttcorefonts-25-1noarch.html

For Fedora 20, install package msttcorefonts via yum:

$ sudo yum install msttcorefonts.noarch

Reference
http://corefonts.sourceforge.net/
http://www.mjmwired.net/resources/mjm-fedora-f16.html#ttf

13) Make local NTFS Windows partition accessible from Fedora

Let's say we have dual-boot Fedora Linux and  Windows and we want to have an access to Windows partition from Fedora. In order to do it  we have to add line to /etc/fstab to mount Windows NTFS disk /dev/sda3 permanently.  But first we need to found out UUID of that NTFS disk.

$ sudo blkid
/dev/sda1: UUID="18C2-59D1" TYPE="vfat"
/dev/sda3: LABEL="System" UUID="9268E0C668E0A9E5" TYPE="ntfs"
/dev/sda4: LABEL="Backup-image" UUID="DC22520E2251EDD0" TYPE="ntfs"
/dev/sda5: SEC_TYPE="msdos" UUID="1219-029F" TYPE="vfat"
/dev/sda6: UUID="885221c2-b3ef-44da-9128-d9cbc4ea31f4" TYPE="ext4"
/dev/sda7: UUID="35d38bda-9750-4f90-afd8-d2b6a6fae43e" TYPE="ext4"
/dev/sda8: UUID="320b75ba-7b92-46dc-bbb2-0d5e5c5dbae7" TYPE="swap"
/dev/sda9: UUID="f069a887-6fc9-4e1d-983a-50a04d0aea85" TYPE="ext4"

Create a mount point - directory /mnt/win_c/

$ sudo mkdir /mnt/win_c/

$ su -c 'echo "UUID=9268E0C668E0A9E5 /mnt/win_c ntfs-3g defaults 1 1" >> /etc/fstab'

Mount all filesystems mentioned in fstab.

$ sudo mount -av
/                        : ignored
/boot                    : already mounted
/boot/efi                : already mounted
/home                    : already mounted
swap                     : ignored
/mnt/win_c               : successfully mounted

Windows NTFS partition is now accessible from Fedora.

Reference
http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/

14) Access remote Linux partitions from Fedora

a) Install fuse-ssh package

$ sudo yum install sshfs

b) Configuration example

Let's say we have Linux installed on a computer with IP address 172.18.100.141/16. We want to mount a remote directory /home/brezular/ on that box to the directory ~/temp  on local PC running Fedora. IP address of the local computer is 172.18.100.142/16.  The following command mount remote directory to local temp directory on Fedora.

$ sshfs brezular@172.18.100.141:/home/brezular/ ~/temp/

15) Samba Installation and Configuration

Let's say we want to have home directory /home/brezular/ owned by user "brezular" to be accessible from remote computer running Windows.  In order to do it we have to install and configure Samba server on Fedora.

a) Install Samba package

$ sudo yum install samba system-config-samba

b) Edit Samba configuration file and set paramater "browseable" to "no" in a home section

$ sudo vi /etc/samba/smb.conf

[homes]
comment = Home Directories
browseable = no
writable = yes

c) Add samba user "brezular" and type password

Password does not have match Linux password for Linux user "brezular" but user "brezular" must have been a valid Linux user listed in /etc/passwd.

$ sudo smbpasswd -a brezular

d) Start Samba services smb and nmb

$ sudo systemctl start smb.service nmb.service

Make Samba service to be started after restart.

$ sudo systemctl enable smb.service nmb.service

e) Enable Samba services through firewall

$ sudo system-config-firewall

Add service samba to the list of trusted services.

f) SELinux

We have to configure selinux policy to get Samba working. Install system-config-selinux package.

$ sudo yum install policycoreutils-gui

Configure SELinux policy.

$ sudo system-config-selinux

Navigate to Boolean and set Filter to samba. Set option - Allow samba to share home directories.

Reference
http://www.mjmwired.net/resources/mjm-fedora-f17.html#samba
http://www.howtoforge.com/fedora-17-samba-standalone-server-with-tdbsam-backend

16) GNS3 and associated software installation

GNS3 is based on Dynamips and Dynagen (a text-based front-end for Dynamips) to create a complete virtual Cisco network, adding many additional features and most importantly making it easy to create, change and save your network topologies. It was also extended for Qemu virtualizer/emulator and VirtualBox support. The tutorial about installation GNS3 and associated software on Fedora is here.

https://brezular.com/2012/11/14/gns3-on-fedora/

4 thoughts on “My Personal Fedora 17 After Install Guide

  1. "True freedom is an inner thing. It is a state of mind. It is a deliberate exercise of choice. Thus, if we think we are bound by external forces, we are deceiving ourselves. It is our willing acquiescence to these outer demands that imprisons. Free yourself today. Take control of your thoughts."

    Well said! Damn well said indeed !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.