[Pkg-utopia-maintainers] Bug#465471: Bug#465471: Bug#465471: network-manager: fails to execute my firewall script

Mark Hedges hedges at scriptdolphin.org
Fri Apr 4 21:26:35 UTC 2008



On Fri, 4 Apr 2008, Michael Biebl wrote:
> Mark Hedges wrote:
> > On Thu, 3 Apr 2008, Michael Biebl wrote:
> >>> I have to run my firewall script manually after the interface
> >>> wlan0_rename comes up and the applet tells me it's connected.
> >> Do you rename your interface by udev? wlan0_rename should only be a
> >> temporary name. Maybe this is the problem.
> >
> > That seems to be the default behavior of udev.  How do I figure
> > that out or change it?
>
> See /etc/udev/rules.d/z25_persistent-net.rules
> Could you post the content of this file?

maggie:/etc/udev/rules.d# cat z25_persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules
# file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# PCI device 0x1180:0x0832 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0a:e4:07:30:21:02:49", NAME="eth0"

# PCI device 0x8086:0x1049 (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:d3:c8:63:07", NAME="eth1"

# PCI device 0x8086:0x4227 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1b:77:7c:9a:a5", NAME="eth2"

> There are known problems with NM and device names that contains dashes
> or underscores. So try to name the device something like wlan0

I don't know what is renaming it or where to change that, can you
provide more guidance?

I see first, renaming wmaster0 to eth2, but I never see a wmaster0
interface, then when DHCP tries to run in the boot sequence, it
first seems to try eth2, then says "eth2: unknown hardware address
type 801" and proceeds to try sending DHCP on eth1, which is not
even plugged in.  Is there another system trying to compete with the
network manager?

Mark





More information about the Pkg-utopia-maintainers mailing list