Sie sind nicht angemeldet.

1

Montag, 25. Januar 2010, 01:17

Verbindung mit wpa nicht möglich

Hallo Leute

Habe heute vergeblich versucht mit wpa supplicant online zu gehen. Leider immer ohne Erfolg. Hier meine Wlankarte.

Quellcode

1
2
3
4
5
6
7
8
9
wlan0 IEEE 802.11bg  ESSID:""
      Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
      Tx-Power=20 dBm
      Retry  long limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Management:off
      Link Quality:0  Signal level:0  Noise level:0
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Wenn ich scanne findet er auch ein Netzwerk an:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
iwlist wlan0 scan
wlan0 Scan completed :
      Cell 01 - Address: 00:1E:E5:45:94:9E
                Channel:11
                Frequency:2.462 GHz (Channel 11)
                Quality=38/70  Signal level=-72 dBm
                Encryption key:on
                ESSID:"supertux-network"
                Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                          24 Mb/s; 36 Mb/s; 54 Mb/s
                Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                Mode:Master
                Extra:tsf=0000027ae1394183
                Extra: Last beacon: 325ms ago
                IE: Unknown: 00106461726B776F6C662D6E6574776F726B
                IE: Unknown: 010882848B962430486C
                IE: Unknown: 03010B
                IE: Unknown: 2A0100
                IE: Unknown: 2F0100
                IE: IEEE 802.11i/WPA2 Version 1
                    Group Cipher : TKIP
                    Pairwise Ciphers (2) : CCMP TKIP
                    Authentication Suites (1) : PSK
                IE: Unknown: 32040C121860
                IE: Unknown: DD09001018020017000000


So, wenn ich wpa mal per Hand anstoße:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
wpa_supplicant -ddW -Dmadwifi  -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
 Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'madwifi' 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'
 Line: 21 - start of a new network block
 ssid - hexdump_ascii(len=16):
  	64 61 72 6b 77 6f 6c 66 2d 6e 65 74 77 6f 72 6b supertux-network
 PSK - hexdump(len=32): [REMOVED]
 key_mgmt: 0x2
 proto: 0x2
 pairwise: 0x10
 group: 0x10
 Priority group 0
    id=0 ssid='supertux-network'
 Initializing interface (2) 'wlan0'
 Interface wlan0 set UP - waiting a second for the driver to complete initialization
 SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
   capabilities: key_mgmt 0xf enc 0xf flags 0x0
 WEXT: Operstate: linkmode=1, operstate=5
 ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
 wpa_driver_madwifi_init: failed to set wpa_supplicant-based roaming
 WEXT: Operstate: linkmode=0, operstate=6
 Failed to initialize driver interface
 Failed to add interface wlan0
 Cancelling scan request
 Cancelling authentication timeout

Meine /etc/conf.d/net

Quellcode

1
2
3
4
5
6
7
config_eth0=( "192.168.3.132/24" )
routes_eth0=( "default via 192.168.3.147" )

modules=( "wpa_supplicant" "!iwconfig" )
wpa_supplicant_wlan0="-Dmadwifi"
config_wlan0=( "dhcp" )
#associate_timeout_wlan0=300


Und meine /etc/wpa_supplicant/wpa_supplicant.conf

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
#fast_reauth=1
#eapol_version=1

network={
    ssid="supertux-network"
    scan_ssid=1
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    group=CCMP TKIP WEP104 WEP40
    psk=mein_Schluessel
    priority=5
}


Wenn ich nun ein /etc/init.d/net.wlan0 start eingebe,

Quellcode

1
2
3
4
5
* Caching service dependencies ...                                                           [ ok ]
 * Starting wlan0
 *   Starting wpa_supplicant on wlan0 ...
ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
Failed to initialize driver interface 



Vielen Dank schon mal für eure Hilfe.
lg
boospy
Desto mehr Wissen man bekommt, desto mehr wird einem klar das man kein Wissen hat.
>>>> boospy@jabber.ccc.de <<<<

Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »boospy« (25. Januar 2010, 23:34)


2

Montag, 25. Januar 2010, 12:50

Nutzt Du wirklich den Madwifi-Treiber? Versuche es mal mit dem generischen, also "-Dwext".
Es gibt immer einen noch größeren Fisch im großen Meer der Klugscheißerei.(http://german-bash.de/304094) usw. | ~ # echo -e \\07

3

Montag, 25. Januar 2010, 14:28

kleiner Tipp noch:

Quellcode

1
2
3
4
5
6
7
8
9
10
network={
    ssid="supertux-network"
    scan_ssid=1
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    group=CCMP TKIP WEP104 WEP40
    psk=mein_Schluessel
    priority=5
}

Du brauchst diese ganzen Zeilen eigentlich nicht mehr. wpa_supplicant holt das alles durch das scannen.
Zwei Zeilen reichen vollkommen, wenn du willst kannst du die Prioritiy noch vergeben.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
ctrl_interface=/var/run/wpa_supplicant
fast_reauth=1
ctrl_interface_group=users
update_config=1
ap_scan=1

network={
        ssid="Wlan"
        psk="*********"
        priority=3
        }


Ein lspci um nach dem chipsatz zu schauen müsste dir einen Wink geben, welchen Treiber du verwenden solltest. Kannst du ja auch gerne mal posten. Vielleicht klappt es ja auch einfach mit -Dwext. Bin da eigentlich Bells Meinung.

4

Montag, 25. Januar 2010, 23:33

Hallo Leute

Vielen Dank für eure Antworten. Habs hinbekommen. Tatsächlich funktionierte die Karte problemlos mit dem standart Treiber. Ist aber ne Atheroskarte ..kopfkratz. Naja, egal. In der Konfigurationsdatei von WPA hab ich dann auch alles auskommentiert bis auf die Passphrase und die SSID. Dann hat es sofort funktioniert.

Danke und
lg boospy
Desto mehr Wissen man bekommt, desto mehr wird einem klar das man kein Wissen hat.
>>>> boospy@jabber.ccc.de <<<<