". Just pick the version
of the kernel that you have on your machine and install it like this -
# apt-get install kernel-source#2.4.22-1.2115.nptl
After this is done, we need to pull down the latest cvs version of the MADWifi sources. Thats another minute's job. Do these -
# mkdir source-cvs
# cd source-cvs/
# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi login
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
You now have the source code, the driver source. I would recommend you to read the README file before making/installing the
driver. One piece of good information I got from the README was to set this before making the driver -
# export COPTS="$COPTS -DSOFTLED"
Set this before running make. This would enable the Wifi LED on the front panel. You also need to be root to make. Without that,
make will throw an error with "cannot create file, permission denied".
Make will also check if the current kernel has loadable module support. It does
so by checking the contents of the .config file in /usr/src/linux directory.
In the default fedora installation, the .config file is missing. That can be
copied from /boot as -
# cp /boot/config-`uname -r` /usr/src/linux-`uname -r`
You need to be root to do this.
So, su into root and then copy the file / export this variable. Then
run make.
Make should not take much time. After make is done, just skim through the messages so as to check if there were any errors.
Once you are sure about that, run make install. This will install the driver modules in the kernel modules directory so that
they can be loaded up automatically. The driver source generates three modules which need to be loaded in a particular order.
Refer to the README file (I already told you so na?) for details about that.
Wokay! You are all set. Rest is easy. Go into /etc/sysconfig/network-scripts and copy ifcfg-eth0 to ifcfg-eth1 (or ath0).
Modify it with the following -
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
DHCP_HOSTNAME=pajama.vsharma.net
ESSID=Santa #Replace this with your ESSID
Reboot once. Kudzu should detect the "Unknown network card". Select configure and it will make the appropriate changes.
Try flood pinging your access point. ;)
# ping -f `/sbin/route -n | grep ^0 | tr -s " " | cut -d" " -f2`
DISCLAIMER: DO not blaim me for anything if you try this.
Bluetooth
I have a Sony Ericsson T610 which has bluetooth. I have very short bluetooth experience with my laptop and the phone,
but here is what I did.
After the driver is in place, try pressing the Fn+F5 combination. Interestingly, that enables/disables the Bluetooth subsystem,
leaving the Wifi card/connection intact.
When this is done, you should see activity with BlueZ related activity in /var/log/messages.
Some more stuff needs to be installed before you can do anything with bluetooth. Do this -
apt-get install bluez-sdp bluez-pan bluez-bluefw bluez-hcidump bluez-utils
then put this in /etc/modules.conf
# bluetooth stuff
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
Now go and edit /etc/bluetooth/pin and put in your own pin there. Activate the bluetooth radio
by pressing Fn+f5. After that start the bluetooth service -
# service bluetooth start
You should see something like this in /var/log/messages -
Apr 18 21:27:19 pajama kernel: hub.c: new USB device 00:1d.2-1, assigned address 4
Apr 18 21:27:22 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94af00, burb de484580
Apr 18 21:27:22 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94a400, burb cb94af00
Apr 18 21:27:23 pajama usb.agent[15550]: missing kernel or user mode driver hci_usb
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94af00, burb cb94ac80
Apr 18 21:27:23 pajama usb.agent[15553]: missing kernel or user mode driver hci_usb
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94ac80, burb cb94af00
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94af00, burb cb94ac80
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cb94af00, burb cb94ac80
Apr 18 21:27:23 pajama usb.agent[15555]: missing kernel or user mode driver hci_usb
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb de484400, burb cb94a400
Apr 18 21:27:23 pajama kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb de484400, burb cb94a400
Apr 18 21:27:25 pajama devlabel: devlabel service started/restarted
I see there are some errors there. I need some more time to figure out whats happening there. As of
now, this works. After this, bring up the hci0 interface -
[root@pajama root]# hciconfig hci0 up
[root@pajama root]# hciconfig
hci0: Type: USB
BD Address: 00:20:E0:4A:B2:EB ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:69 acl:0 sco:0 events:8 errors:0
TX bytes:27 acl:0 sco:0 commands:7 errors:0
[root@pajama root]#
Now try scanning for your bluetooth devices -
[root@poo root]# hcitool scan
Scanning ...
00:0A:D9:81:30:4D TeliPhunwa
[root@poo root]#
If you get this, which is a listing of all the bluetooth enabled devices around you, bluetooth is working for you.
There are a ton of other things you can do with bluetooth. That depends on what device you have.
[ COMPLETE PENDING BLUEtooth + GPRS ]
Hard Drive performance
[ FIXME ]
I did not change any hdparm parameters of the default install. I get this -
[root@pajama root]# hdparm -tT /dev/hda1
/dev/hda1:
Timing buffer-cache reads: 1740 MB in 2.00 seconds = 870.00 MB/sec
Timing buffered disk reads: 104 MB in 3.00 seconds = 34.67 MB/sec
[root@pajama root]#
I dunno if I can do anything more with the hard drive performance.
Power Management, standby, shutdown, etc.
[ FIXME ]
All I have tested till now is the close/open of the LID. Suspend works just fine. The battery meter in gnome
works perfectly.
More later.
USB Devices
[ FIXME ]
Havent seen any of my usb devices not working with the laptop. This includes the sandisk 6 in one card reader, Zire 71,
Canon powershot A40, Logitech optical mouse. Everything was just plug and use.
Ultranav, USB mouse etc.
[ FIXME ]
Everything including the touchpad, thingy and the USB mouse work fine. Zero configuration needed.
Overall
Well, I cant complain much as this is my first IBM laptop and infact I dont have any complains yet. The T41p is an excellent piece
of equipment. Except the 512 mb ram, I have not seen any shortcoming. For that too, I can spend another $160 and solve all the
jerking problems when I play UT2004.
I had expected more than a couple of problems configuring the laptop. But to my surprise, except the Wireless card, everything
worked out of the box. As I spend more time with it, I will discover more ways to extract more out of this machine. I will
try and update this document as and when I have something.
As of now, I am all happy happy, joy joy. :)
DISCLAIMER: This document is what I did on my laptop. If anything of this affects/damages anything for you, I will not
be responsible. Please be careful.