Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > WPA key ?

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-05-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 16
WPA key ?

hi

I'm having trouble with my Wireless connection

I have a router [ Speedtouch 585 ]

and I secure my wireless interface with WPA key

The problem is I cannot connect to my router with WPA key

My chip Is [ Intel® PRO/Wireless 3945ABG ]

I try to remove the WPA key and its work Fine

but I don't want to make my router Public


any idea

and by the way

I use [ Wireless Assistant 0.5.7 ]
and if i want to connect to my router it give me this error

Code:
==>stderr: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Using wpa_supplicant driver: ipw
WPA client started. Waiting for status...
CONNECTION FAILED.
disconnect: /sbin/iwconfig eth1 mode managed key off ap off essid off
Please help me
Natty Dreed is offline  


Reply With Quote
Old 10-06-2007   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
It looks like wpa_supplicant is not configured correctly. Or maybe it isn't even installed?
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-06-2007   #3 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 16
Yeah its not installed

cuz I have problem with [ .config ] File

I don't how to config it with my chip [ ipw3945 ]

could you give me some basic ?

and thank you for reply
Natty Dreed is offline   Reply With Quote
Old 10-06-2007   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
There are config file examples in the folder /usr/share/doc/packages/wpa_supplicant/examples. Here's one for WPA-PSK-TKIP.
Code:
# WPA-PSK/TKIP

ctrl_interface=/var/run/wpa_supplicant

network={
    ssid="example wpa-psk network"
    key_mgmt=WPA-PSK
    proto=WPA
    pairwise=TKIP
    group=TKIP
    psk="secret passphrase"
}
You need to change the "example wpa-psk network" and "secret passphrase" to your specific settings, keep the quotation marks around those entries.
There are other examples in the wpa_supplicant.conf file in /usr/share/doc/packages/wpa_supplicant/.

Put your file in /etc/wpa_supplicant.conf. When you run wpa_supplicant, point it to that file.
Code:
 wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf
Here is a link to your drivers page:
Intel® PRO/Wireless 3945ABG Driver for Linux
It says that you need the latest version of wpa_supplicant for it to work.

There also is the wpa_gui that comes with wpa_supplicant. Type that into a terminal to bring it up.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-06-2007   #5 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 16
Yeah I read it

and I want to install WPA_Sublicant

but every time I want to install it I have problem with [ Make ]

cuz My [ .config ] File is not Right

I don't know how to make it right

any one have it ?

or basic how i do it
Natty Dreed is offline   Reply With Quote
Old 10-06-2007   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
The exact error that you are getting would be helpful. Try the make command again, this time with debugging enabled:
Code:
# make -d
Copy and post the errors that it gives you.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-06-2007   #7 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
I had to download and try it myself before I realized what it was you needed. There is a sample config file, named defconfig. Open it up in a text editor and find the line for your driver, and uncomment it.

Change this:
Code:
# Driver interface for Intel ipw2100/2200 driver
#CONFIG_DRIVER_IPW=y
To this:
Code:
# Driver interface for Intel ipw2100/2200 driver
CONFIG_DRIVER_IPW=y
Check the file out to see if there are any other things that you may want to enable or disable. Then save it as .conf (with the "dot" in front).
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-06-2007   #8 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 16
I will try it now

thanks
Natty Dreed is offline   Reply With Quote
Old 10-06-2007   #9 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 16
Install done

thanks to god then you

But when I run this command

Code:
wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf
Give me this error

Code:
Trying to associate with 00:14:7f:11:ac:a7 (SSID='NattyDreed' freq=2412 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Authentication with 00:00:00:00:00:00 timed out.
What wrong ?

and also I cannot connect ;(
Natty Dreed is offline   Reply With Quote
Old 10-06-2007   #10 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Checking around for similar errors, I found some that say to use the wext driver in configuring wpa_supplicant. Try this:
Code:
# wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf -w -dd
Also, make sure that eth1 is actually the correct card:
Code:
# iwconfig
And that your wpa_supplicant.conf file is correct.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:50 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2