Hi ich habe folgendes Problem. Wenn ich mich mit meinem Notebook an meinem Linux Server per WLAN anmelde gehen keine Pings durch.
So ist die Konfiguration:
eth0 geht zum Router
br0 (umfasst 4 Netzwerkkarten)
192.168.2.1
ath0 (WLAN)
192.168.2.2
Wenn ich per lan kabel einen Rechner anschließe geht alles ohne probleme
Auf dem Linux Server läuft ein DHCP-Server
Wenn ich mich per WLAN anmelde bekomme ich auch eine IP vom DHCP nur leider gehen keine PINGs durch?
hat jemand eine Idee woran es liegen kann.
Problem mit WLAN und Netzwerk brücken
Re: Problem mit WLAN und Netzwerk brücken
also habe jetzt noch einiges herrausgefunden es liegt anscheint an dem Programm Hostapd. Sobal ich das starte funktioniert es nicht mehr hier mal die hostapd.conf
Hier was kommt wenn ich hostapd im debugmodus starte:
Und was kommt wenn ich mich mit meinem Notebook anmelde.
Als Treiber Paket und Hostapd Paket verwende ich die von Debian zuverfügung gestellten
Code: Alles auswählen
#WLAN-Interface
interface=ath0
#verwendeter Treiber
driver=madwifi
#Logging-Optionen
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
#Weitere Standardeinstellungen
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
#Meine WLAN-SSID
ssid=meinwlan
#Keine Filterung von MAC-Adressen - leicht zu umgehen
macaddr_acl=0
#Shared Key Authentifizierung
auth_algs=2
#Standardeinstellungen
eap_authenticator=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
#WPA und WPA2 erlauben
wpa=3
#Der Pre Shared Key
wpa_passphrase=1234567890
#Pre Shared Keys, kein EAP
wpa_key_mgmt=WPA-PSK
#CCMP/AES verwenden, kein TKIP
wpa_pairwise=CCMP
Code: Alles auswählen
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Line 22: obsolete eap_authenticator used; this has been renamed to eap_server
madwifi_set_iface_flags: dev_up=0
madwifi_set_privacy: enabled=0
Using interface ath0 with hwaddr 00:09:5b:c9:70:e8 and ssid 'meinwlan'
SSID - hexdump_ascii(len=8):
6d 65 69 6e 77 6c 61 6e meinwlan
PSK (ASCII passphrase) - hexdump_ascii(len=10):
31 32 33 34 35 36 37 38 39 30 1234567890
PSK (from passphrase) - hexdump(len=32): db 6e 9a f8 03 95 d3 d0 22 48 54 d0 b3 20 f1 04 68 bc 49 24 d1 04 78 dc cd 96 65 80 32 ae 49 e7
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=3
madwifi_configure_wpa: pairwise key ciphers=0x8
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA=0x3
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=CCMP addr=00:00:00:00:00:00 key_idx=1
madwifi_set_privacy: enabled=1
SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf
ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Could not connect to kernel driver.
Deauthenticate all stations
madwifi_set_iface_flags: dev_up=1
l2_packet_receive - recvfrom: Network is down
Code: Alles auswählen
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:14:bf:3d:c3:54 IEEE 802.11: associated
New STA
ath0: STA 00:14:bf:3d:c3:54 WPA: event 1 notification
madwifi_del_key: addr=00:14:bf:3d:c3:54 key_idx=0
ath0: STA 00:14:bf:3d:c3:54 WPA: start authentication
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:14:bf:3d:c3:54 key_idx=0
madwifi_set_sta_authorized: addr=00:14:bf:3d:c3:54 authorized=0
ath0: STA 00:14:bf:3d:c3:54 IEEE 802.1X: unauthorizing port
WPA: 00:14:bf:3d:c3:54 WPA_PTK_GROUP entering state IDLE
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state AUTHENTICATION
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state AUTHENTICATION2
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state INITPSK
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state PTKSTART
ath0: STA 00:14:bf:3d:c3:54 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 14 bf 3d c3 54 00 09 5b c9 70 e8 88 8e 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 cd f5 af 69 cc e8 16 94 59 8e 40 21 dc c7 77 c7 39 b2 f9 1a 27 77 e3 03 da 5d 62 e8 e6 58 bc 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IEEE 802.1X: 121 bytes from 00:14:bf:3d:c3:54
IEEE 802.1X: version=1 type=3 length=117
ath0: STA 00:14:bf:3d:c3:54 WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): [REMOVED]
PTK - hexdump(len=64): [REMOVED]
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state PTKINITNEGOTIATING
madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1
ath0: STA 00:14:bf:3d:c3:54 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=1 mic=1 ack=1 install=1 pairwise=8 ie_len=46 gtk_len=16 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=80): [REMOVED]
TX EAPOL - hexdump(len=193): 00 14 bf 3d c3 54 00 09 5b c9 70 e8 88 8e 02 03 00 af 02 13 ca 00 10 00 00 00 00 00 00 00 02 cd f5 af 69 cc e8 16 94 59 8e 40 21 dc c7 77 c7 39 b2 f9 1a 27 77 e3 03 da 5d 62 e8 e6 58 bc 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd ff ae 3b 5a c3 e9 16 2a 23 5d 3d 02 12 b9 fe 00 50 36 51 89 90 fe 77 3a 98 ee cc 78 18 04 ee 4d 47 b0 74 9d 74 6e 15 98 02 10 94 4b d9 49 36 63 2b c4 fc 07 6e c4 de 16 3f e9 b1 76 34 74 83 34 44 2b be 65 44 80 fc 37 44 6d 72 e7 9e 98 e1 f3 17 47 ed 79 5d c1 1f 88 f2 00 a7 ca e1 29 51 af 54
IEEE 802.1X: 99 bytes from 00:14:bf:3d:c3:54
IEEE 802.1X: version=1 type=3 length=95
ath0: STA 00:14:bf:3d:c3:54 WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: 00:14:bf:3d:c3:54 WPA_PTK entering state PTKINITDONE
madwifi_set_key: alg=CCMP addr=00:14:bf:3d:c3:54 key_idx=0
madwifi_set_sta_authorized: addr=00:14:bf:3d:c3:54 authorized=1
ath0: STA 00:14:bf:3d:c3:54 IEEE 802.1X: authorizing port
madwifi_sta_clear_stats: addr=00:14:bf:3d:c3:54
ath0: STA 00:14:bf:3d:c3:54 WPA: pairwise key handshake completed (RSN)
Re: Problem mit WLAN und Netzwerk brücken
okay habe es hinbeommen mit den neusten Madwifi Treiber und mit dem neusten Hostapd schein ein problem im Debian paket zu sein.
Dah ich mich ja hier allein unterhalten habe (ist nicht böse gemeind) könnt ihr von mir aus auch das Thema wieder aus dem Forum löschen.
Dah ich mich ja hier allein unterhalten habe (ist nicht böse gemeind) könnt ihr von mir aus auch das Thema wieder aus dem Forum löschen.
Re: Problem mit WLAN und Netzwerk brücken
Achso vieleich kann mir ja jemand folgende Fehlermeldungen erklären. Die Fehler scheinen sich aber nicht auf die funktion auszuwirken da ja alles soweit funktioniert.
Code: Alles auswählen
ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)
Could not connect to kernel driver.
Deauthenticate all stations