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_supplicant troubles on Debian Etch

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 09-04-2008   #1 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 4
wpa_supplicant troubles on Debian Etch

Hi all, I have ti set up a wi-fi connection on my Debian Etch 4.0 r3. I have a D-Link DWL-G122 H/W Ver.: C1 F/W Ver.: 3.00 usb pen drive.
I had looked around and I had installed the rt73 driver found here: http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page.

It works fine, but without encritpion.
For my wireless connection I use WPA-PSK with TKIP encription, so I had installed the wpa_supplicant package, btu when I try to access to my LAN it gives to me some errors like these:

rt73: driver version - 1.0.3.6 CVS
rt73: using net dev supplied MAC addr
rt73: Active MAC addr: [...]
rt73 Local MAC = [...]
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
CTRL-EVENT-TERMINATING - signal 2 received
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
rt73: closed


My /etc/wpa_supplicant.conf is:

network={
ssid="My LAN ID"
#psk="My key"
psk=[...]
}


My /etc/network/interfaces is:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#auto eth0
#iface eth0 inet static
#address 192.168.0.101
#netmask 255.255.255.0
#gateway 192.168.0.100

#allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.0.151
netmask 255.255.255.0
gateway 192.168.0.100
#wireless-essid MyID
#wireless-mode managed
#wireless-channel 7
#wpa-proto WPA-PSK
#wpa-driver wext
#wpa-conf /etc/wpa_supplicant.conf
#wpa-key-mgmt WPA-PSK
#wpa-psk [...]


I had tried a lot of configurations, but no one works.
Have you some suggestion to give to me? What are these errors? And what can I do?

I followed this guide:

http://www.enterprisenetworkingplanet.com/netsecur/article.php/3594946

Thanks you a lot for any suggest.
Michele.B26 is offline  


Reply With Quote
Old 09-11-2008   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Instead of using wpa_supplicant for WPA connections, use the NetworkManager. It should be located in the system tray, if it is installed and running.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 09-11-2008   #3 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 4
Ehm... I've forgotten to tell that I'm running my Debian in text mode, I haven't installed xorg, this because I use it only for file server and it have old hardware. I'm configuring all by hand with mc and nano.

Thank you anyway
Michele.B26 is offline   Reply With Quote
Old 09-12-2008   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
OK, I still have my wpa_supplicant.conf file from when I needed it, so this is what it looks like:
Code:
# WPA AES encryption
    ctrl_interface=/var/run/wpa_supplicant
    network={
        ssid="YourLan ID"
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk="123456passkey"
        priority=2
    }
For the ssid you need to put the name of your lan connection. For the psk I had the password that I used, in human readable words. I made sure that my passkey was thirteen digits, as this seems to be important. So a passkey like "123456passkey" is thirteen digits, if you get what I mean. I think that this is important for wpa encryption.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 09-16-2008   #5 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 4
nothing, it doesn't work. I'll try with a newer kernel.

Thank you anyway
Michele.B26 is offline   Reply With Quote
Old 09-16-2008   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
It looks from your config file that you have the line for managed mode commented out. Try setting it to managed mode, with this command:
Code:
 iwconfig wlan0 mode managed
Then check it using iwconfig without any options:
Code:
iwconfig
You may need to first disable/enable it after making changes:
Code:
ifdown wlan0
ifup wlan0
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 09-20-2008   #7 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 4
rien de rien, nada de nada, niente di niente, absolutely nothing, absolut nichts. It doesn't want to works. As I have just told I'll wait for the new kernel, I'll try with Lenny when it will be stable.

Thank you
Michele.B26 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 12:12 PM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2