MikeTeo.net

A Software Technologist's Blog (Wanna Email Me?)

Archive for the ‘Fedora’ Category

TrueType Font RPM for Fedora Core

Dec-21-2009 By miketeo
 

I have rpmbuild the msttcorefonts RPM from msttcorefonts-2.0-1.spec.
For FC12, you will encounter a chkfontpath dependency error when trying to install this rpm. Just rpm -i –nodeps msttcorefonts-2.0-1.noarch.rpm and re-login your X session.

Download the msttcorefonts-2.0-1.noarch.rpm.

Compiling runit on Fedora Core 11

Sep-8-2009 By miketeo
 

If you encounter the following error while trying to compile runit on a FC11 machine

[root@norma runit-2.0.0]# package/install
Linking ./src/* into ./compile…
Compiling everything in ./compile…
+ cd compile
+ exec make
./load runit unix.a byte.a -static
/usr/bin/ld: cannot find -lc

Try yum install glibc-static

Arduino IDE : USB Ports Not Found

Jun-27-2009 By miketeo
 

If you have upgraded or installed Fedora Core 11, you might find that your USB ports are not listed or the Serial Port menu is greyed out on the Arduino IDE. This is due to a change of group ownership for the /dev/ttyUSBx ports in FC11.

To resolve this, simply add your user (eg. myuser) to the dialout group in /etc/group like this:

dialout:x:18:myuser

Then logout from your desktop and re-login back again.

Upgrading from FC9/FC10 to FC11

Jun-23-2009 By miketeo
 

I have recently upgraded some of my Linux boxes from Fedora Core 9 and Core 10 to Fedora Core 11. Recent Fedora distros come with a preupgrade application which simplifies the upgrade process. It works well for some of my FC10 boxes, but I find that the preupgrade application has issues with RAIDs for the FC9 box.

I have upgraded 3 boxes using the DVD media (both 32-bits and 64-bits distros). After upgrading, it seems that I need to perform some additional steps in order to upgrade the entire application base to FC11.

The first few problems that you will see is that some of the softwares refuse to start, or hang. For example, the gnome terminal will start but refuse to accept any keystrokes in its window. My gnubiff won’t even start. And the worst: yum refuses to run! (No module named yum… Please go to this wiki FAQ…)

My solution as follows:

  1. Go to console. You can press <Ctrl> + <Alt> + <F2>. You should see a prompt for your ID. Sign in as root user with your root password.
  2. Download and install the FC11 yum rpm. If rpm reports that yum has already been installed, uninstall the existing yum: rpm -e –nodeps yum. Then install the new yum: rpm -i yum-3.2.22-4.fc11.noarch.rpm
  3. Rebuild the rpm database: rpm –rebuilddb
  4. Flush yum cache: yum clean all
  5. Then perform the upgrade: yum upgrade
  6. Reboot the machine when upgrade completes, and the whole machine is in FC11 “mode” now.
 

I have gotten my wireless LAN on my Asus eeePC 1000h working on Linux fedora core 9 distro. The following records the steps that I have performed to get the RaLink wireless device working. You should be comfortable in editing files and running commands via terminal shell.

Update: Fedora Core 11 has support for this wireless device.

  1. 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
  2. yum install kmod-rt2860
  3. Reboot your eeePC.

Read the rest of this entry »