MikeTeo.net

A Software Developer’s Blog (Wanna Email Me?)

Archive for the ‘Fedora’ Category

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.

Read the rest of this entry »

I have tried overriding my resolv.conf nameservers with OpenDNS on Fedora Core 9 so that the domain names get resolved faster.

  1. Ensure that your network is able to get a dynamic IP from your ISP’s dhcp server.
  2. Locate your dhclient configuration for your interface. For my machine, the file is /etc/dhclient-eth0.conf.
  3. Then add the following 2 lines to this configuration file.
prepend domain-name-servers 208.67.222.222;
prepend domain-name-servers 208.67.220.220;

Now restarting your NetworkManager, and you should see that the OpenDNS nameservers are prepended before your ISP’s nameservers.

Installing Fedora Core 9 from Network

Aug-20-2008 By miketeo

It’s actually a straight-forward process and is good for users who are lazy to download multi-GB images for a one-time installation procedure.

  1. Go to Fedora web site and download netinst.iso for your machine architecture. For i386, the filename should be Fedora-9-i386-netinst.iso
  2. Burn this iso to a CD/DVD. Note that this is an image file. After burning, you should see folders like isolinux, etc on your CD. If you still see an iso file on your CD, that means you have not burnt the image correctly.
  3. Now boot up your machine using the CD/DVD. Select the first option on the menu.
  4. Then continue the setup process until you are prompted with the location of your installation media. Choose URL.
  5. You will be prompted to setup your network devices. Enter the settings according to your network environment.
  6. When prompted for the location of your repository, you need to enter the URL of an online repository which contains the individual RPMs. It is not the same as the Fedora image mirrors which contain only the iso images. For me, I use http://mirror.hiwaay.net/pub/fedora/linux/releases/9/Fedora/i386/os
    If you enter a wrong URL for the repository, you need to restart the setup process. Somehow, there is a bug in the installer which prevents me from correcting any error in the URL at the later stages.
  7. Continue with your disk drive partitioning. If your repository URL is correct, you will prompted to select your package groups: office and productivity, development and web servers. From then on, the setup process will be similar to a CD/DVD-based installation.

I have recently purchased an Asus EeePC 1000H to replace my IBM T42 whose battery can only last me for an hour when I’m on the road. The EeePC comes with Windows XP Home on a 80GB HDD and promises a 4 to 7-hours battery life with its 6-cell battery pack.

Installing Fedora Core 9 is straightforward. All you need is either an USB external DVD drive or to create a Fedora live image on an USB thumbdrive. Hit <F2> to access the BIOS to configure it from to boot from the USB device and your Fedora installer will start loading. My EeePC comes pre-configured with 2 x 40 GB partitions (1 has been used for Windows XP Home and the otherĀ  is empty). So I just wiped out my second partition to create a Linux partition with a small swap 1GB partition.

However, the network devices on the EeePC are not supported by the kernel from the Fedora DVD. These devices have the following signatures (lspci output):

01:00.0 Network controller: RaLink Unknown device 0781
03:00.0 Ethernet controller: Attansic Technology Corp. Unknown device 1026 (rev b0)

Fortunately, I have a 3G USB modem which I have setup with minimal efforts to be able to access the Internet through it. With the 3G connectivity, I upgrade the kernel to 2.6.25.11-97.fc9.i686 using yum and the wired LAN starts working with the atl1e kernel module. If you don’t have alternative means of Internet access, you can still download the 2.6.25.11-97.fc9.i686 kernel source rpm to an USB thumbdrive, copy it and rebuild it on the EeePC.

Right now, I’m still working on getting the wireless LAN to work. I plan to release the kernel module once I have gotten the wlan working.

Updates (2008-11-08): I have gotten the wireless LAN to work on the Asus 1000h. Please refer to this link for more details.

If you find that the Firefox in your Fedora Core 9 keeps throwing an offline error, it is most likely due to an issue with the Network Manager.

The following solution is taken from the Ubuntu forum.

  1. Login as root and edit this file: /etc/dbus-1/system.d/NetworkManager.conf
  2. Replace all these lines <allow send_interface=”org.freedesktop.NetworkManager”/> with <deny send_interface=”org.freedesktop.NetworkManager”/>.
  3. Save the file and reboot the machine.

Now your Firefox should work without any problem.