LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 06-05-2007, 04:02 PM   #16
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Rep: Reputation: 30

I know this thread is a little old, but...

The problem is in the ipw3945 kernel module. By default, it is compiled with monitor and promiscuous modes off. The module must be recompiled with these modes on (uncomment them in the makefile) in order for kismet to work. After I did that it worked like a charm, and I didn't have to update IEEE or anything.
 
Old 07-27-2007, 03:07 PM   #17
chief_officer
Member
 
Registered: Mar 2006
Location: Istanbul, TR
Distribution: Red Hat, CentOS, Ubuntu
Posts: 180

Rep: Reputation: 30
Friends,

The problem is with the ipw3945 driver. The following is the extract from the driver's Makefile:

Code:
# If you are not interested in using monitor mode, simply comment out:
#
# NOTE:  If you have problems compiling due to IW_MODE_MONITOR not being
#        defined then you need to update the wireless extension version
#	 installed in your kernel, or comment this line out.
# CONFIG_IPW3945_MONITOR=y

# If you are interested in using radiotap headers in monitor mode,
# simply uncomment:
#
# NOTE:  To use RADIOTAP you must also enable MONITOR above.
# CONFIG_IEEE80211_RADIOTAP=y

# The above monitor mode provides standard monitor mode.  The following
# will create a new interface (named raw%d) which will be sent all
# 802.11 frames received on the interface
#
# NOTE:  To use PROMISCUOUS you must also enable MONITOR above.
# CONFIG_IPW3945_PROMISCUOUS=y


As you will easily see in the bold lines above, the monitor, radiotap and the promiscuous modes are disabled by default by the driver.

Anyway, let me tell you what I have tried so far in vain but learnt:

The release of the driver is 1.2.1 and it is not compatible with the latest 802.11 stack. I have learnt that in forums and the people that got their card working used 1.1.11 driver. Seems to me that the latest driver is not the greatest.

In my opensuse notebook, I couldn't remove the 802.11 stack completely. I ran make with allow duplicate option, there the YaST found two network cards, got none of them to work. Now in my system I'm not able to see eth1. Previously, YaST recognized the card perfectly, eth1 worked, but monitor mode was off. I was not able to audit my home wireless network.

Bottomline, to go and try your chance:
  1. Get the drivers from ipw3945 on sourceforge, untar it.
  2. cd into the directory where you untarred it, open Makefile with your favorite text editor and remove the hash signs [#] that I have shown you in bold above.
  3. Get ipw3945-ucode, untar it, cd to the directory you untarred it. [you can get it from http://bughost.org]
  4. cp ipw3945-ucode-x.xx/ipw3945.ucode to your system's firmware directory. In openSuSE 10.2 it is /lib/firmware
  5. Get ipw3945d, untar it, cd to the directory you untarred it.[you can get it too from http://bughost.org]
  6. cd to x86 or x86_64, depending on your system's architecture.
  7. copy the file in the x86 [or x86_64] directory to /sbin.
  8. ./load debug=0

Hopefully you should be seeing your card with iwconfig. iwconfig eth1 mode monitor should return no errors. I am still trying to get mine working.

Regards,
chief
 
  


Reply

Tags
ipw3945, monitor, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kismet and Monitor mode kcorupe Linux - Wireless Networking 10 08-10-2007 05:17 AM
is the ipw3945 driver due for inclusion into upcoming kernel? steve1401 Linux - Wireless Networking 4 04-06-2006 11:58 AM
Can't get into Monitor Mode SeniorSE Linux - Networking 1 06-23-2005 05:20 PM
What is monitor mode? belkins Linux - Wireless Networking 3 05-20-2005 05:12 PM
Monitor mode chrisr1984 Linux - Hardware 0 04-27-2004 10:08 PM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration