LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-26-2007, 03:23 PM   #1
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: SlackWare 12.0
Posts: 73

Rep: Reputation: 15
Injection/monitor mode with ipw2200 drivers


Hi,

using this useful HOWTO at ubuntuforums, I wanted to enable injection-capabilities for my Inter 2200BG wireless network adaptor.

However, I ran into some throubles while trying to 'make' the IEEE drivers:
Code:
root@bart-laptop2:/home/bart/wifi/ieee80211-1.2.17# make
Makefile:17: 
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21: 
Checking in /lib/modules/2.6.22-14-generic for ieee80211 components...
make -C /lib/modules/2.6.22-14-generic/build M=/home/bart/wifi/ieee80211-1.2.17 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
/home/bart/wifi/ieee80211-1.2.17/Makefile:17: 
/home/bart/wifi/ieee80211-1.2.17/Makefile:18: WARNING: $SHELL not set to bash.
/home/bart/wifi/ieee80211-1.2.17/Makefile:19: If you experience build errors, try
/home/bart/wifi/ieee80211-1.2.17/Makefile:20: 'make SHELL=/bin/bash'.
/home/bart/wifi/ieee80211-1.2.17/Makefile:21: 
  CC [M]  /home/bart/wifi/ieee80211-1.2.17/ieee80211_tx.o
/home/bart/wifi/ieee80211-1.2.17/ieee80211_tx.c: In function ‘ieee80211_classify’:
/home/bart/wifi/ieee80211-1.2.17/ieee80211_tx.c:232: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/bart/wifi/ieee80211-1.2.17/ieee80211_tx.o] Error 1
make[1]: *** [_module_/home/bart/wifi/ieee80211-1.2.17] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
root@bart-laptop2:/home/bart/wifi/ieee80211-1.2.17#
I'm pretty sure I'm just missing some files (for make'ing), however I have no idea how to find out which ones. Help on this would be greatly appreciated!

Also posted this on the ubuntu forums, but my guess is this is not ubuntu-specific.
 
Old 12-27-2007, 05:33 AM   #2
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: SlackWare 12.0
Posts: 73

Original Poster
Rep: Reputation: 15
Alright, found out that the problem lies with the 2.6.22 kernel (headers), as 'struct_sk_buff' (whatever that is) no longer features 'nh', hence the following error upon compilation of the ieee drivers:
Code:
‘struct sk_buff’ has no member named ‘nh’
So, my guess is we need newer ieee drivers. Will try the newest and hope this guide will still work for them.
 
  


Reply

Tags
intel, 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error setting monitor mode(ipw2200-1.0.9+/kernel 2.6.14+) metabaron Linux - Wireless Networking 2 07-08-2007 08:18 PM
Which Firmware Allows Packet Injection on ipw2200? Sir. BOBSONATOR Linux - Wireless Networking 3 05-21-2007 01:15 AM
Setting monitor mode on Orinoco 0.15 drivers brooky9999 Linux - Wireless Networking 12 03-17-2007 02:21 PM
ipw2200 monitor mode Singee15 Linux - Networking 9 08-28-2005 02:21 PM
Patching Orinoco Drivers for Monitor Mode starnix Linux - Wireless Networking 0 08-20-2004 05:36 PM


All times are GMT -5. The time now is 04:05 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
Open Source Consulting | Domain Registration