I am trying to disable the wireless connection for 2 reasons

1)  I have a wired connection and never use the wireless connection
    except for testing purposes

2)  The 'rt2860sta' driver currently has annoying debug messages turned
    on that spam the kernel log, in my case, every minute.

The method I used to disable wireless was, per the friendly manual
(man NetworkManager.conf), to include the 'keyfile' plugin and 
and include the wireless adapter MAC address in the list of 
'unmanaged-devices':

unmanaged-devices=mac:01:02:03:04:05:06

This works fine, the driver doesn't spam the log, and nm-applet
shows 'device not managed' under the 'Wireless' section.  But after
reboot, it shows as 'Disconnected' and I get spam again.  The quickest
way to get back to some normalcy is to uncheck 'Enable Wireless' in 
nm-applet, but that will be overridden the next time the system thaws
from sleep or is rebooted.  The root cause seems to be that nm-applet is
not honoring the 'NetworkManager.conf' file, perhaps by assuming some
default settings based on state changes?  

I have attached some log files you requested from the OP, hopefully
the names are descriptive enough.  I wasn't able to boot from LiveCD
because I don't have a CD-ROM.  I do not have a special script in 
/etc/init.d/ to tell NM to sleep/wake on shutdown.   


 
NetworkManager[26174]:    SCPlugin-Ifupdown: init!
NetworkManager[26174]:    SCPlugin-Ifupdown: update_system_hostname
NetworkManager[26174]:    SCPluginIfupdown: management mode: managed
NetworkManager[26174]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:04:00.0/net/eth0, iface: eth0)
NetworkManager[26174]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:04:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
NetworkManager[26174]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0, iface: wlan0)
NetworkManager[26174]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
NetworkManager[26174]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
NetworkManager[26174]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
NetworkManager[26174]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/pan0, iface: pan0)
NetworkManager[26174]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/pan0, iface: pan0): no ifupdown configuration found.
NetworkManager[26174]:    SCPlugin-Ifupdown: end _init.
NetworkManager[26174]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
NetworkManager[26174]: <info> Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
NetworkManager[26174]:    SCPlugin-Ifupdown: (161405216) ... get_connections.
NetworkManager[26174]:    SCPlugin-Ifupdown: (161405216) connections count: 0
NetworkManager[26174]: <debug> [1296240853.376534] [nm-manager.c:1564] add_device(): (eth0): found existing device connection 'Auto eth0'
NetworkManager[26174]: <info> (eth0): now managed
NetworkManager[26174]: <info> (eth0): device state change: 1 -> 2 (reason 41)
NetworkManager[26174]: <debug> [1296240853.377654] [nm-device.c:3692] nm_device_state_changed(): (eth0): device is available, will transition to DISCONNECTED
NetworkManager[26174]: <debug> [1296240853.378344] [nm-manager.c:1588] add_device(): (eth0): will attempt to assume existing connection
NetworkManager[26174]: <info> Activation (eth0) starting connection 'Auto eth0'
NetworkManager[26174]: <info> (eth0): device state change: 2 -> 7 (reason 0)
NetworkManager[26174]: <debug> [1296240853.379927] [nm-device.c:2626] delayed_transitions_clear(): (eth0): clearing unavailable->disconnected transition
NetworkManager[26174]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
/sbin/ifup: interface lo already configured
NetworkManager[26174]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager[26174]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
NetworkManager[26174]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager[26174]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
NetworkManager[26174]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
NetworkManager[26174]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
NetworkManager[26174]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
NetworkManager[26174]: <info> (eth0): device state change: 7 -> 8 (reason 0)
NetworkManager[26174]: <info> Activation (eth0) successful, device activated.
NetworkManager[26174]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
NetworkManager Tool

State: connected

- Device: eth0  [Auto eth0] ----------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             connected
  Default:           yes
  HW Address:        00:22:15:D2:3D:7D

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.2.45
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.2.1

    DNS:             127.0.0.1
    DNS:             192.168.2.1


- Device: wlan0 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2860
  State:             disconnected
  Default:           no
  HW Address:        00:22:43:14:82:0F

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 
    belkin54g:       Infra, 00:11:50:0F:11:25, Freq 2462 MHz, Rate 0 Mb/s, Strength 100 WEP


Reply via email to