View previous topic :: View next topic |
Author |
Message |
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed May 18, 2005 4:00 pm Post subject: madwifi-driver + wpa_supplicant |
|
|
Hallo zusammen,
ich bin jetzt schon ne ganze Zeit am tüfteln, um mein WLAN mit WPA-PSK TKIP Verschlüsselung
mit gentoo zum laufen zu bekommen.
Habe folgendes bereits gemacht:
-madwifi-driver und tools installiert
-wpa_supplicant installiert und default runlevel hinzugefügt.
-einen Symlink von net.ath0 nach net.eth0
-net.ath0 default runlevel zugefügt
Kann mir einer mal sagen, was ich in die verschiedenen Configs reinpacken muss, damit ich das zum laufen bekomme.
Die Karte wird wohl erkannt, blinkt immer abwechelnd, was ja bedeutet, das er scannt. Ohne Verschlüsselung ging es auch schonmal, aber nicht mit WPA
Aber irgendwas haut da noch nicht richtig hin.
WG511T Karte. Vielleicht hat es ja schon wer genauso, aber funktionsfähig.
Schönen Dank schonmal
Deejay _________________
|
|
Back to top |
|
|
Diskus Tux's lil' helper
Joined: 20 Apr 2005 Posts: 131
|
Posted: Wed May 18, 2005 4:43 pm Post subject: |
|
|
Hallo,
1.hast du die Datei wpa_supplicant.conf in "/etc/" erstellt?siehe readme bzw. wpa_supplicant.conf.example-alle Module des madwifi-Treibers laden
2./etc/conf.d/wpa_supplicant bearbeiten-Interfaces="ath0";ARGS="-w";ARGS_ath0="-Dmadwifi"3
3./etc/conf.d/net/ - Netzwerk einrichten feste IP oder DHCP usw.
4.net.ath0 in Bootsequenz(rc-update add net.ath0 .......) evt. "ifconfig eth0 down" falls die "normale " Karte stört(der BEfehl kann bei Bedarf auch in das startscript mit reingeschrieben werden.
Fertig.
So funktionieret es bei mir super.
PS:für was sind die madwifi tools?
Diskus |
|
Back to top |
|
|
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed May 18, 2005 5:42 pm Post subject: |
|
|
ja, habe net.ath0 default zugefügt,
wpa_supplicant.conf ist auch da ...
die Treiber habe ich in /etc/conf.d/wpa_supplicant auch eingetragen ...
Aber ich bekomme wiegesagt keine Verbindung zum Router ...
Da stimmt irgendwas nicht ...
Vielleicht ist meine wpa_supplicant.conf auch falsch für WPA verschlüsselung.
Kann mir vielleicht einer sein config posten??
Bekomme ab und zu auch mal die Meldung "Failed to initialize EAPOLstate machines" _________________
|
|
Back to top |
|
|
Diskus Tux's lil' helper
Joined: 20 Apr 2005 Posts: 131
|
Posted: Wed May 18, 2005 5:52 pm Post subject: |
|
|
Hallo,
hier mal meine config
network={
ssid="xxxxxx"
psk="xxxxxxxxxxxxx"
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP TKIP
}
starte mal :
wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf -dd
und schau dir die Ausgabe an-was für Fehler kommen da?
Diskus |
|
Back to top |
|
|
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed May 18, 2005 5:59 pm Post subject: |
|
|
Failed to initialize EAPOLstate machines _________________
|
|
Back to top |
|
|
Diskus Tux's lil' helper
Joined: 20 Apr 2005 Posts: 131
|
Posted: Wed May 18, 2005 6:18 pm Post subject: |
|
|
Hallo,
das klingt für mich nach Treiberproblem.
kannst du scannen?: iwlist ath0 scan ?-"siehst du da denn AP?
Diskus |
|
Back to top |
|
|
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed May 18, 2005 6:20 pm Post subject: |
|
|
kann iwlist gar nicht ausführen, gibt es gar nicht _________________
|
|
Back to top |
|
|
Diskus Tux's lil' helper
Joined: 20 Apr 2005 Posts: 131
|
Posted: Wed May 18, 2005 6:24 pm Post subject: |
|
|
Hallo,
emerge wireless-tools
Diskus |
|
Back to top |
|
|
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed May 18, 2005 7:22 pm Post subject: |
|
|
so funktioniert jetzt ...
lag wohl and der Version von wpa_supplicant. mit der 0.3.8 funktioniert es ...
aber die Verbindung ist noch nicht ganz so stabil ...
Ich fliege ab und zu noch aus dem WLAN raus ... _________________
|
|
Back to top |
|
|
Diskus Tux's lil' helper
Joined: 20 Apr 2005 Posts: 131
|
Posted: Wed May 18, 2005 8:24 pm Post subject: |
|
|
Hallo,
die Sende und Empfangsleistung ist bei mir unter Windows(igitt) leider auch besser wir unter Linux -ist auf die "schlechten"-Treiber zurückzuführen und leider nicht änderbar.
Diskus |
|
Back to top |
|
|
|