LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2008, 04:24 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
ipw2200 refuses to connect with wpa encryption


After much googling I can't make any headway with this. If I change my router to use unsecured network I can connect with wicd easily, but using wep or wpa fails.

Running wpa_supplicant in a terminal produces:
Code:
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf               
Trying to associate with 00:1e:2a:00:b6:8c (SSID='DarkStar' freq=2462 MHz)
Associated with 00:1e:2a:00:b6:8c
ioctl[SIOCSIWENCODEEXT]: Invalid argument
WPA: Failed to set PTK to the driver.
ioctl[SIOCSIWENCODEEXT]: Invalid argument
WPA: Failed to set GTK to the driver.
RSN: Failed to configure GTK
Authentication with 00:1e:2a:00:b6:8c timed out.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Any ideas? I'm almost thinking of pluging in the atheros card from my other laptop, but that will be a pity since this T42 has a built in card.

Also, I followed this page http://gentoo-wiki.com/HARDWARE_ipw2200 and made sure that my kernel had the right crypto support etc

Last edited by dive; 09-22-2008 at 04:27 PM.
 
Old 09-22-2008, 04:47 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by dive View Post
After much googling I can't make any headway with this. If I change my router to use unsecured network I can connect with wicd easily, but using wep or wpa fails.
Why should that not fail?
 
Old 09-22-2008, 07:38 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Eh? I mean I set router with wpa psk and set laptop likewise and it will not connect.
wpa_supplicant says authentication timed out.
 
Old 09-22-2008, 08:03 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Please forgive me -- I misread your post.

Have a read of Configuring your network in Slackware by Alien Bob.
I really can't add anything to that excellent write up, and he is the guy
who maintains those scripts for Slackware.

It seems there are some different suggestions for configuring a network in
Slackware. However, I've always just used /etc/rc.d/rc.inet1.conf in our LAN
on 8 boxen, with customer's comps, and not touched /etc/rc.d/rc.wireless.conf
and never have problems. (I do use /etc/wpa_supplicant.conf)

I know that to use wicd you should not have anything set in those two files,
or it won't work properly.
 
Old 09-22-2008, 10:26 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Yes I have read Alien Bob's page. The problem seems to be the same that auth times out. Setting a timeout of 30 secs makes no difference.
 
Old 09-23-2008, 02:45 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Only three things that might be worth checking:
  • Is there not supposed to be a space after the "-c" switch"
    Code:
    wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf
    in your command here, i.e.:
    Code:
    wpa_supplicant -Dwext -ieth1 -c /etc/wpa_supplicant.conf
  • When you use wicd, are you entering the "passphrase" you used to create
    your WPA-PSK, or are you entering the actual key?
 
Old 09-23-2008, 10:51 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Bruce Hill View Post
Only three things that might be worth checking:
  • Is there not supposed to be a space after the "-c" switch"
    Code:
    wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf
    in your command here, i.e.:
    Code:
    wpa_supplicant -Dwext -ieth1 -c /etc/wpa_supplicant.conf
  • When you use wicd, are you entering the "passphrase" you used to create
    your WPA-PSK, or are you entering the actual key?
wpa_supplicant doesn't really care about the space or not. I have tried using passphrase and key. According to that page there are some stability issues with some things to try out. Have to say though that it worked fine in win xp before I wiped the hdd.
 
Old 09-23-2008, 11:16 AM   #8
El Nigromante
Member
 
Registered: Aug 2008
Distribution: Slackware 12.2, Slackware 13.0
Posts: 40

Rep: Reputation: 17
Stupid question:

Have you configured /etc/wpa_supplicant.conf ?

You must edit 3 files:

/etc/rc.d/rc.inet1.conf

Just set WLAN_WPA[i]="wpa_supplicant", in addition to conventional link options (dhcp options, etc.)

/etc/rc.d/rc.wireless.conf

Just set the initial INFO and ESSID options, with a description and your router's ESSID.

/etc/wpa_supplicant.conf

Use default settings:

Code:
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=0
  ssid="ESSID"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="WPA-PSK KEY"
}
Be careful with the psk option here. If you enter your raw (not encoded) key, you must add quotes (I guess).

Also, if you use hidden ESSID, you must set scan_ssid=1 .
 
Old 09-23-2008, 01:08 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thanks for replies. Yes I had set all those.It turned out that the kernel ieee80211 and ipw2200 drivers included with the kernel are missing many features, and some settings needed for encryption cannot be set in the driver.

I solved this by installing the ieee80211 and ipw2200 drivers from sourceforge.net.

Seems ok so far.

http://ipw2200.sourceforge.net/

http://ieee80211.sourceforge.net/
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb network adapter with ndiswrapper can't connect to wpa with wpa-supplicant AceofSpades19 Linux - Wireless Networking 8 03-30-2008 05:13 PM
WPA on ipw2200 on Slack 10.2 brooky9999 Slackware 21 03-22-2007 12:56 PM
[ipw2200 & WPA] Need help to connect to WPA enabled router. Hyakutake Slackware 2 03-02-2007 09:58 AM
wpa problems with ipw2200 inhalentbroom Slackware 1 12-04-2005 12:08 PM
WPA & ipw2200 havelino Linux - Wireless Networking 5 03-26-2005 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration