Help installing wireless card - Ubuntu 8.4

Asked by Chakib

I am runnig Ubuntu 8.4 in a "BenQ Joybook S41" laptop.
The laptop comes with an internal wireless card installed (Pro/Wireless 4965 AGN). IMPORTANT: This card is currently being detected as "wlan0".
I purchased a USB external card (alfa awus036h). This card is plug and play and it is supported by Linux. I connectd the card to the USB port and ran iwconfig, but I can only see the excisting internal card (Pro/Wireless 4965 AGN). I tried turning the card off (through a switch in my laptop), but that did not work either.

******************************************
chakib@Ubuntu007:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"" Nickname:""
          Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:DF:08:57:5D
          Bit Rate=54 Mb/s Tx-Power=27 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Power Management:off
          Link Quality=96/100 Signal level=-31 dBm Noise level=-127 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

chakib@Ubuntu007:~$
************************************************

I found online instructions on how to manually install the card (http://www.aircrack-ng.org/doku.php?id=r8187). So I decided to try that route...I followed the below instructions, but the last step (make install) did not work.

********************************************************
wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.24v3.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.24v3.patch
make
make install ****THIS STEP DID NOT WORK*******
***************************************************

Everything goes well until this point.. When I type "make install", I get the below error:

*********************************************************
chakib@Ubuntu007:~/rtl8187_linux_26.1010.0622.2006$ make install
install -d /lib/modules/2.6.24-16-generic/kernel/drivers/net/wireless/rtl_ieee80211
install: cannot change permissions of `/lib/modules/2.6.24-16-generic/kernel/drivers/net/wireless/rtl_ieee80211': No such file or directory
make: *** [install] Error 1
chakib@Ubuntu007:~/rtl8187_linux_26.1010.0622.2006$
***************************************

What can I do to install this card?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Chris
Solved:
Last query:
Last reply:
Revision history for this message
Chakib (chakib007) said :
#1

OK, i tried "sudo make install" and the drivers were installed... I then rebooted, typed iwconfig... The results are the same, I can not see the alfa awus036h.
*******************************************

chakib@Ubuntu007:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"ChakibMain" Nickname:""
          Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:DF:08:57:5D
          Bit Rate=54 Mb/s Tx-Power=27 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Power Management:off
          Link Quality=100/100 Signal level=-29 dBm Noise level=-94 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

chakib@Ubuntu007:~$
*******************************************

Also, everything I read regarding the alfa awus036h is that it is supposed to be detected as "wlan0", but that is the name of the internal card... Could that be the problem? if so.. what should I do?

Revision history for this message
Best Chris (cmavr8) said :
#2

https://answers.launchpad.net/ubuntu/+question/31734

Shouldn't you close this question too, now?

Revision history for this message
Chakib (chakib007) said :
#3

Thanks cmavr8, that solved my question.