[Pkg-utopia-maintainers] Bug#582574: Bug#582574: same here

Andreas B. Mundt andi.mundt at web.de
Thu Sep 23 18:20:07 UTC 2010


Hi Michael,

On Thu, Sep 23, 2010 at 12:58:28AM +0200, Michael Biebl wrote:
> On 22.09.2010 21:03, Andreas B. Mundt wrote:
>
> > same here: With NetworkManager killed, wlan works nicely, but as soon
> > as I start NetworkManager the connection is killed. Below find the
> 
> Could you please also send me your /etc/network/interfaces file, the output of
> nm-tool and ifconfig -a
> 

Here's the interfaces file and the output of the commands. The bridge
interfaces might be confusing, I use them to simulate two virtual
networks to test the debian-edu setup. I don't think they are related
to the problem. For me it looks like NetworkManager and wpa_supplicant
are fighting each other or something like that. Strange that
NetworkManager does not ignore the interfaces although I use:
$ cat /etc/NetworkManager/NetworkManager.conf 
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

However, here is the stuff. Let me know if I can test something or you
need more. (I will also try to debug a bit more if time
permits). IIRC I had the problem quite some time ago, but deinstalled
Networkmanager and more or less forgot about it. But now with squeeze
at the doorstep it's more important to find the cause.

/etc/network/interfaces (kind of a mess, sorry, but I post it as it is
currently (keys replaced by XXXX))
====================start============================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#auto eth0
iface eth0 inet dhcp
##iface eth0 inet static
##address 10.0.0.1
##netmask 255.255.255.0

auto wlan0
iface wlan0 inet dhcp
#allow-hotplug wlan0
      wireless-mode	Managed      
##      wpa-ssid XXXXX
      wpa-ssid OpenWrt
      wpa-psk "XXXXXXXX"
##      wpa-psk XXXXXXXXXXXXXXXXXXX

#iface wlan0 inet static
#      address 192.168.1.40
#      netmask 255.255.255.0
#      broadcast 192.168.1.255
#      gateway 192.168.1.1
#      wireless-mode	Managed      
#      wireless-key	XXXXXXX
#      wireless-keymode	open
#      wireless-essid	XXXXX

auto br0
iface br0 inet static
        address 10.0.2.1
        netmask 255.255.254.0
        broadcast 10.0.3.255
        network 10.0.2.0
        bridge_stp off
        bridge_fd 0
#	pre-up /usr/sbin/tunctl -g libvirt -t tap0 
#	pre-up ifconfig tap0 up 
	post-up /sbin/iptables -t nat -A POSTROUTING -s 10.0.2.1/255.255.254.0 \
        	! -d 10.0.2.1/255.255.254.0 -j MASQUERADE; \
		/sbin/sysctl net.netfilter.nf_conntrack_acct=1
        bridge_ports dummy0
	pre-down /sbin/iptables -t nat -D POSTROUTING -s 10.0.2.1/255.255.254.0 \
                ! -d 10.0.2.1/255.255.254.0 -j MASQUERADE; \
                /sbin/sysctl net.netfilter.nf_conntrack_acct=0
#	post-down ifconfig tap0 down
#	post-down tunctl -d tap0 

auto br1
iface br1 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        broadcast 192.168.0.255
        network 192.168.0.0
        bridge_stp off
        bridge_fd 0
        bridge_ports none
=========================end============================================

$ ifconfig -a
br0       Link encap:Ethernet  HWaddr 5e:49:61:f8:48:00  
          inet addr:10.0.2.1  Bcast:10.0.3.255  Mask:255.255.254.0
          inet6 addr: fe80::5c49:61ff:fef8:4800/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:43697 (42.6 KiB)

br1       Link encap:Ethernet  HWaddr ce:fa:24:9b:b5:d3  
          inet addr:192.168.0.1  Bcast:192.168.0.255
          Mask:255.255.255.0
          inet6 addr: fe80::ccfa:24ff:fe9b:b5d3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:43645 (42.6 KiB)

dummy0    Link encap:Ethernet  HWaddr 5e:49:61:f8:48:00  
          inet6 addr: fe80::5c49:61ff:fef8:4800/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:71777 (70.0 KiB)

eth0      Link encap:Ethernet  HWaddr 00:e0:81:54:32:66  
          BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:30 Base address:0x2000 

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:400 errors:0 dropped:0 overruns:0 frame:0
          TX packets:400 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:56814 (55.4 KiB)  TX bytes:56814 (55.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:17:3f:86:4e:8f  
          inet addr:192.168.1.198  Bcast:192.168.1.255
          Mask:255.255.255.0
          inet6 addr: fe80::217:3fff:fe86:4e8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10335377 (9.8 MiB)  TX bytes:1416867 (1.3 MiB)

===================================
start Networkmanager now .... connection is gone immediately ...

$ nm-tool

NetworkManager Tool

State: disconnected


** (process:3976): WARNING **: error: failed to read connections from
   org.freedesktop.NetworkManagerUserSettings:
    The name org.freedesktop.NetworkManagerUserSettings was not
   provided by any .service files
- Device: wlan0
   ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            b43
  State:             disconnected
  Default:           no
  HW Address:        00:17:3F:86:4E:8F

  Capabilities:

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

  Wireless Access Points 
    DasNetz:         Infra, 00:03:C9:7A:7C:52, Freq 2462 MHz, Rate 54
    Mb/s, Strength 64 WPA
    OpenWrt:         Infra, 00:23:69:C7:E9:AA, Freq 2432 MHz, Rate 54
    Mb/s, Strength 85 WPA2


- Device: eth0
  -----------------------------------------------------------------
  Type:              Wired
  Driver:            forcedeth
  State:             unmanaged
  Default:           no
  HW Address:        00:E0:81:54:32:66

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off

=========================
That's it. Hope it helps. (What's the warning/error?)

Regards, 
	 Andi





More information about the Pkg-utopia-maintainers mailing list