Fix intel wireless driver on Hardy

aboSamoor | April 28, 2008 | 6:02 pm

I installed Hardy on my ThinkPad R61 which using Kernel 2.6.24.

to know what’s the intel wireless card you have run the following command

lspci -vvnn

For my laptop:

03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4227] (rev 02)
Subsystem: Intel Corporation PRO/Wireless 3945BG Network Connection [8086:1014]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 217
Region 0: Memory at df6ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

running
iwlist scanning
gives me
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
wmaster0  Interface doesn't support scanning.

digging for the source of the error i got this message in the log

dmesg | grep iwl

[ 68.062145] iwl3945: Microcode SW error detected. Restarting 0x82000008.
[ 68.062169] iwl3945: Error Reply type 0x00000005 cmd REPLY_SCAN_CMD (0x80) seq 0x4414 ser 0x0000004B
[ 69.064840] iwl3945: Can't stop Rx DMA.
[ 69.196238] Registered led device: iwl-phy0:RX
[ 69.196280] Registered led device: iwl-phy0:TX

I tried this trick, to solve the problem

  1. sudo modprobe -r iwl3945
  2. create a file named iwl3945 in /etc/modprobe.d
  3. in that file enter the following entries
    alias wlan0 iwl3945
    options iwl3945 disable_hw_scan=1
  4. sudo modprobe iwl3945
  5. sudo ifconfig wlan0 up

after that i got my wireless card working, but not the wireless LED. For me that is enough :)

How to compile and intsall pdfedit on Linux, Ubutnu ?

Mustafa | April 23, 2008 | 3:01 pm

If you don’t want to compile, you can install it easily from Ubuntu repositories,
sudo apt-get install pdfedit

If you insist on compiling, you can get the source files , Here.
Now you need to extract your compressed file, in my case :
tar -xzvf pdfedit-0.4.1.tar.gz
You also need the following packages, qt3-dev-tools, build-essential, boost-build, libboost-thread-dev , libboost-thread1.34.1 , libboost-iostreams1.34.1 and libboost-iostreams-dev , on Ubuntu you can run :
sudo apt-get install build-essential boost-build libboost-thread-dev libboost-thread1.34.1 libboost-iostreams1.34.1 libboost-iostreams-dev qt3-dev-tools
Now you need to set the QTDIR, which is the qt3 directory, if you are using Ubuntu you it is usually on /usr/share/qt3, so :
export QTDIR=/usr/share/qt3
Now all what you need to do is to go into your extraction folder and run the configuring script :
./configure
If you followed all of the above steps this should run smoothly. To install run :
make install

ENJOY!
Mustafa Mustafa