Public bug reported:

I have a dhcp server configured on wlan0, which is set up with a static
IP address and other configuration info in /etc/network/interfaces. By
rule, the Network Manager should completely ignore the device, when it
has settings for it defined in the mentioned file. But it seems to
ignore that. Then I added a configuration directive in
/etc/NetworkManager/nm-system-settings.conf as unmanaged-
devices=mac:xx:xx:xx:xx:xx, which works until I log into gnome.

When I log into gnome, the Network Manager icon is missing, and I have
to do the following to get the icon in the desktop, as well as, the
network device:

sudo killall NetworkManger -9
sudo ifdown wlan0
sudo ifup wlan0

/etc/NetworkManager/nm-system-settings.conf content:

# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default.  To override, specify: '--config file'
# during NM startup.  This can be done by appending to DAEMON_OPTS in
# the file:
#
# /etc/default/NetworkManager
#

[main]
plugins=ifupdown,keyfile

no-auto-default=e6:6e:3f:60:d2:be,6e:92:ba:a9:ad:fc

[ifupdown]
managed=false

[keyfile]
#following mac is fake
unmanaged-devices=mac:00:23:21:af:23:45

/etc/network/interfaces content:

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
 address 192.168.0.1
 network        192.168.0.0
 netmask 255.255.255.0
 broadcast 192.168.0.255
 wireless-mode ad-hoc
 wireless-channel 11
 wireless-essid merty
 wireless-key AAAAAAAAAA

My system is a Ubuntu 10.04 fully up to date with wlan0 a Ralink RT2561
pci card.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  I have a dhcp server configured on wlan0, which is set up with a static
  IP address and other configuration info in /etc/network/interfaces. By
  rule, the Network Manager should completely ignore the device, when it
  has settings for it defined in the mentioned file. But it seems to
  ignore that. Then I added a configuration directive in
  /etc/NetworkManager/nm-system-settings.conf as unmanaged-
  devices=mac:xx:xx:xx:xx:xx, which works until I log into gnome.
  
  When I log into gnome, the Network Manager icon is missing, and I have
  to do the following to get the icon in the desktop, as well as, the
+ network device:
  
  sudo killall NetworkManger -9
  sudo ifdown wlan0
  sudo ifup wlan0
  
  /etc/NetworkManager/nm-system-settings.conf content:
  
- # This file is installed into /etc/NetworkManager, and is loaded by 
- # NetworkManager by default.  To override, specify: '--config file' 
- # during NM startup.  This can be done by appending to DAEMON_OPTS in 
+ # This file is installed into /etc/NetworkManager, and is loaded by
+ # NetworkManager by default.  To override, specify: '--config file'
+ # during NM startup.  This can be done by appending to DAEMON_OPTS in
  # the file:
  #
  # /etc/default/NetworkManager
  #
  
  [main]
  plugins=ifupdown,keyfile
  
  no-auto-default=e6:6e:3f:60:d2:be,6e:92:ba:a9:ad:fc
  
  [ifupdown]
  managed=false
  
  [keyfile]
  #following mac is fake
  unmanaged-devices=mac:00:23:21:af:23:45
  
- 
  /etc/network/interfaces content:
  
  auto lo
  iface lo inet loopback
  
  auto wlan0
  iface wlan0 inet static
-       address 192.168.0.1
-       network 192.168.0.0
-       netmask 255.255.255.0
-       broadcast 192.168.0.255
-       wireless-mode ad-hoc
-       wireless-channel 11
-       wireless-essid merty
-       wireless-key AAAAAAAAAA
+  address 192.168.0.1
+  network      192.168.0.0
+  netmask 255.255.255.0
+  broadcast 192.168.0.255
+  wireless-mode ad-hoc
+  wireless-channel 11
+  wireless-essid merty
+  wireless-key AAAAAAAAAA
  
  My system is a Ubuntu 10.04 fully up to date with wlan0 a Ralink RT2561
  pci card.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886379

Title:
  network manager unmanaged device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/886379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to