MikeTeo.net

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

Archive for the ‘Linux’ Category

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.

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.

This rattle records my experience in getting the SingTel Huawei E169 USB modem to work on my laptop running Fedora Core 8 (2.6.25.10-47.fc8). The process is straightforward and the Vodafone Mobile Connect application eliminates the need for complex pppd configurations.

You will need root and internet access to your machine and some basic skills at running commands on a shell. Before attempting the following procedures, you should ensure that your modem and your SingTel BroadBand on Mobile account is working on Windows XP or Vista first.

Read the rest of this entry »

FastCGI’s HTTPS in nginx

Jul-10-2008 By miketeo

If you find that your FastCGI is redirecting your web browser from HTTPS to HTTP URLs, you might want to try adding this parameter in your nginx host configuration.

fastcgi_param HTTPS on;