Newsgroup: it.comp.os.linux.sys
Titolo: Kernel 2.6.29 e seguenti con wifi router adsl D-Link

Ciao a tutti,
 
 
ho una Debian Wheezy con KDE su un portatile e un router adsl domestico 
DSL-2740B con firmware EU_1.00.
 
Se uso un kernel della serie 2.6.28 o precedenti la connessione wifi 
funziona perfettamente.
 
Se uso un kernel della serie 2.6.29 o 3.0 no e per giunta mi impalla il wifi 
del router (possibile?) e devo riavviarlo.
 
Qualche idea?
 
 
Ciao,
  Void

Void ha scritto:

Senza sapere la scheda wi-fi del portatile, pochine.
 
-- 
           |Save our planet!
    Ciao   |Save wildlife!
   roberto |For your E-MAIL use ONLY recycled Bytes  !!
           |roberto poggi   
rpo...@softhome.net
 

 Senza sapere la scheda wi-fi del portatile, pochine.
 
lshw:
   description: Wireless interface
   product: WiFi Link 5100
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:14:00.0
   logical name: wlan0
   version: 00
   serial: 00:22:fa:d8:9a:8a
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical 
wireless
   configuration: broadcast=yes driver=iwlagn driverversion=3.0.0-1-amd64 
firmware=8.83.5.1 build 33692 latency=0 link=no multicast=yes wireless=IEEE 
802.11abgn
   resources: irq:47 memory:f2100000-f2101fff
 
 
Ciao,
  Void


o iwlagn alla debian?
http://wiki.debian.org/iwlagn
 
 
 
La prossima volta leggo meglio, ma lascio la stupidata per ricordarmi,
la prossima volta. :-(
 
Ok, iwlagn.
hai provato e togliere il driver, rimettere il firmware e poi rimettere
il driver?
 
Ho paura ci sia qualche problemino se il driver tenta di avviarsi senza
il firmware al suo posto.
 
Altrimenti, prova i driver intel.
 
Non ho quella scheda, non posso fare prove.


 il driver?
 
Ho provato a fare quanto segue:
 
# lspci|grep -i wi
14:00.0 Network controller: Intel Corporation WiFi Link 5100
 
# apt-cache show firmware-iwlwifi|grep 5100
 4965, 5100, 5300, 6000 and 6250 cards supported by the iwl3945 and iwlagn
  * Intel Wireless 5100, 5300 and 5350 firmware, version 5.4.A.11 
(iwlwifi-5000-1.ucode)
  * Intel Wireless 5100, 5300 and 5350 firmware, version 8.24.2.12 
(iwlwifi-5000-2.ucode)
  * Intel Wireless 5100, 5300 and 5350 firmware, version 8.83.5.1 
(iwlwifi-5000-5.ucode)
 
# lsmod |grep iwl
iwlagn                166455  0 
mac80211              182631  1 iwlagn
cfg80211              132564  2 iwlagn,mac80211
 
# modprobe -r iwlagn
 
# apt-get remove --purge firmware-iwlwifi
 
# apt-get install firmware-iwlwifi
 
# modprobe iwlagn
 
# lsmod |grep iwl
iwlagn                166455  0 
mac80211              182631  1 iwlagn
cfg80211              132564  2 iwlagn,mac80211
 
... questa sera vedo se è cambiato qualche cosa... propo anche a vedere se 
trovo una nuova versione del firmware del router adsl, strano che si pianti 
al punto da dover essere riavviato...
 
 
Ciao e grazie,
  Void

 pianti al punto da dover essere riavviato...
 
Purtroppo non è cambiato nulla e il firmware è già aggiornato all'ultima (e 
unica) versione: con la 2.6.30 la connessione wifi funziona per pochi minuti 
e poi si interrompe e devo riavviare il router; con la 2.6.28 nessun 
problema...
 
 
Ciao,
  Void


Io ho la stessa scheda di rete ma un router wifi differente. Provato
magari con dmesg,se con la wifi acces, il kernel si lamenta di
qualcosa?

 qualcosa?
 
Questo è quello che registra il syslog tra poco prima che la connessione
smetta di funzionare e poco dopo: sembra che semplicemente perda la
connessione e dopo qualche tentativo ci rinunci, anche perché in effetti
anche riavviando il portatile devo comunque riavviare il router:
 
=============================================================================
Sep 24 22:14:14 lap-x kernel: [  280.535865] iwlagn 0000:14:00.0: 
Aggregation not enabled for tid 0 because load = 0
Sep 24 22:14:18 lap-x wpa_supplicant[4691]: WPA: Group rekeying completed 
with 34:08:04:73:75:2d [GTK=TKIP]
Sep 24 22:14:18 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  completed -> group handshake
Sep 24 22:14:18 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  group handshake -> completed
Sep 24 22:14:24 lap-x kernel: [  290.546225] iwlagn 0000:14:00.0: 
Aggregation not enabled for tid 0 because load = 0
Sep 24 22:14:39 lap-x kernel: [  305.858905] iwlagn 0000:14:00.0: 
Aggregation not enabled for tid 0 because load = 8
Sep 24 22:14:50 lap-x kernel: [  316.518241] iwlagn 0000:14:00.0: 
iwlagn_tx_agg_start on ra = 34:08:04:73:75:2d tid = 0
Sep 24 22:15:23 lap-x kernel: [  349.155480] iwlagn 0000:14:00.0: 
Aggregation not enabled for tid 6 because load = 6
Sep 24 22:15:25 lap-x kernel: [  351.836569] iwlagn 0000:14:00.0: Stopping 
AGG while state not ON or starting
Sep 24 22:15:25 lap-x wpa_supplicant[4691]: CTRL-EVENT-DISCONNECTED 
bssid=34:08:04:73:75:2d reason=0
Sep 24 22:15:25 lap-x kernel: [  351.854561] cfg80211: Calling CRDA for 
country: GB
Sep 24 22:15:25 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  completed -> disconnected
Sep 24 22:15:26 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  disconnected -> scanning
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 8 -> 3 (reason 11)
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): deactivating 
device (reason: 11).
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): canceled DHCP 
transaction, DHCP client pid 4827                                                                              
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): removing 
resolv.conf from /sbin/resolvconf                                                                                   
Sep 24 22:15:41 lap-x avahi-daemon[3906]: Withdrawing address record for 
192.168.1.103 on wlan0.                                                                                         
Sep 24 22:15:41 lap-x avahi-daemon[3906]: Leaving mDNS multicast group on 
interface wlan0.IPv4 with address 192.168.1.103.                                                               
Sep 24 22:15:41 lap-x avahi-daemon[3906]: Interface wlan0.IPv4 no longer 
relevant for mDNS.                                                                                              
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) 
starting connection 'X_ME'                                                                                   
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 3 -> 4 (reason 0)                                                                                       
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) scheduled...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  scanning -> disconnected
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) started...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) scheduled...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) complete.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) starting...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 4 -> 5 (reason 0)
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation 
(wlan0/wireless): access point 'X_ME' has security, but secrets are 
required.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 5 -> 6 (reason 0)
Sep 24 22:15:41 lap-x dbus[3834]: [system] Activating service 
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) complete.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) scheduled...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) started...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 6 -> 4 (reason 0)
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) scheduled...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) complete.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) starting...
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 4 -> 5 (reason 0)
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation 
(wlan0/wireless): connection 'X_ME' has security, and secrets exist.  No new 
secrets needed.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Config: added 'ssid' 
value 'X_ME'
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Config: added 'scan_ssid' 
value '1'
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Config: added 'key_mgmt' 
value 'WPA-PSK'
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Config: added 'psk' value 
'<omitted>'
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) complete.
Sep 24 22:15:41 lap-x NetworkManager[4677]: <info> Config: set interface 
ap_scan to 1
Sep 24 22:15:41 lap-x dbus[3834]: [system] Successfully activated service 
'org.freedesktop.nm_dispatcher'
Sep 24 22:15:42 lap-x NetworkManager[4677]: <info> (wlan0): supplicant 
connection state:  disconnected -> scanning
Sep 24 22:15:59 lap-x laptop-mode: Couldn't acquire lock. Retrying.... PID 
is 6778\n
Sep 24 22:15:59 lap-x laptop-mode: Laptop mode 
Sep 24 22:15:59 lap-x laptop-mode: enabled, 
Sep 24 22:15:59 lap-x laptop-mode: not active [unchanged]
Sep 24 22:15:59 lap-x laptop-mode: Laptop mode 
Sep 24 22:15:59 lap-x laptop-mode: enabled, 
Sep 24 22:15:59 lap-x laptop-mode: not active [unchanged]
Sep 24 22:15:59 lap-x laptop-mode: Laptop mode 
Sep 24 22:15:59 lap-x laptop-mode: enabled, 
Sep 24 22:15:59 lap-x laptop-mode: not active [unchanged]
Sep 24 22:16:06 lap-x NetworkManager[4677]: <warn> Activation 
(wlan0/wireless): association took too long.
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 5 -> 6 (reason 0)
Sep 24 22:16:06 lap-x NetworkManager[4677]: <warn> Activation 
(wlan0/wireless): asking for new secrets
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) scheduled...
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) started...
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 6 -> 4 (reason 0)
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) scheduled...
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
1 of 5 (Device Prepare) complete.
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> Activation (wlan0) Stage 
2 of 5 (Device Configure) starting...
Sep 24 22:16:06 lap-x NetworkManager[4677]: <info> (wlan0): device state 
change: 4 -> 5 (reason 0)

 anche riavviando il portatile devo comunque riavviare il router:
]zac[
Se cerchi con google trovi parecchi casi simili (su vari kernel, 
distribuzioni, driver wifi, ecc.).
I piu' accusati sono network manager e il driver wifi (del kernel), errori 
del kernel (oops).

 del kernel (oops).
Infatti, o una loro combinazione, visto che comunque la stessa versione di 
Networkmanager funziona con un kernel precedente. Quindi non resta che 
aspettare una nuova versione che risolva il problama...
Ciao e grazie,
  Void