Can't connect to wireless network using wpa_supplicant - OSWA-Assistant
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't connect to wireless network using wpa_supplicant - OSWA-Assistant
Hello,
I have been trying to work with OSWA-Assistant. Its a version of linux used for wireless auditing. I'm having trouble getting my wifi usb adapter to connect to my wireless network. I have not gotten anywhere with Google, and I'm about at the limit of my abilities. Any ideas you have would be great.
I have the Alfa AWUS036H wireless USB adapter. OSWA will recognize the wifi adapter, and it shows up as wlan0 if I do "iwconfig". However, no matter what i do, I can't get it to connect to my wifi network. I am running WPA2-PSK [AES] as the security option on my wireless router.
I keep getting a "Segmentation fault", and "failed to set GTK to the driver" among other things. I can get you a screen shot of all the results if you want them.
Here is the command that i run.
wpa_supplicant -Dmadwifi -iwlan0 -c/etc/wpa_supplicant.conf -dd
Here is a copy of my /etc/wpa_supplicant.conf:
#do not remove or modify the next 4 lines
ctrl_interface=/var/run/wpa_supplicantctrl_interface_group=0ap_scan=1fast_reauth=1
#select 1 or 2 below, depending on your AP configuration
eapol_version=1
it starts scanning for available networks. A list of available wireless networks in my area comes up, but then i get message
"no suitable AP found" for each one of them. It skips right over the network that i configured in wpa_supplicant.conf, giving the message: "skip - no WPA/RSN IE". I can disable this scan by changing "ap_scan" from 1 to 0.
In this case, I see this message:
"could not read SSID from driver". I still have no luck either way.
I have tried this on 2 different wireless networks and it does the same thing on both of them. I guessing its still a driver issue. Any other ideas that I could try?
It keeps give me an error for unsupported driver on that n180211 when I tried it. I think if I can somehow get that nl80211 driver installed on my system maybe it would work.
I have the driver CD for the Alfa AWUS036H.
I was able to mount the CD on the linux system, but it won't compile the Makefile for some reason. I got this error: "make: /lib/modules/2.6.19/build: no such file or directory. Stop" This directory does seem to exist, so I don't know why it does this.
Is there a package I can download with this driver? Maybe that would be easier.
that error when compailing make indicate missing linux headers so you need linux headers for your os.
try search linux headers for your distribution and try make again.
post after that we will figur out somehow
nl not n1
try enter sudo wifi-menu see is it installed and try connect that way. is alpha only card on your pc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.