Bug#414557: fails to create ath1 if ath0 is not present

Uwe Kleine-König ukleinek at informatik.uni-freiburg.de
Mon Aug 27 19:20:11 UTC 2007


Hello,

Kel Modderman wrote:
> On Tue, 13 Mar 2007 12:11:40 am Uwe Kleine-König wrote:
> > Package: madwifi-tools
> > Version: 1:0.9.2+dfsg-1
> > Severity: normal
> >
> > Hello,
> >
> > I'm not sure if that's a problem with madwifi-tools or the kernel
> > driver.  FWIW, I using version 0.9.2+r1842.20061207-2 of the kernel
> > driver.
> >
> > 	root at cepheus:~# ifconfig -a | grep ath
> > 	root at cepheus:~# wlanconfig ath1 create wlandev wifi0 wlanmode sta
> > 	ath1
> > 	root at cepheus:~# ifconfig -a | grep ath
> > 	ath0      Link encap:Ethernet  HWaddr 00:11:xx:xx:xx:xx
> >
> > So ath0 is created instead of ath1.  This happens to jumble ifupdown.
> 
> I think this may be udev rules, check:
> 
> /etc/udev/rules.d/z25_persistent-net.rules
> 
> for rules with athX.
Currently I have:

	# PCI device 0x168c:0x0013 (ath_pci)
	SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:11:95:bb:42:d6", ATTRS{type}=="1", NAME="ath0"

	# PCI device 0x168c:0x0013 (ath_pci)
	SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="06:11:95:bb:42:d6", ATTRS{type}=="1", NAME="ath1"

	# PCI device 0x168c:0x0013 (ath_pci)
	SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="0a:11:95:bb:42:d6", ATTRS{type}=="1", NAME="ath2"

	# PCI device 0x168c:0x0013 (ath_pci)
	SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:0e:c4:82:3b", ATTRS{type}=="1", NAME="ath3"

But I cannot do further tests now, because I currently access the
machine via this device.  For now I cannot even say if these lines where
already there when I reported the bug.

If your guess is right, do you have a suggestion how to fix the problem?
Is it an udev bug?

I will look into this issue later when I have physical access to the
machine again.  Thanks for now.

Uwe

-- 
Uwe Kleine-König

Set the I_WANT_A_BROKEN_PS environment variable to force BSD syntax ...
	-- manpage of procps




More information about the Pkg-madwifi-maintainers mailing list