WPA problems with DWL-G650+ PCMCIA card (ACX111 cp) (SOLVED)

Post Reply
Message
Author
User avatar
iansl2000
Posts: 34
Joined: Thu 23 Mar 2006, 00:18
Location: UK

WPA problems with DWL-G650+ PCMCIA card (ACX111 cp) (SOLVED)

#1 Post by iansl2000 »

I have finally got the above wireless network card working and can connect to a nearby open network.
I would now like to connect to my own network protected by WPA and have downloaded and installed the two2 files:
wpa_supplicant-0.5.7-1.pup
and net-setup-2.14-8.pup
from here http://www.murga-linux.com/puppy/viewto ... [/code]
Last edited by iansl2000 on Tue 13 Feb 2007, 23:07, edited 1 time in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

You didn't mention that you're using ndiswrapper, but I see that fact in your other thread.
There's a slight chance that the native acx100 driver could be interfering. Make sure it's not loaded by doing this -

rmmod acx

In fact I've heard that if native drivers are loaded, then ndiswrapper may fail to work. One way to eliminate the involvement of this driver is to delete or rename it. It's found in /lib/modules/2.6.18.1/extra/

User avatar
iansl2000
Posts: 34
Joined: Thu 23 Mar 2006, 00:18
Location: UK

#3 Post by iansl2000 »

Thanks for the reply but I'm afraid the
rmmod acx
didn't work.
I have however got wpa working.
I had to change the line
ap_scan=2
to
ap_scan=1
in the wpa_supplicant.conf
file and ensure the the ESSID was broadcast. I tried other combinations of
ap_scan=?
to connect to a hidden network but no-go, still it's good enoughfor me.

One last thing, how do I get the card to connect at boot? I tried putting the commands

ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
dhcpcd wlan0

in the /etc/rc.d/rc.local
file but the screen just hangs when processing.

I tried using the wizard to connect but I'm sure it was changing the ap_scan=1 line back to ap_scan=2 in the wpa conf file.

Thanks again for the help
Ian

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#4 Post by rarsa »

iansl2000 wrote:I tried using the wizard to connect but I'm sure it was changing the ap_scan=1 line back to ap_scan=2 in the wpa conf file.
Using the wizard, when you are at the wireless configuration window you must select unselect Ap Scan "Hidden" and select "Suplic."

The parameter "ap_scan=1" means that the wpa_supplicant will do the scanning.

Please let me know if this works for you. If not, I will investigate further and fix the wizard if required.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#5 Post by rarsa »

iansl2000 wrote:One last thing, how do I get the card to connect at boot? I tried putting the commands
...
in the /etc/rc.d/rc.local
file but the screen just hangs when processing.
It hangs because you are running the supplicant in the foreground. The option -B in the wpa_supplicant line will send it to the background.

But here is what I suggest:
a) Try to do it with the wizard as explained in my previous post.

b) If the wizard does not work for you, I hope you can work with me figuring out why it's not working.

Meanwhile, you can create two files

A file "/etc/wlan0wireless" that only has this line:

Code: Select all

/usr/sbin/wpa_connect.sh wlan0 wext
A file "/etc/wlan0mode" whith these lines

Code: Select all

echo "Trying to get IP address from DHCP server (60sec timeout)..."
rm /etc/dhcpc/dhcpcd-wlan0.pid 2>/dev/null #if left over from last session, causes trouble.
rm /etc/dhcpc/dhcpcd-wlan0.cache 2>/dev/null #ditto
rm /etc/dhcpc/dhcpcd-wlan0.info 2>/dev/null #ditto
dhcpcd wlan0
These are the same files created by the wizard.

Oh, and install the newest rc.network:
http://www.murga-linux.com/puppy/viewtopic.php?t=15125

If you follow what these commands are doing, you'll see that they are in esence doing exactly the same as you are doing except that they do some housekeeping to make sure there is a clean environment before starting the wpa_supplicant and the dhcpcd.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#6 Post by rarsa »

iansl2000 wrote: I had to change the line
ap_scan=2
to
ap_scan=1
in the wpa_supplicant.conf
Well, I followed up on your report and found that the wizard is setting the ap_scan=2 regardless of the user's selection.

I will fix it on version 2.14-9 tomorrow (I have a cold and I'm going to bed early)

Thanks you.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
iansl2000
Posts: 34
Joined: Thu 23 Mar 2006, 00:18
Location: UK

#7 Post by iansl2000 »

Rarsa,
More than happy to help in testing the wizard, I'll watch out for the next version.
Ian

Post Reply