linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DHCP request timed out, iwlwifi
@ 2012-08-06 14:14 Marco
  2012-08-06 16:35 ` Dan Williams
  2012-08-06 17:28 ` Marco
  0 siblings, 2 replies; 7+ messages in thread
From: Marco @ 2012-08-06 14:14 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

Hi,

I use a HP EliteBook equipped with an Intel Centrino Advanced-N 6205
network adapter, it uses the iwlwifi module, on Ubuntu 12.04.

I often cannot connect to my wireless network. Other computers
connect without problems. It is not reproducible, but it occurs, say
once per week. If it doesn't connect, nothing helps, not even a
reboot. I find the following messages in my syslog:

Aug  6 15:34:49 dejon NetworkManager[1042]: <warn> (wlan0): DHCPv4 request
timed out.

The more detailed syslog is attached. DHCP works for all other
computers. If I connect this computer via cable it also works
without problems. So it seems to be related to this particular
computer and its wireless configuration. But I have no clue how to
investigate further.

Any ideas what might be the cause?


Marco

[-- Attachment #2: syslog --]
[-- Type: application/octet-stream, Size: 16580 bytes --]

Aug  6 15:33:58 dejon kernel: [ 1297.076110] cfg80211: Restoring regulatory settings
Aug  6 15:33:58 dejon kernel: [ 1297.076128] cfg80211: Calling CRDA to update world regulatory domain
Aug  6 15:33:58 dejon kernel: [ 1297.085382] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
Aug  6 15:33:58 dejon kernel: [ 1297.085392] cfg80211: World regulatory domain updated:
Aug  6 15:33:58 dejon kernel: [ 1297.085396] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Aug  6 15:33:58 dejon kernel: [ 1297.085403] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:33:58 dejon kernel: [ 1297.085409] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:33:58 dejon kernel: [ 1297.085415] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:33:58 dejon kernel: [ 1297.085420] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:33:58 dejon kernel: [ 1297.085426] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Auto-activating connection 'Фузион'.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) starting connection 'Фузион'
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless): access point 'Фузион' has security, but secrets are required.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless): connection 'Фузион' has security, and secrets exist.  No new secrets needed.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Config: added 'ssid' value 'Фузион'
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Config: added 'scan_ssid' value '1'
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Config: added 'psk' value '<omitted>'
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> Config: set interface ap_scan to 1
Aug  6 15:34:00 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Aug  6 15:34:04 dejon wpa_supplicant[1947]: Trying to authenticate with 1c:65:9d:a5:62:e5 (SSID='____________' freq=2452 MHz)
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Aug  6 15:34:04 dejon wpa_supplicant[1947]: Trying to associate with 1c:65:9d:a5:62:e5 (SSID='____________' freq=2452 MHz)
Aug  6 15:34:04 dejon kernel: [ 1303.085928] wlan0: authenticate with 1c:65:9d:a5:62:e5 (try 1)
Aug  6 15:34:04 dejon kernel: [ 1303.088312] wlan0: authenticated
Aug  6 15:34:04 dejon kernel: [ 1303.088828] wlan0: associate with 1c:65:9d:a5:62:e5 (try 1)
Aug  6 15:34:04 dejon kernel: [ 1303.091546] wlan0: RX ReassocResp from 1c:65:9d:a5:62:e5 (capab=0x411 status=0 aid=3)
Aug  6 15:34:04 dejon kernel: [ 1303.091549] wlan0: associated
Aug  6 15:34:04 dejon wpa_supplicant[1947]: Associated with 1c:65:9d:a5:62:e5
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: authenticating -> associating
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Aug  6 15:34:04 dejon wpa_supplicant[1947]: WPA: Key negotiation completed with 1c:65:9d:a5:62:e5 [PTK=CCMP GTK=CCMP]
Aug  6 15:34:04 dejon wpa_supplicant[1947]: CTRL-EVENT-CONNECTED - Connection to 1c:65:9d:a5:62:e5 completed (reauth) [id=0 id_str=]
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Фузион'.
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> dhclient started with pid 25603
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Aug  6 15:34:04 dejon dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
Aug  6 15:34:04 dejon dhclient: Copyright 2004-2011 Internet Systems Consortium.
Aug  6 15:34:04 dejon dhclient: All rights reserved.
Aug  6 15:34:04 dejon dhclient: For info, please visit https://www.isc.org/software/dhcp/
Aug  6 15:34:04 dejon dhclient: 
Aug  6 15:34:04 dejon NetworkManager[1042]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Aug  6 15:34:04 dejon dhclient: Listening on LPF/wlan0/a0:88:b4:20:61:58
Aug  6 15:34:04 dejon dhclient: Sending on   LPF/wlan0/a0:88:b4:20:61:58
Aug  6 15:34:04 dejon dhclient: Sending on   Socket/fallback
Aug  6 15:34:04 dejon dhclient: DHCPREQUEST of 10.101.101.36 on wlan0 to 255.255.255.255 port 67
Aug  6 15:34:07 dejon dhclient: DHCPREQUEST of 10.101.101.36 on wlan0 to 255.255.255.255 port 67
Aug  6 15:34:14 dejon kernel: [ 1313.354557] wlan0: no IPv6 routers present
Aug  6 15:34:15 dejon dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Aug  6 15:34:18 dejon dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
Aug  6 15:34:25 dejon dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
Aug  6 15:34:36 dejon dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
Aug  6 15:34:49 dejon NetworkManager[1042]: <warn> (wlan0): DHCPv4 request timed out.
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 25603
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Aug  6 15:34:50 dejon NetworkManager[1042]: <warn> Activation (wlan0) failed for access point (Фузион)
Aug  6 15:34:50 dejon NetworkManager[1042]: <warn> Activation (wlan0) failed.
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> (wlan0): deactivating device (reason 'none') [0]
Aug  6 15:34:50 dejon kernel: [ 1348.948457] wlan0: deauthenticating from 1c:65:9d:a5:62:e5 by local choice (reason=3)
Aug  6 15:34:50 dejon wpa_supplicant[1947]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
Aug  6 15:34:50 dejon kernel: [ 1349.051602] cfg80211: All devices are disconnected, going to restore regulatory settings
Aug  6 15:34:50 dejon kernel: [ 1349.051615] cfg80211: Restoring regulatory settings
Aug  6 15:34:50 dejon kernel: [ 1349.051633] cfg80211: Calling CRDA to update world regulatory domain
Aug  6 15:34:50 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: completed -> disconnected
Aug  6 15:34:50 dejon kernel: [ 1349.060469] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
Aug  6 15:34:50 dejon kernel: [ 1349.060478] cfg80211: World regulatory domain updated:
Aug  6 15:34:50 dejon kernel: [ 1349.060482] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Aug  6 15:34:50 dejon kernel: [ 1349.060489] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:50 dejon kernel: [ 1349.060495] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:50 dejon kernel: [ 1349.060501] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:50 dejon kernel: [ 1349.060506] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:50 dejon kernel: [ 1349.060512] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Auto-activating connection 'Фузион'.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) starting connection 'Фузион'
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless): access point 'Фузион' has security, but secrets are required.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless): connection 'Фузион' has security, and secrets exist.  No new secrets needed.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Config: added 'ssid' value 'Фузион'
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Config: added 'scan_ssid' value '1'
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Config: added 'psk' value '<omitted>'
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Aug  6 15:34:52 dejon NetworkManager[1042]: <info> Config: set interface ap_scan to 1
Aug  6 15:34:52 dejon wpa_supplicant[1947]: Failed to initiate AP scan.
Aug  6 15:34:56  wpa_supplicant[1947]: last message repeated 3 times
Aug  6 15:34:56 dejon wpa_supplicant[1947]: Trying to authenticate with 1c:65:9d:a5:62:e5 (SSID='____________' freq=2452 MHz)
Aug  6 15:34:56 dejon kernel: [ 1354.804737] wlan0: authenticate with 1c:65:9d:a5:62:e5 (try 1)
Aug  6 15:34:56 dejon wpa_supplicant[1947]: Trying to associate with 1c:65:9d:a5:62:e5 (SSID='____________' freq=2452 MHz)
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: disconnected -> associating
Aug  6 15:34:56 dejon kernel: [ 1354.806793] wlan0: authenticated
Aug  6 15:34:56 dejon kernel: [ 1354.807311] wlan0: associate with 1c:65:9d:a5:62:e5 (try 1)
Aug  6 15:34:56 dejon kernel: [ 1354.810094] wlan0: RX ReassocResp from 1c:65:9d:a5:62:e5 (capab=0x411 status=0 aid=3)
Aug  6 15:34:56 dejon kernel: [ 1354.810103] wlan0: associated
Aug  6 15:34:56 dejon wpa_supplicant[1947]: Associated with 1c:65:9d:a5:62:e5
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Aug  6 15:34:56 dejon wpa_supplicant[1947]: WPA: Key negotiation completed with 1c:65:9d:a5:62:e5 [PTK=CCMP GTK=CCMP]
Aug  6 15:34:56 dejon wpa_supplicant[1947]: CTRL-EVENT-CONNECTED - Connection to 1c:65:9d:a5:62:e5 completed (reauth) [id=0 id_str=]
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Фузион'.
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> dhclient started with pid 26284
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Aug  6 15:34:56 dejon dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
Aug  6 15:34:56 dejon dhclient: Copyright 2004-2011 Internet Systems Consortium.
Aug  6 15:34:56 dejon dhclient: All rights reserved.
Aug  6 15:34:56 dejon dhclient: For info, please visit https://www.isc.org/software/dhcp/
Aug  6 15:34:56 dejon dhclient: 
Aug  6 15:34:56 dejon NetworkManager[1042]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Aug  6 15:34:56 dejon dhclient: Listening on LPF/wlan0/a0:88:b4:20:61:58
Aug  6 15:34:56 dejon dhclient: Sending on   LPF/wlan0/a0:88:b4:20:61:58
Aug  6 15:34:56 dejon dhclient: Sending on   Socket/fallback
Aug  6 15:34:56 dejon dhclient: DHCPREQUEST of 10.101.101.36 on wlan0 to 255.255.255.255 port 67

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 14:14 DHCP request timed out, iwlwifi Marco
@ 2012-08-06 16:35 ` Dan Williams
  2012-08-06 19:06   ` Marco
  2012-08-06 17:28 ` Marco
  1 sibling, 1 reply; 7+ messages in thread
From: Dan Williams @ 2012-08-06 16:35 UTC (permalink / raw)
  To: Marco; +Cc: linux-wireless

On Mon, 2012-08-06 at 16:14 +0200, Marco wrote:
> Hi,
> 
> I use a HP EliteBook equipped with an Intel Centrino Advanced-N 6205
> network adapter, it uses the iwlwifi module, on Ubuntu 12.04.
> 
> I often cannot connect to my wireless network. Other computers
> connect without problems. It is not reproducible, but it occurs, say
> once per week. If it doesn't connect, nothing helps, not even a
> reboot. I find the following messages in my syslog:
> 
> Aug  6 15:34:49 dejon NetworkManager[1042]: <warn> (wlan0): DHCPv4 request
> timed out.
> 
> The more detailed syslog is attached. DHCP works for all other
> computers. If I connect this computer via cable it also works
> without problems. So it seems to be related to this particular
> computer and its wireless configuration. But I have no clue how to
> investigate further.
> 
> Any ideas what might be the cause?

What kernel version?  Is the network an 802.11n-enabled network?  If you
have kernel version 3.2, try to disable 802.11n and see if that makes
things happier.  I've had a number of iwlwifi bug reports with the 3.2
kernel from 12.04 that seem to be 802.11n related.  Association happens
correctly, but data frames do not work.

Do something like the following:

rmmod iwlwifi
modprobe iwlwifi 11n_disable=1
(let it reconnect)

If that works, it can be made more permanent by using modprobe config
files to set the module options whenever it's loaded.  Or, better yet,
upgrade your kernel version to 3.4 or later, but that's probably not
something that Canonical will do in the near future with 12.04.

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 14:14 DHCP request timed out, iwlwifi Marco
  2012-08-06 16:35 ` Dan Williams
@ 2012-08-06 17:28 ` Marco
  2012-08-06 19:47   ` Dan Williams
  1 sibling, 1 reply; 7+ messages in thread
From: Marco @ 2012-08-06 17:28 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

I just tested with a current Fedora. The problem remains. I get the
same error. I attached the complete /var/log/messages, since I don't
know exactly what parts might be of interest.

Any help appreciated

Marco

[-- Attachment #2: messages.gz --]
[-- Type: application/x-gzip, Size: 19655 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 16:35 ` Dan Williams
@ 2012-08-06 19:06   ` Marco
  0 siblings, 0 replies; 7+ messages in thread
From: Marco @ 2012-08-06 19:06 UTC (permalink / raw)
  To: linux-wireless

On 2012-08-06 Dan Williams <dcbw@redhat.com>
wrote:

> What kernel version?

3.2.0

> Is the network an 802.11n-enabled network?

Nope.

> If you have kernel version 3.2, try to disable 802.11n and see if
> that makes things happier.

Unfortunately not.

> Association happens correctly, but data frames do not work.

Sorry, I don't quite get it. What is the problem here (if you can
tell), a bug in the driver?

> Do something like the following:
> 
> rmmod iwlwifi
> modprobe iwlwifi 11n_disable=1
> (let it reconnect)

Same as before.

> Or, better yet, upgrade your kernel version to 3.4 or later, but
> that's probably not something that Canonical will do in the near
> future with 12.04.

If it helps, I can build and install my own kernel. What would you
suggest, any objections against 3.5.0 or should I go for a 3.4.0?

Thanks for your help.


Marco



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 17:28 ` Marco
@ 2012-08-06 19:47   ` Dan Williams
  2012-08-06 20:20     ` Marco
  2012-09-01 13:14     ` Marco
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Williams @ 2012-08-06 19:47 UTC (permalink / raw)
  To: Marco; +Cc: linux-wireless

On Mon, 2012-08-06 at 19:28 +0200, Marco wrote:
> I just tested with a current Fedora. The problem remains. I get the
> same error. I attached the complete /var/log/messages, since I don't
> know exactly what parts might be of interest.
> 
> Any help appreciated

Ok, that does all look fine.  At this point, either the wifi driver
isn't cooperating, or there isn't a DHCP server listening.  I'd rule out
the firewall because typically they let DHCPv4 through by default.  One
other thing you could do is set the connection to "manual" (ie, static)
IPv4 addressing, enter an address that you know is on the router's
subnet, and try to ping the default router.  If that works, then clearly
something is wrong with DHCP.  If that doesn't work and you're sure the
address/netmask you set is correct, then there's something wrong in the
driver.  Yet another alternative is to do the static IP thing and then
run a wireshark packet capture and see if the wifi card sees any traffic
at all.

Anyone else have any thoughts?  If the 4-way handshake works, that
indicates your WPA passphrase is correct.

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 19:47   ` Dan Williams
@ 2012-08-06 20:20     ` Marco
  2012-09-01 13:14     ` Marco
  1 sibling, 0 replies; 7+ messages in thread
From: Marco @ 2012-08-06 20:20 UTC (permalink / raw)
  To: linux-wireless

On 2012-08-06 Dan Williams <dcbw@redhat.com>
wrote:

> At this point, either the wifi driver isn't cooperating, or there
> isn't a DHCP server listening.

Not a single other computer on the network has DHCP problems. If I
plug in an external USB network adapter (which uses a different
driver) the computer connects instantly. However, other computers on
the network also use the iwlwifi driver without problems (but with
different hardware).

> I'd rule out the firewall because typically they let DHCPv4
> through by default.

I think so, too. And if it would be the firewall, it wouldn't
connect with a different network adapter, I guess.

> One other thing you could do is set the connection to "manual"
> (ie, static) IPv4 addressing, enter an address that you know is on
> the router's subnet, and try to ping the default router.If that
> works, then clearly something is wrong with DHCP.  If that doesn't
> work and you're sure the address/netmask you set is correct, then
> there's something wrong in the driver.

Now it works again and I cannot test it any more. That's what I
meant with “it's not really reproducible”. I'll have to wait a
couple of days until it occurs again.

> Yet another alternative is to do the static IP thing and then run
> a wireshark packet capture and see if the wifi card sees any
> traffic at all.

I will report back on this issue when the connection fails again and
I can test.

> If the 4-way handshake works, that indicates your WPA passphrase
> is correct.

It's saved in the NetworkManager. I would be surprised if the
passphrase would, out of a sudden, be wrong.

Thanks for taking the time to help tracing down this issue.


Marco



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DHCP request timed out, iwlwifi
  2012-08-06 19:47   ` Dan Williams
  2012-08-06 20:20     ` Marco
@ 2012-09-01 13:14     ` Marco
  1 sibling, 0 replies; 7+ messages in thread
From: Marco @ 2012-09-01 13:14 UTC (permalink / raw)
  To: linux-wireless

On 2012-08-06 Dan Williams <dcbw@redhat.com>
wrote:

Hi,

I am sorry do wake up this old thread again (should I start a new
one instead?).

> Ok, that does all look fine.  At this point, either the wifi driver
> isn't cooperating, or there isn't a DHCP server listening.

I managed to find another USB network adapter with a different
chipset which works perfectly. My guess is that the DHCP works (I
don't have access to the DHCP server), since it works fine for all
other hosts on the network.

> I'd rule out the firewall because typically they let DHCPv4
> through by default.  One other thing you could do is set the
> connection to "manual" (ie, static) IPv4 addressing, enter an
> address that you know is on the router's subnet, and try to ping
> the default router.  If that works, then clearly something is
> wrong with DHCP.

The ping did not succeed.

> If that doesn't work and you're sure the address/netmask you set
> is correct, then there's something wrong in the driver.

I am not 100% sure that the values I input were correct. I used the
same settings that a different host used and picked a random IP
address on the same subnet.

That way I am connected to the network, but don't have internet
access (e.g. cannot ping google by IP address).

> Yet another alternative is to do the static IP thing and then
> run a wireshark packet capture and see if the wifi card sees any traffic
> at all.

I did that and wireshark receives packages. But I don't really know
what to look for, to be honest. I can provide a wireshark capture
file, if necessary. But I guess it makes more sense to send it via
email, instead of dropping a big binary blob in this list.

> Anyone else have any thoughts?  If the 4-way handshake works, that
> indicates your WPA passphrase is correct.

It is definitely correct. As I said, if I use a different adapter on
the same computer with the same settings assigned via DHCP it works.


Marco



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-01 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06 14:14 DHCP request timed out, iwlwifi Marco
2012-08-06 16:35 ` Dan Williams
2012-08-06 19:06   ` Marco
2012-08-06 17:28 ` Marco
2012-08-06 19:47   ` Dan Williams
2012-08-06 20:20     ` Marco
2012-09-01 13:14     ` Marco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).