View previous topic :: View next topic |
Author |
Message |
homry Tux's lil' helper

Joined: 01 Apr 2005 Posts: 146 Location: Karlsruhe, Germany
|
Posted: Sat Dec 30, 2006 7:15 pm Post subject: wpa_supplicant, no error, no connection |
|
|
hi there,
i have a problem with my connection to my local router. i emerged wpa_supplicant and switch the router to wpa. i had a connction at first, switch back to WEP for a sec just to modify something on the router. switched back to wpa and nothing works anymore. a windows machine has a wonderful connection with wpa to that router. my problem is that i do not get information from the output to solve this problem. i will try to give you all the info i can get and maybe someone can help me.
my /etc/wpa_supplicant/wpa_supplicant.conf:
Code: | network={
ssid="homenet"
scan_ssid=1
key_mgmt=WPA-PSK IEEE8021X NONE
auth_alg=OPEN SHARED
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="keyword"
eap=TTLS PEAP TLS
}
|
my /etc/conf.d/net:
Code: | modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-dd -Dwext"
wpa_timeout_eth1=10
config_eth1=("dhcp")
dhcpcd_eth1="-t 10 -R -N"
|
and the console output: Code: | * Starting eth1
* Loading networking modules for eth1
* modules: apipa arping ccwgroup macchanger macnet rename wpa_supplicant essidnet iptunnel iproute2 system dhcpcd ip6to4
* wpa_supplicant provides wireless
* iproute2 provides interface
* dhcpcd provides dhcp
* Configuring eth1 for MAC address 00:12:F0:0B:88:C0 ... [ ok ]
* Starting wpa_supplicant on eth1 ...
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 398 - start of a new network block
ssid - hexdump_ascii(len=6):
38 21 4e 4g 75 54 homenet
scan_ssid=1 (0x1)
key_mgmt: 0xe
auth_alg: 0x3
pairwise: 0x18
group: 0x1e
PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED]
eap methods - hexdump(len=32): 00 00 00 00 15 00 00 00 00 00 00 00 19 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='homenet'
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:0b:88:c0
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.. [ ok ]
* Starting wpa_cli on eth1 ... [ ok ]
* Waiting for association [ ok ]
* Backgrounding ...
|
homry
[/code] _________________ IBM ThinkPad R51 |
|
Back to top |
|
 |
wynn Advocate


Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sat Dec 30, 2006 8:26 pm Post subject: |
|
|
Have you tried one of the simpler examples from /usr/share/doc/wpa_supplicant-0.5.4/wpa_supplicant.conf.example.gz: for example Code: | # Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid="simple"
psk="very secret passphrase"
} | or Code: | # Same as previous, but request SSID-specific scanning (for APs that reject
# broadcast SSID)
network={
ssid="second ssid"
scan_ssid=1
psk="very secret passphrase"
} | It seems to be getting into trouble with EAPOL, perhaps something simpler will work. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
 |
madisonicus Veteran


Joined: 20 Sep 2006 Posts: 1130
|
Posted: Sat Dec 30, 2006 8:58 pm Post subject: |
|
|
What does wpa_cli show while it's trying to connect? Do the logs on your wireless AP show actual connection attempts? What hardware are you using? Have you tried killing all the wpa_supplicant processes, rmmoding the wireless card modules, and then modprobing and restarting wpa_supplicant? _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
 |
homry Tux's lil' helper

Joined: 01 Apr 2005 Posts: 146 Location: Karlsruhe, Germany
|
Posted: Sat Dec 30, 2006 11:10 pm Post subject: |
|
|
for some reason the simpler config wynn suggested worked out well, although the output concerning EAPOL remained the same. strange.
homry _________________ IBM ThinkPad R51 |
|
Back to top |
|
 |
madisonicus Veteran


Joined: 20 Sep 2006 Posts: 1130
|
Posted: Sat Dec 30, 2006 11:16 pm Post subject: |
|
|
Myh understanding is that EAPOL has to be disabled until after the encryption has been negotiated correctly. So when connecting to an encrypted wifi network, wpa_supplicant will temporarily disable EAPOL and then re-enable it following negotiation of the encryption.
Glad you got it working. =) _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
 |
|