Problem with wpa_supplicant

Hi. I recently bought a Hawking HWUG1 and followed all the instructions from this link http://forums.remote-exploit.org/showthread.php?t=15785 to be able to use it with my BackTrack 3 distro.

Here is the script I've written:
#!/bin/bash
ifconfig rausb0 down
modprobe -r rt73
tar -jxvf rt73-k2wrlz-3.0.1.tar.bz2
cd rt73-k2wrlz-3.0.1/Module
make && make install
modprobe rt73 ifname=wlan0
cd ../..
tar -xzf wpa_supplicant-0.5.10.tar.gz
cd wpa_supplicant-0.5.10
patch -p1 < ../wpa_supplicant-ralink_rt73.patch
patch -p1 < ../wpa_supplicant-ralink_rt73-fix.patch
cp defconfig .config
make
cp wpa_cli wpa_supplicant /usr/local/bin
echo 'network={
scan_ssid=0
ssid="<my_ssid>"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=<key from wpa_passphrase>
}' > /etc/wpa_supplicant.conf
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf - d rt73 -w

The only thing that I didnt take from the instructions is "cp defconfig .config". The config file wasnt mentioned so I just copied the example. Now I get errors like this:

ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported

This is just from the cerr. Do you think it has to do with the configuration or the driver itself? Appreciate your help.
ezgigurkanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DarthNoodleCommented:
i would say that this is a driver issue, you might need to find a driver for your exact model. do something like "lspci | grep rt" and see what output it gives you.

i would suggest downloading the updated drivers from somewhere like this
  http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page

if your going to install new drivers dont forget to remove the old ones, the install instructions inside the drivers zip file should explain how to do this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ezgigurkanAuthor Commented:
My drivers are definitely rt73, if that's what you're asking. I confirmed that from several sources.

I followed the instructions and downloaded the source code but I don't really know what to do from here. The folder is massive with a lot of things in it. It doesn't look like it's just a driver. I tried typing `make` and `make install` but did not work. And I can't find any tutorials explaining what to do after downloading the source code. The README file seems to explain how to install a kernel and nothing else. I'm not sure why it's talking about a kernel and how it relates to the driver.

Any ideas?
0
ezgigurkanAuthor Commented:
Apparently I was supposed to run something like `make menuconfig` before running `make`. I ran it, didn't set or change anything and saved the configuration as it was. After that, `make` worked and I think complied a billion .c files. But I got very similar wpa_supplicant output. Strangly enough I got a lot of messages in cout with the first driver but this one only gave me cerr output and nothing else. The same cerr output as before.

What I figured is that what I got from the repository involved much more than drivers. I think I found where the drivers I want are. The folder contains a bunch of .c files, a Makefile and a Kconfig file. `make` fails with a "no targets" error. I got the impression from the Kconfig file that I need to write/change the Makefile myself according to which driver I have, which is something I cant do.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.