anyway, since i plan on doing this all over again, here are the steps:
get the binaries of iwlwifi (http://intellinuxwireless.org/)
mac80211-10.0.4.tgz (did not need this)
Get the kernel source:
sudo apt-get install kernel-source-2.6.22
unziped the kernel, had to play a bit of stupid tricks such as
sudo ln -s /usr/src/linux-source-2.6.22/ /lib/modules/2.6.22-14-generic/source
+ copy the .config and build files from kernel-header-generic in /usr/src/... to the source directory..
then buidl iwlwifi:
a simple "sudo make",
copy the firmware:
cp iwlwifi-4965-ucode-18.104.22.168/iwlwifi-4965-1.ucode /lib/firmware/
and the same for 3945
sudo make install
blacklisting the ipw3945 driver:
/etc/modprobe.d/blacklist add the line:
edited my /etc/network/interfaces with:
iface wlan0_rename inet dhcp
wpa-psk $(PSKin Hex)
Replace the $(MySSID) with the SSID
and the $(PSKinHex) is generated by wpa_passphrase
I dont like the name wlan0_rename, I guess i got to do something in udev.. but anyway, leaving it as it is... too late in night+got a shoulder ache :(
Platform: ThinkPad X61
OS: Ubuntu 7.10
The boot seems for somereason takes a bit for ever..
[ 26.398329] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 26.539397] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 26.557696] input: TPPS/2 IBM TrackPoint as /class/input/input3
[ 60.462181] lp: driver loaded but no devices found
[ 60.528904] Adding 7809472k swap on /dev/sda3. Priority:-1 extents:1 across:
[ 60.912183] EXT3 FS on sda6, internal journal
[ 61.476135] kjournald starting. Commit interval 5 seconds
[ 61.487567] EXT3 FS on sda5, internal journal
[ 61.487572] EXT3-fs: mounted filesystem with ordered data mode.
[ 62.178371] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ
[ 62.178498] PM: Writing back config space on device 0000:03:00.0 at offset 1
(was 100102, writing 100106)
[ 62.292507] iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
[ 62.487276] NET: Registered protocol family 17
[ 64.193798] wlan0_rename: Initial auth_alg=0
[ 64.193802] wlan0_rename: authenticate with AP XYZ....
that is like a 40 second sleep.. :( darn..
LEDs dont blink either..