NetworkManager in Intrepid manages wrong network connection

Bug #284189 reported by Jeffrey Ratcliffe
4
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: network-manager

This is my /etc/network/interfaces

auto lo
iface lo inet loopback

auto usb0
iface usb0 inet static
        address 192.168.0.200
        netmask 255.255.255.0
        network 192.168.0.0
        up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
        up echo 1 > /proc/sys/net/ipv4/ip_forward &
        up iptables -P FORWARD ACCEPT &
        down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &

The auto usb0 line and everything below is to allow my FreeRunner to
access the Internet whilst it is plugged into the desktop running
Intrepid. This worked fine with Hardy, which correctly assumed the unlisted eth0 should be primarily used via dhcp.

If I comment out auto usb0 and everything below, I can access the rest
of the network, but then, of course, my FreeRunner no longer has
Internet access.

I worked around this by

sudo apt-get remove network-manager

and then adding

auto eth0
iface eth0 inet dhcp

to my /etc/network/interfaces

Revision history for this message
Alexander Sack (asac) wrote :

does your usb0 device show up in hal with a "net.80203" capability ?

Changed in network-manager:
status: New → Incomplete
Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

Yes:

0: udi = '/org/freedesktop/Hal/devices/net_76_fb_9e_02_83_f1'
  net.interface = 'usb0' (string)
  info.category = 'net.80203' (string)
  net.address = '76:fb:9e:02:83:f1' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/net/usb0' (string)
  net.linux.ifindex = 10 (0xa) (int)
  info.subsystem = 'net' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1457_5122_noserial_if0' (string)
  net.arp_proto_hw_id = 1 (0x1) (int)
  info.product = 'Networking Interface' (string)
  info.udi = '/org/freedesktop/Hal/devices/net_76_fb_9e_02_83_f1' (string)
  linux.hotplug_type = 2 (0x2) (int)
  net.80203.mac_address = 130823059833841 (0x76fb9e0283f1) (uint64)
  linux.subsystem = 'net' (string)
  info.capabilities = { 'net', 'net.80203', 'wake_on_lan' } (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_names = { 'GetSupported', 'GetEnabled', 'SetEnabled' } (string list)
  info.interfaces = { 'org.freedesktop.Hal.Device.WakeOnLan' } (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_signatures = { '', '', 'b' } (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_argnames = { '', '', 'enable' } (string list)
  net.originating_device = '/org/freedesktop/Hal/devices/usb_device_1457_5122_noserial_if0' (string)
  org.freedesktop.Hal.Device.WakeOnLan.method_execpaths = { 'hal-system-wol-supported', 'hal-system-wol-enabled', 'hal-system-wol-enable' } (string list)

Changed in network-manager:
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release the Karmic Koala. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in network-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in network-manager (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.