Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Sep 2014, 22:33
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
WPA problems with DWL-G650+ PCMCIA card (ACX111 cp) (SOLVED)
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
iansl2000


Joined: 22 Mar 2006
Posts: 35
Location: UK

PostPosted: Sun 11 Feb 2007, 18:54    Post_subject:  WPA problems with DWL-G650+ PCMCIA card (ACX111 cp) (SOLVED)  


Edited_time_total
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5259
Location: Australia

PostPosted: 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
View user's profile Send_private_message 
iansl2000


Joined: 22 Mar 2006
Posts: 35
Location: UK

PostPosted: 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
View user's profile Send_private_message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: 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
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: 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
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: 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
View user's profile Send_private_message Visit_website 
iansl2000


Joined: 22 Mar 2006
Posts: 35
Location: UK

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0879s ][ Queries: 12 (0.0140s) ][ GZIP on ]