LinuxQuestions.org
Visit Jeremy's Blog.
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 02-12-2007, 09:27 PM   #1
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Rep: Reputation: 15
Unable to get IP Address with ipw2200 and wpa_supplicant


Running Slackware 11, with the Intel 2915 chipset, and I can't seem to get my laptop to connect to my WPA-enabled network. When I run "wpa_supplicant -ieth1 -Dwext -c /etc/wpa_supplicant -dd -B", everything appears to be ok, but I can't connect. It just hangs on dhcpcd eth1 for a few minutes. I can connect to my network with dhcpcd with ethernet, and encryption turned off, but WPA doesn't want to work.

Code:
bash-3.1# wpa_supplicant -ieth1 -Dwext -c /etc/wpa_supplicant.conf -dd -B
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=10):
     47 6f 74 20 53 6c 61 63 6b 3f                     Got Slack?      
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Got Slack?'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:12:f0:c8:17:ae
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
Daemonize..
 
Old 02-13-2007, 04:08 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Perhaps because of the '?' character in the SSID?
Try not to send wpa_supplicant into the background by removing the '-B' from your commandline, perhaps you'll find out some more by watching wpa_supplicant's actions after it finds the eth1 interface and starts doing it's work.

Eric
 
Old 02-14-2007, 10:15 AM   #3
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Original Poster
Rep: Reputation: 15
Ok, I'm using a custom kernel configuration that someone posted online who has the same laptop model as me (ThinkPad R52), and as it turns out, he didn't enable IEEE80211_CRYPT_TKIP, and IEEE80211_CRYPT_CCMP support into the kernel. I recompiled the kernel with support for WPA, and now it works fine. And for anyone else that has a ThinkPad R52, here's a really great kernel configuration file that is very clean and trimmed down. Only 1.4 MB after compiled. Just remember to enable those drivers in the kernel if you use WPA!

http://perticone.homelinux.net/sergio/thinkpad/
http://perticone.homelinux.net/sergi.../config-2.6.18

Oh, one more thing. There is a SlackBuild for the latest version of wpa_supplicant available here:

http://www.slackware.com/~alien/slac...pa_supplicant/

Last edited by Crushing Belial; 02-14-2007 at 10:28 AM.
 
  


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
Could not make wpa_supplicant work with ipw2200 crisostomo_enrico Slackware 1 11-03-2006 06:03 PM
Flaky connection using ipw2200 and wpa_supplicant arobinson74 Linux - Wireless Networking 1 06-01-2006 02:38 PM
ipw2200 with wpa_supplicant gloomrider Linux - Wireless Networking 4 05-25-2006 11:43 PM
IPW2200 and wpa_supplicant -=Graz=- Slackware 7 05-09-2006 06:55 AM
wpa_supplicant w/ ipw2200 the-sloth Linux - Wireless Networking 1 11-29-2005 12:49 AM

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

All times are GMT -5. The time now is 10:52 AM.

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