No wireless after trying to patch driver

Asked by hogm

After trying to patch the wireless driver to be able to use it for wireless security analysis and testing Ubuntu 7.10 no longer sees my wireless card. It is an Intel Pro 2200. I would like to re install the original wireless driver that was working fine before but i can not find anywhere instructions on how to do it. Guess the only other option is to do a complete reinstall but i have lots of software and it would be a pain to re do it all over. Can somebody help???

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Tomaschik (matir) said :
#1

Which steps did you take to patch it? Make sure the 'ipw2200' module is loaded, and not any other module.

Revision history for this message
hogm (hguiraud) said :
#2

I followed the instructions here: http://ubuntuforums.org/showthread.php?t=501148 but when compiling ieee80211 i get the following errors:

make[2]: *** [/home/hugo/patch/ieee80211-1.2.17/ieee80211_tx.o] Error 1
make[1]: *** [_module_/home/hugo/patch/ieee80211-1.2.17] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2

The compilations stops and i ended up without wireless.

Revision history for this message
hogm (hguiraud) said :
#3

I also ran it this way: make SHELL=/bin/bash

and this is the error i get:

laptop:~/patch/ieee80211-1.2.17$ sudo make SHELL=/bin/bash
Checking in /lib/modules/2.6.22-14-generic for ieee80211 components...
make -C /lib/modules/2.6.22-14-generic/build M=/home/hugo/patch/ieee80211-1.2.17 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M] /home/hugo/patch/ieee80211-1.2.17/ieee80211_module.o
  CC [M] /home/hugo/patch/ieee80211-1.2.17/ieee80211_tx.o
/home/hugo/patch/ieee80211-1.2.17/ieee80211_tx.c: In function ‘ieee80211_classify’:
/home/hugo/patch/ieee80211-1.2.17/ieee80211_tx.c:232: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/hugo/patch/ieee80211-1.2.17/ieee80211_tx.o] Error 1
make[1]: *** [_module_/home/hugo/patch/ieee80211-1.2.17] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2

Revision history for this message
David Tomaschik (matir) said :
#4

Ah, apparently those directions have you use the "remove-old" script which I *assume* deletes your existing drivers. Not very smart to do before the compile, if you ask me. I would try reinstalling like so:
'apt-get install --reinstall linux-image-`uname -r`'. Make sure you use the backticks around uname -r to get your current version.

Can you help with this problem?

Provide an answer of your own, or ask hogm for more information if necessary.

To post a message you must log in.