Package: network-manager Version: 0.8.1-4 Severity: minor An usb wireless card is plugged: [368955.213040] usb 1-1: new high speed USB device using ehci_hcd and address 10 [368955.353510] usb 1-1: New USB device found, idVendor=0bda, idProduct=8187 [368955.353515] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [368955.353519] usb 1-1: Product: RTL8187_Wireless [368955.353522] usb 1-1: Manufacturer: Manufacturer_Realtek_RTL8187_ [368955.353525] usb 1-1: SerialNumber: 00E04C82D871 [368955.353674] usb 1-1: configuration #1 chosen from 1 choice [368955.537299] phy7: Selected rate control algorithm 'minstrel' [368955.538802] phy7: hwaddr 00:e0:4c:82:d8:71, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2 [368955.552159] rtl8187: Customer ID is 0x00 [368955.552248] Registered led device: rtl8187-phy7::tx [368955.552289] Registered led device: rtl8187-phy7::rx [368955.552766] rtl8187: wireless switch is on
then it is removed: [368984.452459] usb 1-1: USB disconnect, address 10 it still lists in nm-applet: $nm-tool - Device: wlan1 ---------------------------------------------------------------- Type: 802.11 WiFi Driver: rtl8187 State: disconnected Default: no HW Address: 00:E0:4C:82:D8:71 Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points ... only restart network-manager service will it disappear from the list #cat /var/log/daemon: Dec 1 18:50:48 debian NetworkManager[2001]: <info> found WiFi radio killswitch rfkill9 (at /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/ieee80211/phy9/rfkill9) (driver <unknown>) Dec 1 18:50:48 debian NetworkManager[2001]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/net/wlan1, iface: wlan1) Dec 1 18:50:48 debian NetworkManager[2001]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/net/wlan1, iface: wlan1): no ifupdown configuration found. Dec 1 18:50:50 debian NetworkManager[2001]: <info> (wlan1): driver supports SSID scans (scan_capa 0x01). Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) starting connection 'Auto TP-LINK_30663E' Dec 1 18:50:52 debian NetworkManager[2001]: <info> (wlan1): device state change: 3 -> 4 (reason 0) Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) scheduled... Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) started... Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) scheduled... Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) complete. Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) starting... Dec 1 18:50:52 debian NetworkManager[2001]: <info> (wlan1): device state change: 4 -> 5 (reason 0) Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1/wireless): connection 'Auto TP-LINK' has security, and secrets exist. No new secrets needed. Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'ssid' value 'TP-LINK' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'scan_ssid' value '1' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'key_mgmt' value 'NONE' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'auth_alg' value 'OPEN' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'wep_key0' value '<omitted>' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: added 'wep_tx_keyidx' value '0' Dec 1 18:50:52 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) complete. Dec 1 18:50:52 debian NetworkManager[2001]: <info> Config: set interface ap_scan to 1 Dec 1 18:50:52 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: scanning -> disconnected Dec 1 18:50:56 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: disconnected -> scanning Dec 1 18:50:58 debian wpa_supplicant[1835]: Trying to associate with 00:11:22:33:44:55 (SSID='TP-LINK' freq=2437 MHz) Dec 1 18:50:58 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: scanning -> associating Dec 1 18:50:59 debian wpa_supplicant[1835]: Associated with 00:11:22:33:44:55 Dec 1 18:50:59 debian wpa_supplicant[1835]: CTRL-EVENT-CONNECTED - Connection to 00:11:22:33:44:55 completed (reauth) [id=3 id_str=] Dec 1 18:50:59 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: associating -> associated Dec 1 18:50:59 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: associated -> completed Dec 1 18:50:59 debian NetworkManager[2001]: <info> Activation (wlan1/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'TP-LINK'. Dec 1 18:50:59 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 3 of 5 (IP Configure Start) scheduled. Dec 1 18:50:59 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 3 of 5 (IP Configure Start) started... Dec 1 18:50:59 debian NetworkManager[2001]: <info> (wlan1): device state change: 5 -> 7 (reason 0) Dec 1 18:50:59 debian NetworkManager[2001]: <info> Activation (wlan1) Beginning DHCPv4 transaction (timeout in 45 seconds) Dec 1 18:50:59 debian NetworkManager[2001]: <info> dhclient started with pid 22895 Dec 1 18:50:59 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 3 of 5 (IP Configure Start) complete. Dec 1 18:50:59 debian dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1 Dec 1 18:50:59 debian dhclient: Copyright 2004-2010 Internet Systems Consortium. Dec 1 18:50:59 debian dhclient: Copyright 2004-2010 Internet Systems Consortium. Dec 1 18:50:59 debian dhclient: All rights reserved. Dec 1 18:50:59 debian dhclient: For info, please visit https://www.isc.org/software/dhcp/ Dec 1 18:50:59 debian dhclient: For info, please visit https://www.isc.org/software/dhcp/ Dec 1 18:50:59 debian dhclient: Dec 1 18:50:59 debian NetworkManager[2001]: <info> (wlan1): DHCPv4 state changed nbi -> preinit Dec 1 18:50:59 debian dhclient: Listening on LPF/wlan1/00:e0:4c:82:d8:71 Dec 1 18:50:59 debian dhclient: Sending on LPF/wlan1/00:e0:4c:82:d8:71 Dec 1 18:50:59 debian dhclient: Sending on Socket/fallback Dec 1 18:51:00 debian dhclient: DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7 Dec 1 18:51:00 debian dhclient: DHCPOFFER from 192.168.1.1 Dec 1 18:51:00 debian dhclient: DHCPREQUEST on wlan1 to 255.255.255.255 port 67 Dec 1 18:51:00 debian dhclient: DHCPACK from 192.168.1.1 Dec 1 18:51:00 debian NetworkManager[2001]: <info> (wlan1): DHCPv4 state changed preinit -> bound Dec 1 18:51:00 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 4 of 5 (IP4 Configure Get) scheduled... Dec 1 18:51:00 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 4 of 5 (IP4 Configure Get) started... Dec 1 18:51:00 debian NetworkManager[2001]: <info> address 192.168.1.109 Dec 1 18:51:00 debian NetworkManager[2001]: <info> prefix 24 (255.255.255.0) Dec 1 18:51:00 debian NetworkManager[2001]: <info> gateway 192.168.1.1 Dec 1 18:51:00 debian NetworkManager[2001]: <info> nameserver '202.106.195.68' Dec 1 18:51:00 debian NetworkManager[2001]: <info> nameserver '202.106.46.151' Dec 1 18:51:00 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 5 of 5 (IP Configure Commit) scheduled... Dec 1 18:51:00 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 4 of 5 (IP4 Configure Get) complete. Dec 1 18:51:00 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 5 of 5 (IP Configure Commit) started... Dec 1 18:51:00 debian avahi-daemon[1700]: Joining mDNS multicast group on interface wlan1.IPv4 with address 192.168.1.109. Dec 1 18:51:00 debian avahi-daemon[1700]: New relevant interface wlan1.IPv4 for mDNS. Dec 1 18:51:00 debian avahi-daemon[1700]: Registering new address record for 192.168.1.109 on wlan1.IPv4. Dec 1 18:51:00 debian dhclient: bound to 192.168.1.101 -- renewal in 2956 seconds. Dec 1 18:51:01 debian NetworkManager[2001]: <info> (wlan1): device state change: 7 -> 8 (reason 0) Dec 1 18:51:01 debian NetworkManager[2001]: <info> Policy set 'Auto TP-LINK' (wlan1) as default for IPv4 routing and DNS. Dec 1 18:51:01 debian NetworkManager[2001]: <info> Activation (wlan1) successful, device activated. Dec 1 18:51:01 debian NetworkManager[2001]: <info> Activation (wlan1) Stage 5 of 5 (IP Configure Commit) complete. Dec 1 18:51:06 debian avahi-daemon[1700]: Interface wlan1.IPv4 no longer relevant for mDNS. Dec 1 18:51:06 debian avahi-daemon[1700]: Leaving mDNS multicast group on interface wlan1.IPv4 with address 192.168.1.109. Dec 1 18:51:06 debian dhclient: receive_packet failed on wlan1: Network is down Dec 1 18:51:06 debian dhclient: receive_packet failed on wlan1: Network is down Dec 1 18:51:06 debian NetworkManager[2001]: <info> (wlan1): supplicant connection state: completed -> disconnected Dec 1 18:51:06 debian NetworkManager[2001]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/net/wlan1, iface: wlan1) Dec 1 18:51:06 debian avahi-daemon[1700]: Withdrawing address record for 192.168.1.109 on wlan1. Dec 1 18:51:06 debian avahi-daemon[1700]: Withdrawing workstation service for wlan1. Dec 1 18:51:06 debian wpa_supplicant[1835]: Failed to initialize the driver after interface was added. Dec 1 18:51:06 debian wpa_supplicant[1835]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 1 18:51:07 debian ntpdate[22932]: Can't find host 1.debian.pool.ntp.org: Name or service not known (-2) Dec 1 18:51:07 debian ntpdate[22932]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2) Dec 1 18:51:07 debian ntpdate[22932]: Can't find host 3.debian.pool.ntp.org: Name or service not known (-2) Dec 1 18:51:10 debian NetworkManager[2001]: <info> (wlan1): roamed from BSSID 00:11:22:33:44:55 (TP-LINK) to (none) ((none)) -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages network-manager depends on: ii adduser 3.112 add and remove users and groups ii dbus 1.2.24-3 simple interprocess messaging syst ii isc-dhcp-client 4.1.1-P1-15 ISC DHCP client ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr ii libgudev-1.0-0 164-2 GObject-based wrapper library for ii libnl1 1.1-6 library for dealing with netlink s ii libnm-glib2 0.8.1-4 network management framework (GLib ii libnm-util1 0.8.1-4 network management framework (shar ii libpolkit-gobject-1-0 0.96-4 PolicyKit Authorization API ii libuuid1 2.17.2-3.3 Universally Unique ID library ii lsb-base 3.2-26 Linux Standard Base 3.2 init scrip ii udev 164-2 /dev/ and hotplug management daemo ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I Versions of packages network-manager recommends: ii dnsmasq-base 2.55-2 A small caching DNS proxy and DHCP ii iptables 1.4.10-1 administration tools for packet fi ii modemmanager 0.4-1 D-Bus service for managing modems ii policykit-1 0.96-4 framework for managing administrat ii ppp 2.4.5-4 Point-to-Point Protocol (PPP) - da Versions of packages network-manager suggests: pn avahi-autoipd <none> (no description available) -- Configuration Files: /etc/NetworkManager/NetworkManager.conf changed: [main] plugins=ifupdown,keyfile no-auto-default=00:16:d3:22:98:ab, [ifupdown] managed=false -- no debconf information