Академический Документы
Профессиональный Документы
Культура Документы
1 Introduction
This document explains the installation and configuration of a Linux operating
system on an HP ze4423 laptop.
1.1 System
Hardware:
• HP Pavilion ze4423ea
• 512 MB RAM
• 30 GB hard drive
Software:
• dkms-rt2500-1.4.4.0-2mdk.noarch.rpm
• cpufreq
• gnome-cpufreq
2 Installation
Installation is an easy task. Just pop in your favorite installation media and start
the machine. I used Mandrake Mini CD and fetched all packages over the Inter-
net. Mandrake is able to identify and configure automatically the display adapter,
monitor, mouse (both the touch pad and my optical USB mouse with wheel) and
the integrated network adapter.
At the end of the installation there is a boot manager configuration. Be careful,
when choosing the boot-time options. If you asked the installation program to
fetch latest updates from the Internet, it’s recommended that ACPI, APIC and
LAPIC are all on. If you didn’t fetch the updates or you did install the whole sys-
tem from CDs, then it’s better to leave APIC and LAPIC on and disable ACPI. All
this is necessary, because the older kernel (2.6.8.1-18mdk) has some issues
with all three options and the power management wont work at all. But updating
the system (at install time or after the first boot) will introduce a newer kernel
(2.6.8.1-24mdk), which has this issue fixed. So, if you want to have a power
management, it is strongly advised that you update the kernel as soon as possible.
3 Configuration
3.1 WLAN
Mandrake 10.1 does not have pre-compiled module for RA-Link rt2500 chip set.
Fortunately, RA-Link has released WLAN drivers under GPL license and pre-
packaged version of these drivers is available at ../devel/cooker/i586/media/contrib/
at your favorite Mandrake mirror site. Find the dkms-rt2500-1.4.4.0-2mdk.noarch.rpm
package and install it using urpmi as a root. If the urmpi asks for a kernel sources,
type uname -a and check the kernel version you are using. Then tell the urpmi,
which kernel source package can be installed.
The installation process of rt2500 module is simple. Urpmi fetches the kernel
source and unpacks the rt2500 module source. After that, the module will be
compiled against the kernel source and then installed to the system. The kernel
source is used only to satisfy the needs of the module source. Afterwards, you can
uninstall the kernel source package.
After installation, The /etc/modules.conf file has to be edited, because of
a small typo in the rt2500 installation script. Change the line “alias ra1 rt2500”
to “alias ra0 rt2500”.
The final step is to configure the card so it can automatically contact the wireless
access point. I tried to use drakconf for this task, but unfortunately there seems
to be be a bug in the configuration system and you have to create the connection
scripts by hand. Do not try to use ifup command to bring the wireless network up.
It wont work.
First, create a /etc/sysconfig/network-scripts/ifcfg-ra0 file with
the following contents:
DEVICE=ra0
BOOTPROTO=dhcp
ONBOOT=no
HWADDR=00:00:00:00:00:00
METRIC=10
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
00:00:00:00:00:00 is the MAC address of your WLAN card. The ONBOOT pa-
rameter is set to “no”, so system doesn’t try to bring up the card at the boot-time.
We need to initialize and set up the card separately, because we will need a custom
script for the job.
Then, create a directory for custom WLAN start up script, for example /etc/wlan.
To that directory, create the following files:
/etc/wlan/wlan:
#!/bin/sh
/etc/wlan/wlan.script
/etc/wlan/wlan.script:
#!/bin/sh
# Enable WLAN:
/etc/wlan/wlan
This way, the wireless network will be brought up automatically at the boot pro-
cess.
5 Conclusions
I have tested several Linux distributions and I have to say, that the Mandrake
Linux 10.1 has been the easiest to install so far. Also, the hardware detection and
support have both been quite remarkable.