This seems like a problem with DHCP (this is on an unencrypted network): Oct 9 12:07:32 acer dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4 Oct 9 12:07:32 acer dhclient: Copyright 2004-2011 Internet Systems Consortium. Oct 9 12:07:32 acer dhclient: All rights reserved. Oct 9 12:07:32 acer dhclient: For info, please visit https://www.isc.org/software/dhcp/ Oct 9 12:07:32 acer dhclient: Oct 9 12:07:32 acer NetworkManager[915]: <info> (wlan0): DHCPv4 state changed nbi -> preinit Oct 9 12:07:32 acer dhclient: Listening on LPF/wlan0/00:23:4d:38:09:45 Oct 9 12:07:32 acer dhclient: Sending on LPF/wlan0/00:23:4d:38:09:45 Oct 9 12:07:32 acer dhclient: Sending on Socket/fallback Oct 9 12:07:32 acer dhclient: DHCPREQUEST of 192.168.1.79 on wlan0 to 255.255.255.255 port 67 Oct 9 12:07:33 acer dhclient: DHCPNAK from 192.168.1.75 Oct 9 12:07:33 acer NetworkManager[915]: <info> (wlan0): DHCPv4 state changed preinit -> expire Oct 9 12:07:33 acer dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 Oct 9 12:07:33 acer NetworkManager[915]: <info> (wlan0): DHCPv4 state changed expire -> preinit Oct 9 12:07:33 acer avahi-daemon[734]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::223:4dff:fe38:945. Oct 9 12:07:33 acer avahi-daemon[734]: New relevant interface wlan0.IPv6 for mDNS. Oct 9 12:07:33 acer avahi-daemon[734]: Registering new address record for fe80::223:4dff:fe38:945 on wlan0.*. Oct 9 12:07:36 acer dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 Oct 9 12:07:42 acer kernel: [ 2265.920079] wlan0: no IPv6 routers present Oct 9 12:07:44 acer dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 Oct 9 12:07:55 acer dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19 Oct 9 12:08:14 acer dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19 Oct 9 12:08:18 acer NetworkManager[915]: <warn> (wlan0): DHCPv4 request timed out. Oct 9 12:08:18 acer NetworkManager[915]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 3878
dhclient sends a request for .79 (I'm assuming this is its last known dhcp address), which is denied by the server on .75. The client then sends a DHCPDISCOVER which should be replied to by a DHCP offer by the server, but it never is, so the discovery times out. A manual address setting works, so it does seem to confirm this. If there is nothing wrong with the server, my thoughts would be that there is something wrong with the discover packets (malformed maybe), or something is eating up the offers on route back from the server. ------------------------------------------- Also, a WPA-PSK TKIP network: Oct 2 20:03:36 acer dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4 Oct 2 20:03:36 acer dhclient: Copyright 2004-2011 Internet Systems Consortium. Oct 2 20:03:36 acer dhclient: All rights reserved. Oct 2 20:03:36 acer dhclient: For info, please visit https://www.isc.org/software/dhcp/ Oct 2 20:03:36 acer dhclient: Oct 2 20:03:36 acer NetworkManager[912]: <info> (wlan0): DHCPv4 state changed nbi -> preinit Oct 2 20:03:36 acer dhclient: Listening on LPF/wlan0/00:23:4d:38:09:45 Oct 2 20:03:36 acer dhclient: Sending on LPF/wlan0/00:23:4d:38:09:45 Oct 2 20:03:36 acer dhclient: Sending on Socket/fallback Oct 2 20:03:36 acer dhclient: DHCPREQUEST of 192.168.1.22 on wlan0 to 255.255.255.255 port 67 Oct 2 20:03:37 acer wpa_supplicant[990]: Michael MIC failure detected Oct 2 20:03:37 acer wpa_supplicant[990]: WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=99) Oct 2 20:03:37 acer wpa_supplicant[990]: Michael MIC failure detected Oct 2 20:03:37 acer wpa_supplicant[990]: WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=99) Oct 2 20:03:37 acer wpa_supplicant[990]: TKIP countermeasures started Oct 2 20:03:37 acer kernel: [ 7529.682694] wlan0: deauthenticated from 00:18:4d:7e:06:84 (Reason: 14) Oct 2 20:03:37 acer kernel: [ 7529.704466] wlan0: deauthenticating from 00:18:4d:7e:06:84 by local choice (reason=14) Michael MIC failures from wpa_supplicant. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1063445 Title: Wireless not connecting, disconnecting Status in “network-manager” package in Ubuntu: New Bug description: When trying to connect to almost any wireless network, it never connects, the indicator just keeps moving until it says Disconnected a minute or so later. This happens 100% of the time with all encryped networks, and 99% of the time with unencrypted networks. I have so far have not been able to connect to an encrypted network, only unencrypted after several tries. The very rare case when it does actually manage to connect (this is usually after trying to connect for an hour or so, many times beforehand, switching on/off the wireless with the hardware switch), it actually stays connected until you manually disconnect, and is also quite stable (downloads and PPTP connections work with no problem). Attached is a snippet of the old syslog from a few days ago when I was trying to connect, the current syslog doesn't have any relevant info as I am not near a wireless network currently. I will be in a position to do further testing tomorrow, if needed. The system is a netbook: Acer Aspire one, with Atheros AR5BXB63 wireless card ----------------------------------------------------------------------------------- $ lsb_release -rd Description: Ubuntu 12.04.1 LTS Release: 12.04 ----------------------------------------------------------------------------------- network-manager: Installed: 0.9.4.0-0ubuntu4.1 Candidate: 0.9.4.0-0ubuntu4.1 Version table: *** 0.9.4.0-0ubuntu4.1 0 500 http://si.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages 100 /var/lib/dpkg/status 0.9.4.0-0ubuntu3 0 500 http://si.archive.ubuntu.com/ubuntu/ precise/main i386 Packages ----------------------------------------------------------------------------------- $ modinfo ath5k filename: /lib/modules/3.2.0-31-generic-pae/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko license: Dual BSD/GPL description: Support for 5xxx series of Atheros 802.11 wireless LAN cards. author: Nick Kossifidis author: Jiri Slaby srcversion: FA2500C2D3C1A3B6094E37C alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i* alias: pci:v0000168Cd00000019sv*sd*bc*sc*i* alias: pci:v0000168Cd00000018sv*sd*bc*sc*i* alias: pci:v0000168Cd00000017sv*sd*bc*sc*i* alias: pci:v0000168Cd00000016sv*sd*bc*sc*i* alias: pci:v0000168Cd00000015sv*sd*bc*sc*i* alias: pci:v0000168Cd00000014sv*sd*bc*sc*i* alias: pci:v0000168Cd00001014sv*sd*bc*sc*i* alias: pci:v000010B7d00000013sv*sd*bc*sc*i* alias: pci:v0000A727d00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000012sv*sd*bc*sc*i* alias: pci:v0000168Cd00000011sv*sd*bc*sc*i* alias: pci:v0000168Cd00000007sv*sd*bc*sc*i* alias: pci:v0000168Cd00000207sv*sd*bc*sc*i* depends: mac80211,cfg80211,ath intree: Y vermagic: 3.2.0-31-generic-pae SMP mod_unload modversions 686 parm: nohwcrypt:Disable hardware encryption. (bool) parm: all_channels:Expose all channels the device can use. (bool) parm: fastchanswitch:Enable fast channel switching for AR2413/AR5413 radios. (bool) ------------------------------------------------------------------------------------ $ iwconfig lo no wireless extensions. virbr0 no wireless extensions. wlan0 IEEE 802.11bg ESSID:"Prospero632" Mode:Managed Frequency:2.462 GHz Access Point: 02:30:B4:0B:56:50 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=13/70 Signal level=-97 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:1 Invalid misc:2 Missed beacon:0 eth0 no wireless extensions. ------------------------------------------------------------------------------------ $ lspci -v (omitted irrelevant devices) 03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01) Subsystem: Foxconn International, Inc. Device e008 Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at 55200000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Count=1 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Kernel driver in use: ath5k Kernel modules: ath5k ------------------------------------------------------------------------------------- ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu4.1 ProcVersionSignature: Ubuntu 3.2.0-31.50-generic-pae 3.2.28 Uname: Linux 3.2.0-31-generic-pae i686 ApportVersion: 2.0.1-0ubuntu13 Architecture: i386 Date: Sun Oct 7 23:01:50 2012 IfupdownConfig: auto lo iface lo inet loopback InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) IpRoute: default via 10.1.0.1 dev eth0 proto static 10.1.0.0/24 dev eth0 proto kernel scope link src 10.1.0.200 metric 1 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-07-13 (86 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless disconnected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0 connected enabled enabled enabled enabled enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1063445/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

