Bug#451906: rt73-common: /etc/udev/rules.d/85-rt73.rules contains deprecated udev rule
Ben Hutchings
ben at decadent.org.uk
Sun Nov 25 12:56:33 UTC 2007
On Sun, 2007-11-25 at 13:47 +0100, Piotr Roszatycki wrote:
> 2007/11/25, Ben Hutchings <ben at decadent.org.uk>:
> > Now it looks like the Ralink drivers do not allow setting most wireless
> > parameters while they are down (though rt2500 alone seems to be more
> > flexible). Unfortunately, when using ifupdown and wireless-tools, this
> > is exactly what is attempted - see bug #403983. Is this what you were
> > trying to work around, Piotr?
>
> Yes, it is a workaround for this bug. Please, notice that udev rule is
> required also for i.e. rutilt and other similar utilities. I was very
> disappointed that rutilt didn't work after I plugged the wi-fi dongle.
I patched rutilt to work around this (018_up_and_down.diff). I believe
this has been applied upstream.
> > I think a better workaround would be include a pre-up script that does
> > something like:
> >
> > if [ x"$(basename "$(readlink /sys/class/net/"$IFACE"/device/driver)")" = x"rt73" ]; then
> > ifconfig "$IFACE" up
> > fi
>
> I think the pre script for ifupdown should be created even if udev
> rule is existing.
This should replace the udev rule. I know it's simpler to do this as
soon as the device is plugged in, but no other network interface is
brought up automatically like this, and we know the rule is likely to
break in future udev versions.
Ben.
--
Ben Hutchings
Computers are not intelligent. They only think they are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-ralink-maintainers/attachments/20071125/8d920394/attachment.pgp
More information about the Pkg-ralink-maintainers
mailing list