[+] Pod

Masz problemy z siecią bądź internetem? Zapytaj tu
Krystian Kiermasz
Posty: 28
Rejestracja: 23 listopada 2011, 21:59
Lokalizacja: Bydgoszcz

[+] Podłączenie się do domowej sieci wifi zabezpieczonej hasłem WPA-psk

Post autor: Krystian Kiermasz »

Witam. Mam problem z podłączeniem się do domowej sieci wifi zabezpieczonej hasłem WPA-psk. Wiem, że ta usługa nie jest od razu uruchomiona w systemie - czytam już o tym od dłuższego czasu, jednak jak do tej pory wszystkie podpowiedzi skutkowały tym iż nawet LAN przestawał działać. Mój laptop to Toshiba A300-1EH z kartą PRO/Wireless 4965 AG or AGN (Kedron) Network Connection. W systemie zainstalowane mam:[INDENT]- sterownik iwl4965 - wireless-tools - wpasupplicant[/INDENT]
Polecenie

Kod: Zaznacz cały

 iwconfig
pokazuje mi

Kod: Zaznacz cały

root@debian:~# iwconfig  lo        no wireless extensions.  eth0      no wireless extensions.  wlan0     IEEE 802.11abgn  ESSID:"Krystian"             Mode:Managed  Frequency:2.437 GHz  Access Point: 00:12:17:4B:9C:F7              Bit Rate=1 Mb/s   Tx-Power=15 dBm              Retry  long limit:7   RTS thr :o ff   Fragment thr :o ff           Encryption key :o ff           Power Management :o ff           Link Quality=56/70  Signal level=-54 dBm             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0           Tx excessive retries:0  Invalid misc:2   Missed beacon:0 
Moja sieć jest widoczna, siła sygnału jest maksymalna, pyta się mnie o hasło WPA - jednak nie łączy się z siecią. Plik /etc/network/interfaces wygląda tak:

Kod: Zaznacz cały

# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).  # The loopback network interface auto lo iface lo inet loopback  # The primary network interface allow-hotplug eth0 #NetworkManager#iface eth0 inet dhcp 
Przy próbach zmian zapisu na chociażby te podane w temacie http://debian.linux.pl/threads/21505-In ... anie-i-WPA skutkują ogólnym brakiem dostępu do internetu.
Awatar użytkownika
lun
Beginner
Posty: 266
Rejestracja: 01 lutego 2010, 22:06
Lokalizacja: Warszawa

Post autor: lun »

Wpisz w konsoli jako root:

Kod: Zaznacz cały

tail -f /var/log/syslog
i spróbuj połączyć się z siecią WiFi. To co od tego momentu wyświetli się w konsoli wklej tutaj.
Krystian Kiermasz
Posty: 28
Rejestracja: 23 listopada 2011, 21:59
Lokalizacja: Bydgoszcz

Post autor: Krystian Kiermasz »

Kod: Zaznacz cały

Dec  7 09:49:35 debian kernel: [ 2211.616225] [UFW AUDIT] IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=77 TOS=0x00 PREC=0x00 TTL=64 ID=19152 DF PROTO=UDP SPT=56547 DPT=53 LEN=57 
Dec  7 09:49:35 debian kernel: [ 2211.616249] [UFW AUDIT] IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=77 TOS=0x00 PREC=0x00 TTL=64 ID=19152 DF PROTO=UDP SPT=56547 DPT=53 LEN=57 
Dec  7 09:49:35 debian kernel: [ 2211.616302] [UFW AUDIT] IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=77 TOS=0x00 PREC=0x00 TTL=64 ID=19152 DF PROTO=UDP SPT=41550 DPT=53 LEN=57 
Dec  7 09:49:46 debian kernel: [ 2222.443846] iwl4965 0000:03:00.0: RF_KILL bit toggled to enable radio.
Dec  7 09:49:46 debian NetworkManager[1149]: <info> WiFi now enabled by radio killswitch
Dec  7 09:49:46 debian NetworkManager[1149]: <info> (wlan0): bringing up device.
Dec  7 09:49:47 debian dbus[1139]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
Dec  7 09:49:47 debian kernel: [ 2222.685887] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec  7 09:49:47 debian dbus[1139]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Dec  7 09:49:47 debian NetworkManager[1149]: <info> wpa_supplicant started
Dec  7 09:49:47 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: starting -> ready
Dec  7 09:49:47 debian NetworkManager[1149]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Dec  7 09:49:47 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: ready -> inactive
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Auto-activating connection 'Auto Krystian'.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) starting connection 'Auto Krystian'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): preparing device.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0/wireless): access point 'Auto Krystian' has security, but secrets are required.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0/wireless): connection 'Auto Krystian' has security, and secrets exist.  No new secrets needed.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: added 'ssid' value 'Krystian'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: added 'scan_ssid' value '1'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: added 'bssid' value '00:12:17:4b:9c:f7'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: added 'psk' value '<omitted>'
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec  7 09:49:51 debian NetworkManager[1149]: <info> Config: set interface ap_scan to 1
Dec  7 09:49:51 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: inactive -> scanning
Dec  7 09:49:53 debian wpa_supplicant[4102]: Trying to authenticate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:49:53 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Dec  7 09:49:53 debian kernel: [ 2229.283689] wlan0: authenticate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:49:53 debian wpa_supplicant[4102]: Trying to associate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:49:53 debian kernel: [ 2229.285595] wlan0: authenticated
Dec  7 09:49:53 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec  7 09:49:53 debian kernel: [ 2229.305352] wlan0: associate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:49:53 debian kernel: [ 2229.308610] wlan0: RX AssocResp from 00:12:17:4b:9c:f7 (capab=0x431 status=0 aid=15)
Dec  7 09:49:53 debian kernel: [ 2229.308617] wlan0: associated
Dec  7 09:49:53 debian wpa_supplicant[4102]: Associated with 00:12:17:4b:9c:f7
Dec  7 09:49:53 debian kernel: [ 2229.337789] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Dec  7 09:49:53 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associating -> associated
Dec  7 09:49:53 debian kernel: [ 2229.344067] [UFW ALLOW] IN= OUT=wlan0 SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0016 LEN=76 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=143 CODE=0 
Dec  7 09:49:54 debian avahi-daemon[1265]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::221:5cff:fe29:c59d.
Dec  7 09:49:54 debian avahi-daemon[1265]: New relevant interface wlan0.IPv6 for mDNS.
Dec  7 09:49:54 debian avahi-daemon[1265]: Registering new address record for fe80::221:5cff:fe29:c59d on wlan0.*.
Dec  7 09:49:54 debian kernel: [ 2230.476270] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:0002 LEN=56 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=ICMPv6 TYPE=133 CODE=0 
Dec  7 09:49:54 debian kernel: [ 2230.484070] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:0016 LEN=96 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=143 CODE=0 
Dec  7 09:49:55 debian kernel: [ 2230.624484] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2230.624505] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2230.624537] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2230.633035] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:55 debian kernel: [ 2230.633053] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:55 debian kernel: [ 2230.633077] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:55 debian kernel: [ 2230.875434] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2230.875454] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2230.875483] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2231.126048] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2231.126069] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2231.126099] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=363 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=323 
Dec  7 09:49:55 debian kernel: [ 2231.326958] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:55 debian kernel: [ 2231.326979] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:55 debian kernel: [ 2231.327009] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:56 debian kernel: [ 2231.730388] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:56 debian kernel: [ 2231.730409] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:56 debian kernel: [ 2231.730440] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=208 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=168 
Dec  7 09:49:56 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associated -> group handshake
Dec  7 09:49:56 debian wpa_supplicant[4102]: WPA: Key negotiation completed with 00:12:17:4b:9c:f7 [PTK=TKIP GTK=TKIP]
Dec  7 09:49:56 debian wpa_supplicant[4102]: CTRL-EVENT-CONNECTED - Connection to 00:12:17:4b:9c:f7 completed (auth) [id=0 id_str=]
Dec  7 09:49:56 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: group handshake -> completed
Dec  7 09:49:56 debian NetworkManager[1149]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Krystian'.
Dec  7 09:49:56 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Dec  7 09:49:56 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Dec  7 09:49:56 debian NetworkManager[1149]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Dec  7 09:49:56 debian NetworkManager[1149]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Dec  7 09:49:56 debian NetworkManager[1149]: <info> dhclient started with pid 4104
Dec  7 09:49:56 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Dec  7 09:49:56 debian dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Dec  7 09:49:56 debian dhclient: Copyright 2004-2010 Internet Systems Consortium.
Dec  7 09:49:56 debian dhclient: All rights reserved.
Dec  7 09:49:56 debian dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec  7 09:49:56 debian dhclient: 
Dec  7 09:49:56 debian NetworkManager[1149]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Dec  7 09:49:56 debian dhclient: Listening on LPF/wlan0/00:21:5c:29:c5:9d
Dec  7 09:49:56 debian dhclient: Sending on   LPF/wlan0/00:21:5c:29:c5:9d
Dec  7 09:49:56 debian dhclient: Sending on   Socket/fallback
Dec  7 09:49:56 debian kernel: [ 2232.423770] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:56 debian kernel: [ 2232.423791] [UFW ALLOW] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:56 debian kernel: [ 2232.423822] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:58 debian dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
Dec  7 09:49:58 debian kernel: [ 2233.828511] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=309 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=269 
Dec  7 09:49:58 debian kernel: [ 2233.828548] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=309 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=269 
Dec  7 09:49:58 debian kernel: [ 2234.520525] [UFW AUDIT] IN= OUT=wlan0 SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:58 debian kernel: [ 2234.520563] [UFW AUDIT] IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0221:5cff:fe29:c59d DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=339 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=299 
Dec  7 09:49:59 debian wpa_supplicant[4102]: WPA: Group rekeying completed with 00:12:17:4b:9c:f7 [GTK=TKIP]
Dec  7 09:50:03 debian kernel: [ 2238.982199] wlan0: deauthenticated from 00:12:17:4b:9c:f7 (Reason: 2)
Dec  7 09:50:03 debian wpa_supplicant[4102]: CTRL-EVENT-DISCONNECTED bssid=00:12:17:4b:9c:f7 reason=2
Dec  7 09:50:03 debian kernel: [ 2239.017387] cfg80211: Calling CRDA to update world regulatory domain
Dec  7 09:50:03 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: completed -> disconnected
Dec  7 09:50:03 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Dec  7 09:50:03 debian kernel: [ 2239.488195] wlan0: no IPv6 routers present
Dec  7 09:50:05 debian wpa_supplicant[4102]: Trying to authenticate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:05 debian wpa_supplicant[4102]: Trying to associate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:05 debian kernel: [ 2241.370162] wlan0: authenticate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:05 debian kernel: [ 2241.371913] wlan0: authenticated
Dec  7 09:50:05 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: scanning -> associating
Dec  7 09:50:05 debian kernel: [ 2241.372303] wlan0: associate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:05 debian kernel: [ 2241.375579] wlan0: RX ReassocResp from 00:12:17:4b:9c:f7 (capab=0x431 status=0 aid=15)
Dec  7 09:50:05 debian kernel: [ 2241.375586] wlan0: associated
Dec  7 09:50:05 debian wpa_supplicant[4102]: Associated with 00:12:17:4b:9c:f7
Dec  7 09:50:05 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associating -> associated
Dec  7 09:50:06 debian dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
Dec  7 09:50:08 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associated -> group handshake
Dec  7 09:50:08 debian wpa_supplicant[4102]: WPA: Key negotiation completed with 00:12:17:4b:9c:f7 [PTK=TKIP GTK=TKIP]
Dec  7 09:50:08 debian wpa_supplicant[4102]: CTRL-EVENT-CONNECTED - Connection to 00:12:17:4b:9c:f7 completed (reauth) [id=0 id_str=]
Dec  7 09:50:08 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: group handshake -> completed
Dec  7 09:50:12 debian wpa_supplicant[4102]: WPA: Group rekeying completed with 00:12:17:4b:9c:f7 [GTK=TKIP]
Dec  7 09:50:15 debian kernel: [ 2251.355756] wlan0: deauthenticated from 00:12:17:4b:9c:f7 (Reason: 2)
Dec  7 09:50:15 debian wpa_supplicant[4102]: CTRL-EVENT-DISCONNECTED bssid=00:12:17:4b:9c:f7 reason=2
Dec  7 09:50:15 debian kernel: [ 2251.398303] cfg80211: Calling CRDA to update world regulatory domain
Dec  7 09:50:15 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: completed -> disconnected
Dec  7 09:50:15 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Dec  7 09:50:18 debian wpa_supplicant[4102]: Trying to authenticate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:18 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Dec  7 09:50:18 debian wpa_supplicant[4102]: Trying to associate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:18 debian kernel: [ 2253.665508] wlan0: authenticate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:18 debian kernel: [ 2253.667258] wlan0: authenticated
Dec  7 09:50:18 debian kernel: [ 2253.667705] wlan0: associate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:18 debian kernel: [ 2253.670253] wlan0: RX ReassocResp from 00:12:17:4b:9c:f7 (capab=0x431 status=0 aid=15)
Dec  7 09:50:18 debian kernel: [ 2253.670260] wlan0: associated
Dec  7 09:50:18 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec  7 09:50:18 debian wpa_supplicant[4102]: Associated with 00:12:17:4b:9c:f7
Dec  7 09:50:18 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associating -> associated
Dec  7 09:50:20 debian dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
Dec  7 09:50:21 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associated -> group handshake
Dec  7 09:50:21 debian wpa_supplicant[4102]: WPA: Key negotiation completed with 00:12:17:4b:9c:f7 [PTK=TKIP GTK=TKIP]
Dec  7 09:50:21 debian wpa_supplicant[4102]: CTRL-EVENT-CONNECTED - Connection to 00:12:17:4b:9c:f7 completed (reauth) [id=0 id_str=]
Dec  7 09:50:21 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: group handshake -> completed
Dec  7 09:50:24 debian wpa_supplicant[4102]: WPA: Group rekeying completed with 00:12:17:4b:9c:f7 [GTK=TKIP]
Dec  7 09:50:28 debian kernel: [ 2263.732147] wlan0: deauthenticated from 00:12:17:4b:9c:f7 (Reason: 2)
Dec  7 09:50:28 debian wpa_supplicant[4102]: CTRL-EVENT-DISCONNECTED bssid=00:12:17:4b:9c:f7 reason=2
Dec  7 09:50:28 debian kernel: [ 2263.762388] cfg80211: Calling CRDA to update world regulatory domain
Dec  7 09:50:28 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: completed -> disconnected
Dec  7 09:50:28 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Dec  7 09:50:30 debian wpa_supplicant[4102]: Trying to authenticate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:30 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Dec  7 09:50:30 debian wpa_supplicant[4102]: Trying to associate with 00:12:17:4b:9c:f7 (SSID='Krystian' freq=2437 MHz)
Dec  7 09:50:30 debian kernel: [ 2266.116404] wlan0: authenticate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:30 debian kernel: [ 2266.118163] wlan0: authenticated
Dec  7 09:50:30 debian kernel: [ 2266.121333] wlan0: associate with 00:12:17:4b:9c:f7 (try 1)
Dec  7 09:50:30 debian kernel: [ 2266.123902] wlan0: RX ReassocResp from 00:12:17:4b:9c:f7 (capab=0x431 status=0 aid=15)
Dec  7 09:50:30 debian kernel: [ 2266.123909] wlan0: associated
Dec  7 09:50:30 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec  7 09:50:30 debian wpa_supplicant[4102]: Associated with 00:12:17:4b:9c:f7
Dec  7 09:50:30 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associating -> associated
Dec  7 09:50:33 debian dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
Dec  7 09:50:33 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Dec  7 09:50:33 debian wpa_supplicant[4102]: WPA: Key negotiation completed with 00:12:17:4b:9c:f7 [PTK=TKIP GTK=TKIP]
Dec  7 09:50:33 debian wpa_supplicant[4102]: CTRL-EVENT-CONNECTED - Connection to 00:12:17:4b:9c:f7 completed (reauth) [id=0 id_str=]
Dec  7 09:50:33 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec  7 09:50:37 debian wpa_supplicant[4102]: WPA: Group rekeying completed with 00:12:17:4b:9c:f7 [GTK=TKIP]
Dec  7 09:50:40 debian kernel: [ 2276.108374] wlan0: deauthenticated from 00:12:17:4b:9c:f7 (Reason: 2)
Dec  7 09:50:40 debian wpa_supplicant[4102]: CTRL-EVENT-DISCONNECTED bssid=00:12:17:4b:9c:f7 reason=2
Dec  7 09:50:40 debian kernel: [ 2276.158469] cfg80211: Calling CRDA to update world regulatory domain
Dec  7 09:50:40 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: completed -> disconnected
Dec  7 09:50:40 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Dec  7 09:50:41 debian NetworkManager[1149]: <warn> (wlan0): DHCPv4 request timed out.
Dec  7 09:50:41 debian NetworkManager[1149]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 4104
Dec  7 09:50:41 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) scheduled...
Dec  7 09:50:41 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) started...
Dec  7 09:50:41 debian NetworkManager[1149]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Dec  7 09:50:41 debian NetworkManager[1149]: <warn> Activation (wlan0) failed for access point (Krystian)
Dec  7 09:50:41 debian NetworkManager[1149]: <warn> Activation (wlan0) failed.
Dec  7 09:50:41 debian NetworkManager[1149]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) complete.
Dec  7 09:50:41 debian NetworkManager[1149]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Dec  7 09:50:41 debian NetworkManager[1149]: <info> (wlan0): deactivating device (reason 'none') [0]
Dec  7 09:50:41 debian NetworkManager[1149]: <info> (wlan0): supplicant interface state: scanning -> disconnected
Dec  7 09:50:43 debian kernel: [ 2279.111914] iwl4965 0000:03:00.0: RF_KILL bit toggled to disable radio.
Dec  7 09:50:43 debian NetworkManager[1149]: <info> WiFi now disabled by radio killswitch
Dec  7 09:50:43 debian NetworkManager[1149]: <info> (wlan0): device state change: disconnected -> unavailable (reason 'none') [30 20 0]
Dec  7 09:50:43 debian NetworkManager[1149]: <info> (wlan0): deactivating device (reason 'none') [0]
Dec  7 09:50:43 debian avahi-daemon[1265]: Interface wlan0.IPv6 no longer relevant for mDNS.
Dec  7 09:50:43 debian avahi-daemon[1265]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::221:5cff:fe29:c59d.
Dec  7 09:50:43 debian avahi-daemon[1265]: Withdrawing address record for fe80::221:5cff:fe29:c59d on wlan0.
Dec  7 09:50:43 debian kernel: [ 2279.125757] iwl4965 0000:03:00.0: Not sending command - RF KILL
Dec  7 09:50:43 debian kernel: [ 2279.125767] iwl4965 0000:03:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
Dec  7 09:50:43 debian kernel: [ 2279.125774] iwl4965 0000:03:00.0: Error setting new RXON (-5)

Proszę, takie coś. Po nieudanej próbie połączenia wyłączyłem sieć aby przesłać log, możliwe że te błędy na końcu to z tego powodu.
I co teraz?

Mam nadzieję iż uda się rozwiązać ten problem, przyzwyczaiłem się do Debiana i nie chciał bym go zmieniać na inny.
Awatar użytkownika
lun
Beginner
Posty: 266
Rejestracja: 01 lutego 2010, 22:06
Lokalizacja: Warszawa

Post autor: lun »

Witaj,
niestety moje pojęcie o wpa_suplicant jest dosyć mierne, ponieważ nie używam tego do łączenia się z siecią WiFi. Obecnie wystarczy w zupełności NetworkManager. Z tego co jestem w stanie wyczytać z logu wynika, że łączysz się z siecią WiFi (na chwilkę). Wydaje mi się że właśnie bruździ tu zestawienie NetworkManagera i wpa_suplicant (ale to tylko moje wrażenie). Na wstępie spróbowałbym odinstalować wpa_suplicant i pobawić się tylko NetworkManagerem. Dodatkowo załącz log z dmesg.
Jeśli chodzi o to czy uda się uruchomić WiFi na Debianie, to nie musisz się martwić - rozwiązań jest dużo :-) - nawet na bardzo problematycznych kartach Intela.
Krystian Kiermasz
Posty: 28
Rejestracja: 23 listopada 2011, 21:59
Lokalizacja: Bydgoszcz

Post autor: Krystian Kiermasz »

Witaj,
Dziękuję za cenne rady - ale i to nie jest takie proste.

Kod: Zaznacz cały

root@debian:~# aptitude remove wpasupplicant 
Następujące pakiety zostaną USUNIĘTE:        
  wpasupplicant 
0 pakietów aktualizowanych, 0 instalowanych, 1 do usunięcia i 0 nie aktualizowanych.
Do pobrania 0 B archiwów. Zwolnione po rozpakowaniu: 1238 kB.
Następujące pakiety mają niespełnione zależności:
  network-manager: Wymaga: wpasupplicant (>= 0.7.3-1) but it is not going to be installed.
Następujące działania rozwiążą problemy z zależnościami:

     Usunięcie następujących pakietów:
1)     gnome                          
2)     gnome-core                     
3)     network-manager                
4)     network-manager-gnome          
5)     plasma-widget-networkmanagement



Zaakceptować rozwiązanie? [T/n/q/?] 

Co to jest to 1) gnome? Jest to całe środowisko? Od pewnego czasu każdą aplikację którą chce usunąć pokazuje mi że musi również usunąć gnome.
Oczywiście póki co nic nie zrobiłem.
Kalisto
Posty: 1
Rejestracja: 07 września 2009, 08:57

Post autor: Kalisto »

W logach widać że jest kłopot z autentyfikacją.
Poproszę Cię o wprowadzenie poprawek do konfigu routera. Wiemy że karty intela mają kłopot z szyfrowaniem TKIP.
By wycisnąć pełną prędkość/bezpieczeństwo powinieneś przestawić router na WPA-PSK / WPA2-PSK (jeśli jest) , szyfrowanie ustawić na AES
(trybów "TKIP" lub "AES+TKIP" nie ustawiać)
fnmirk
Senior Member
Posty: 8295
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Krystian Kiermasz, zbyt dużo spraw próbujesz równocześnie rozwiązać. W pierwszej kolejności wykonaj pełną aktualizację systemu.
Zacznij od tego:
http://debian.linux.pl/threads/25279-Br ... post145895
Do czasu pełnej i bezproblemowej aktualizacji ten temat powinien poczekać.
fnmirk
Senior Member
Posty: 8295
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Krystian Kiermasz, jeżeli jakiś problem rozwiązałeś to dobrze jest napisać jak to zrobiłeś i oznaczyć temat znakiem [+].
Jeżeli pewne problemy są wynikiem innych to nie można zrobić czegoś na zapas.
ODPOWIEDZ