| Author |
Message |
iansl2000

Joined: 22 Mar 2006 Posts: 35 Location: UK
|
Posted: Sun 11 Feb 2007, 18:54 Post subject:
WPA problems with DWL-G650+ PCMCIA card (ACX111 cp) (SOLVED) |
|
Last edited by iansl2000 on Tue 13 Feb 2007, 19:07; edited 1 time in total
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4950 Location: Australia
|
Posted: Mon 12 Feb 2007, 04:30 Post subject:
|
|
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/
|
|
Back to top
|
|
 |
iansl2000

Joined: 22 Mar 2006 Posts: 35 Location: UK
|
Posted: Tue 13 Feb 2007, 19:02 Post subject:
|
|
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
|
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Tue 13 Feb 2007, 20:42 Post subject:
|
|
| 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.
_________________ http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
|
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Tue 13 Feb 2007, 20:51 Post subject:
|
|
| 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: | | /usr/sbin/wpa_connect.sh wlan0 wext |
A file "/etc/wlan0mode" whith these lines | Code: | 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.
_________________ http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
|
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Wed 14 Feb 2007, 00:21 Post subject:
|
|
| 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.
_________________ http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
|
|
Back to top
|
|
 |
iansl2000

Joined: 22 Mar 2006 Posts: 35 Location: UK
|
Posted: Thu 15 Feb 2007, 06:56 Post subject:
|
|
Rarsa,
More than happy to help in testing the wizard, I'll watch out for the next version.
Ian
|
|
Back to top
|
|
 |
|