Difference between revisions of "Installing Fedora Core 4 on a ThinkPad T42p (2373-HBU)"

From ThinkWiki
Jump to: navigation, search
(Programs)
(Programs)
Line 95: Line 95:
 
I got Kismet running with some ado.  Their where some got'cha which I hope to document through them here.
 
I got Kismet running with some ado.  Their where some got'cha which I hope to document through them here.
 
====IPW2200====
 
====IPW2200====
 +
{{NOTE|You may want to backup your current modules and firmware so you can restore them if something goes wrong.}}
 
* Get the module software
 
* Get the module software
 
** Download the lastest IPW200 source and firmware.
 
** Download the lastest IPW200 source and firmware.
Line 115: Line 116:
 
  CONFIG_IEEE80211_RADIOTAP=y
 
  CONFIG_IEEE80211_RADIOTAP=y
 
  #endif
 
  #endif
**** Note the #ifndef and #endif
+
{{NOTE|I had to comment out the #ifndef and #endif to make mine compile right.  I did infact remove the CONFIG_IP2200 from the .config file as suggested in the INSTALL file.}}
 
*** sh remove-old
 
*** sh remove-old
 
*** make;makeinstall
 
*** make;makeinstall
Line 130: Line 131:
 
That sets up the new driver.  Reboot and test that the driver works.
 
That sets up the new driver.  Reboot and test that the driver works.
 
====Kismet====
 
====Kismet====
 +
I got the Kismet program from the dag site (http://dag.wieers.com/home-made/apt/) as source and did rpmbuild --rebuild <kismet.src.rpm> (as root).  I then loaded the resulting rpm file.
 +
 +
There was only two things that I setup in the /etc/kismet.conf file.
 +
# suiduser  -- I set the to my normal login
 +
# source=ipw2200,eth0,ipw2200  -- this worked for me.
 +
 +
{{NOTE| Because I choise to use the suiduser I have to run kismet from a directory that my normal login can write to, aka like my home directory or you can create a directory for it.  This, I believe is to limit any hack attempts through kismet itself.}}
 +
 +
===wpa_supplicant===
 +
I needed to setup wpa_supplicant because some of the wireless AP I connect to use WPA.  The standard stuff in Fedora does not handle that so here you go.
 +
 +
* Download the current version of wpa_supplicant
 +
* Untar
 +
* Create a new .config file
  
 
==Links==
 
==Links==

Revision as of 05:40, 2 December 2005

Currently Working

  • Video (FireGL) - Unaccelered 3D, Other tweeks for speed
  • Ethernet (10/1000) - Working
  • Sound (AD1981B) - Working
  • Function Keys - Brightness,Keyboard light,Bluetooth on/off,Sound,Sus-Mem
  • Bluetooh (BMDC-2) - Untested (I do see the drivers loaded)
  • Modem (BMDC-2) - Untested (I do not see drivers loaded)
  • Wireless (ipw2200) - Working + Monitor mode (aka Kismet)
  • DVD-RW - Working
  • Fingerprint reader - Working + Pam module
  • Suspend Memory - Working
  • Suspend Disk - Not Working
  • IBM Active Protection System (HDAPS) - Not working

Basic Install

After loading the Fedora Core 4 i686 CD here is the basic lay of the land.

  • Video (FireGL) - Unaccelered default setup, but it worked
  • Ethernet (10/1000) - Working
  • Sound (AD1981B) - Working
  • Basic Function Keys - Brightness,Keyboard light,Bluetooth on/off
  • Bluetooh (BMDC-2) - Untested (I do see the drivers loaded)
  • Modem (BMDC-2) - Untested (I do not see drivers loaded)
  • Wireless (ipw2200) - Not Working
  • DVD-RW - Working
  • Fingerprint reader - Not Working
  • Suspend Memory - Not Working
  • Suspend Disk - Not Working
  • IBM Active Protection System (HDAPS) - Not working

Basic Hardware

Wireless

I really needed this first so I could have the easy freedom to work on the machine throughout my house. All you really need here is the firmware loaded in to the right spot. This is an old version of the driver and firmware and it will not run Kismet. Later, I will show how to get this working.

Goto http://ipw2200.sourceforge.net/firmware.php. Download and install the version 2.2 in /lib/firmware. Reboot and your wireless should work. Go here for some more tips: ipw2200

Updating

At this point I setup my system to get all of the current updates for Fedora Core 4. I just ran the up2date program and let it do it's thing.

Video

I am currently using the default raedon driver. I am looking a later loading the fglrx driver.

xorg driver

I read Additional options for the radeon driver page to come up with what I have. Here is the radeon device section from my xorg.conf

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
        VendorName  "Videocard vendor"
        BoardName   "ATI FireGL Mobility T2"
# accelration
        Option          "backingstore" "on"
        Option          "AGPFastWrite" "on"
        #may need to turn of enablepageflip
        Option          "EnablePageFlip" "on"
        Option          "AGPMode" "4"
        Option          "EnablePageFlip" "on"
        Option          "RenderAccel" "on"
        # enable PowerPlay features
        Option          "DynamicClocks" "on"
        # use bios hot keys on thinkpad (aka fn+f7)
        Option          "BIOSHotkeys" "on"
        #Xvmc
        Option          "XvMCSurfaces" "7"
EndSection

ATI driver

Fingerprint Reader

I followed for the most part the instructions given at according HOWTO. the only thing that I changed was the /etc/pam.d/system-auth. Mine looks like:

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/$ISA/pam_env.so
auth        sufficient    /lib/security/pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/
auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
auth        required      /lib/security/$ISA/pam_deny.so
 
account     required      /lib/security/$ISA/pam_unix.so
account     sufficient    /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
account     required      /lib/security/$ISA/pam_permit.so
 
password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3
password    sufficient    /lib/security/pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/
password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password    required      /lib/security/$ISA/pam_deny.so
 
session     required      /lib/security/$ISA/pam_limits.so
session     required      /lib/security/$ISA/pam_unix.so
 

I just try to find the correct place in the list for the pam_bioapi line. I am currently looking for ways to have the scan graphic come up faster. Also note that with the KDE screen saver that the fingerprint reader does not quite work correctly, and it also has some error when comming out of suspend. I will be working on this and hopefully creating a patch and submitting it.

Programs

Mplayer

Xine

Kismet

I got Kismet running with some ado. Their where some got'cha which I hope to document through them here.

IPW2200

NOTE!
You may want to backup your current modules and firmware so you can restore them if something goes wrong.
  • Get the module software
    • Download the lastest IPW200 source and firmware.
    • Download the lastest IEEE-80211
  • Build the modules
    • Build IEEE 80211
      • Untar IEEE
      • Run sh remove-old (as root)
      • make; make install
    • Build the IWP2200 modules
      • Untar IPW2200 source
      • Read in the instructions Goto throught section 5. KERNEL REQUIREMENTS - Configuration and check the things that can not be enabled.
      • Edit the Makefile
#ifndef CONFIG_IPW2200
EXTERNAL_BUILD=y
CONFIG_IPW2200=m
CONFIG_IPW_DEBUG=y
CONFIG_IPW_QOS=y
CONFIG_IPW2200_MONITOR=y
CONFIG_IEEE80211_RADIOTAP=y
#endif
NOTE!
I had to comment out the #ifndef and #endif to make mine compile right. I did infact remove the CONFIG_IP2200 from the .config file as suggested in the INSTALL file.
      • sh remove-old
      • make;makeinstall
  • Install the Firmware
    • make a new directory for the firmware, extract the firmware into that directory
    • Remove Old Firmware
      • Remove old firmware files from /lib/firmware (rm /lib/firmware/ipw*)
      • Remove links for firmware in /usr/lib/hotplug/firmware (rm /usr/lib/hotplug/firmware/ipw*)
    • Copy firmware and create links
      • From the directory that has the downloaded firmware
      • cp ipw* /lib/firmware/.
      • ln -s /lib/firmware/ipw* /usr/lib/hotplug/firmware/.

That sets up the new driver. Reboot and test that the driver works.

Kismet

I got the Kismet program from the dag site (http://dag.wieers.com/home-made/apt/) as source and did rpmbuild --rebuild <kismet.src.rpm> (as root). I then loaded the resulting rpm file.

There was only two things that I setup in the /etc/kismet.conf file.

  1. suiduser -- I set the to my normal login
  2. source=ipw2200,eth0,ipw2200 -- this worked for me.
NOTE!
Because I choise to use the suiduser I have to run kismet from a directory that my normal login can write to, aka like my home directory or you can create a directory for it. This, I believe is to limit any hack attempts through kismet itself.

wpa_supplicant

I needed to setup wpa_supplicant because some of the wireless AP I connect to use WPA. The standard stuff in Fedora does not handle that so here you go.

  • Download the current version of wpa_supplicant
  • Untar
  • Create a new .config file

Links