Public bug reported:

I set up a br0 (bridge) network on my destop PC in order to allow my
virtual machines via KVM to be directly on my LAN instead of natted.
Below is my /etc/network/interfaces file  The problem is that when
logged in to the X session, NetworkManager reports (via D-Bus) that I
have no network connection.  Any desktop apps that rely on this D-Bus
message won't connect.  Empathy is a big one that fits in this category.
I am forced to assign my eth0 NIC an IP address of 127.0.0.1.  This is a
bad practice.  NetworkManager needs to either understand bridges or have
an override of some type.  Can I simply remove NetworkManager as a work
around?  Will the lack of an application producing the network connected
D-Bus messge mean that no app will think I am network connected?

auto lo
iface lo inet loopback

auto br0 eth0
iface br0 inet dhcp
  hwaddress 00:25:61:43:bb:b8
  pre-up brctl addbr br0
  pre-up brctl addif br0 eth0
  pre-up ifconfig eth0 0.0.0.0
  pre-down brctl delif br0 eth0
  post-down ifconfig eth0 down
  post-down brctl delbr br0

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.1.90-0ubuntu5.1
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Wed Mar 21 07:35:26 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
IpRoute:
 default via 192.168.15.1 dev br0  metric 100 
 127.0.0.0/16 dev eth0  proto kernel  scope link  src 127.0.0.1  metric 1 
 169.254.0.0/16 dev br0  scope link  metric 1000 
 192.168.15.0/24 dev br0  proto kernel  scope link  src 192.168.15.2 
 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
 WimaxEnabled=true
RfKill:
 
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.NetworkManager.NetworkManager.conf: 
2012-03-16T06:28:55.603766

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


** Tags: amd64 apport-bug oneiric running-unity

-- 
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/961089

Title:
  NetworkManager does not understand that a bridge is an active net
  connection

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  I set up a br0 (bridge) network on my destop PC in order to allow my
  virtual machines via KVM to be directly on my LAN instead of natted.
  Below is my /etc/network/interfaces file  The problem is that when
  logged in to the X session, NetworkManager reports (via D-Bus) that I
  have no network connection.  Any desktop apps that rely on this D-Bus
  message won't connect.  Empathy is a big one that fits in this
  category.  I am forced to assign my eth0 NIC an IP address of
  127.0.0.1.  This is a bad practice.  NetworkManager needs to either
  understand bridges or have an override of some type.  Can I simply
  remove NetworkManager as a work around?  Will the lack of an
  application producing the network connected D-Bus messge mean that no
  app will think I am network connected?

  auto lo
  iface lo inet loopback

  auto br0 eth0
  iface br0 inet dhcp
    hwaddress 00:25:61:43:bb:b8
    pre-up brctl addbr br0
    pre-up brctl addif br0 eth0
    pre-up ifconfig eth0 0.0.0.0
    pre-down brctl delif br0 eth0
    post-down ifconfig eth0 down
    post-down brctl delbr br0

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.1.90-0ubuntu5.1
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Wed Mar 21 07:35:26 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  IpRoute:
   default via 192.168.15.1 dev br0  metric 100 
   127.0.0.0/16 dev eth0  proto kernel  scope link  src 127.0.0.1  metric 1 
   169.254.0.0/16 dev br0  scope link  metric 1000 
   192.168.15.0/24 dev br0  proto kernel  scope link  src 192.168.15.2 
   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
   WimaxEnabled=true
  RfKill:
   
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.NetworkManager.NetworkManager.conf: 
2012-03-16T06:28:55.603766

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to