Public bug reported:

Network Manager can't seem to deal with having two ethernet ports, with
eth0 not managed by it and eth1 managed as pppoe.  So I tried to disable
Network Manager by via the conf file shown below.  But it constantly
shows "Wired Network Disconnected" messages to me, and ifconfig -a
sometimes shows two attempts at ppp sessions.  ppp0 I set up on eth1,
and ppp1 Network Manager is trying to set up. It fails, repeatedly. I
want it to go away--I spent forever trying to get it to manage my
networks correctly and it just won't, so now I'll be happy to do it
myself if I can just get Network Manager to go away.  Please have
Network Manager recognize it is not supposed to do anything on my system
by reading its conf file.  Better yet, provide a way to specify that it
never start in the first place.

jack@datum:/etc/NetworkManager$ cat Net*conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false

jack@datum:/etc/NetworkManager$ cd /etc/network
jack@datum:/etc/network$ ls
if-down.d       if-pre-up.d  interfaces       run
if-post-down.d  if-up.d      interfaces_orig
jack@datum:/etc/network$ cat interfaces
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 10.10.1.6
netmask 255.255.255.0

jack@datum:/etc/network$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0f:ea:3a:f6:e2  
          inet addr:10.10.1.6  Bcast:10.10.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:eaff:fe3a:f6e2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:9927 (9.9 KB)
          Interrupt:18 Base address:0xc400 

eth1      Link encap:Ethernet  HWaddr 00:00:b5:94:41:a8  
          inet6 addr: fe80::200:b5ff:fe94:41a8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14058 errors:165 dropped:0 overruns:0 carrier:330
          collisions:0 txqueuelen:1000 
          RX bytes:10747217 (10.7 MB)  TX bytes:3126128 (3.1 MB)
          Interrupt:17 Base address:0x9000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:680 (680.0 B)  TX bytes:680 (680.0 B)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:61.69.25.247  P-t-P:10.100.101.7  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:12902 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13001 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:10446005 (10.4 MB)  TX bytes:2669923 (2.6 MB)

ppp1      Link encap:Point-to-Point Protocol  
          POINTOPOINT NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.4.0-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.2.0-33.52-generic 3.2.31
Uname: Linux 3.2.0-33-generic i686
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Date: Sun Nov 25 19:43:30 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IpRoute:
 default dev ppp0  scope link 
 10.10.1.0/24 dev eth0  proto kernel  scope link  src 10.10.1.6 
 10.100.101.7 dev ppp0  proto kernel  scope link  src 61.69.25.247 
 169.254.0.0/16 dev eth0  scope link  metric 1000
MarkForUpload: True
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
RfKill:
 
SourcePackage: network-manager
UpgradeStatus: Upgraded to precise on 2012-11-18 (7 days ago)
nmcli-con:
 NAME                      UUID                                   TYPE          
    TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   
DBUS-PATH                                 
 DSL connection 1          d64841f4-4cfc-4b1c-a24e-d49a8e026eda   pppoe         
    1353753433   Sat 24 Nov 2012 21:37:13 EST       yes           no         
/org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE     TYPE              STATE         DBUS-PATH                           
       
 eth0       802-3-ethernet    unmanaged     
/org/freedesktop/NetworkManager/Devices/1  
 eth1       802-3-ethernet    disconnected  
/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         disabled

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


** Tags: apport-bug i386 precise running-unity

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

Title:
  Network Manager not disabled when managed=false

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

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

Reply via email to