Well, Fedora 12 is out. I use Fedora, because their target audience is people who would be inclined to, and be able to, contribute to free software. This means the target audience is more savy than the target audience for, for example, Ubuntu. I’m tired of OS’s aiming at the least common denominator. An OS that’s efficient for a skilled user differs from one that attempts to idiot proof things.
Of course there are a few steps needed to get Fedora working like I want it to. They are only slightly modified from my Fedora 11 steps:
- Fix the DNS lookup bug. On all the machines I administer, this manifests itself as massive dns lookup failures, with the effect that although you can ping an address, you don’t have any internet access (no web browser, no yum…). This answers the question: I have an internet connection, but I can’t use the web, WTF?
- Access to fusion. Fusion provides all that useful stuff that’s not in the default fedora repo, like mplayer and codecs that might be subject to patents.
- Add MP3 support/get Amarok working.
- Get Flash working (people need their youtube).
- Graphics acceleration
- Add ntfs support.
- Disable physical file folders.
- Enable Ctl-Alt-Backspace
- Deal with the “my laptop hangs while booting bug” if applicable
1. Fix the DNS bug
Apparently there is a known bug, which mucks up the domain name lookup with certain ISP’s, of which bluewin (my ISP) is one. In the bug description the complaint is that you get unreliable name lookups, but in the case of bluewin (my isp), you get no successful lookups. A workaround is:
- Find out the network interfaces the machine has using the command “route -n”.
- Create a file: /etc/dhclient-< your network interface name here >.conf consisting of the line
prepend domain-name-servers 127.0.0.1;
- Start dnsmasq (‘service dnsmasq start’).
- tell dnsmasq to start every time the computer does (‘chkconfig dnsmasq on’)
- restart the network connection (‘service NetworkManager restart’)
So on Sunny the Sony I want to get my wireless LAN working right on Bluewin. Running ‘route -n’ tells me my network interface is ‘wlan0’ (which I could have guessed). So I do the following (as root of course):
echo 'prepend domain-name-servers 127.0.0.1;' > /etc/dhclient-wlan0.conf
service dnsmasq start
chkconfig dnsmasq on
service NetworkManager restart
And presto, my internets work again. I don’t put it on this list, but at this point I run a ‘yum -y update’ to get the base install up to date.
Fusion is a merge of the largest existing repos, and means to be the extra repo for fedora, including (separate) free and non-free packages that Fedora is not able to ship of license or export regulations. The following will get you both the free and non-free (as in freedom, not in cost) repo’s:
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
3. mp3 support.
yum -y install amarok lame* gstreamer-plugins-ugly xine-lib-extras-freeworld
And things seem to be running all right.
yum -y install flash-plugin libcurl
yum install nspluginwrapper.{i586,x86_64} alsa-plugins-pulseaudio.i586
rpm -ivh adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
While it’s possible to just download the nvidia installer and get things running, you’ll have to recompile the driver every time you update the kernel. Â So it’s easier to use the fusion repository. Â You’ll also have to disable the nouveau drivers, which prevent the kernel from loading the nvidia drivers. Â This can be done by recreating the initrd, or by adding a command line option to the kernel. Â I do the former with the following command:
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
It’s also necessary to lower the system protection so SElinux doesn’t stop the driver from loading:
setsebool -P allow_execstack on
Finally, you can install the drivers:
yum -y install kmod-nvidia-PAE
Obviously, if you aren’t using the PAE kernel, you’ll have to adjust. You also have to adjust the installed driver if you’re using a GeForce5 or older card. Details can be found here .
For any fat partition, change the umask in fstab to 000. For NTFS support:
yum -y install ntfs-config.noarch
On several laptop models, including my Sony SZ750N, there is a bug which results in fedora seeming to hang at boot. In fact, it just boots very slowly, forcing me to wait about 6 minutes, occasionally putting out something to the effect of: “tpm_tis: 00:0a 1.2 TPM…” etc. etc. There’s a discussion of the bug here. The workaround is to add “tpm_tis.interrupts=0” to the kernel boot options (e.g. by editing grub.conf).
Do be sure to give the just-released Amarok 2.2.2 a try. We’ve added quite a few new things, including some 1.4 features back, and fixed a ton of bugs.
Pingback: Links 15/1/2010: Linux Jobs Surge, GNOME 3 Previews, Norwegian Broadcasting Goes FOSS/ODF, YouTube Ogg Milestone | Boycott Novell