On Sat, 2007-11-24 at 13:25 +0100, Piotr Roszatycki wrote: > The interface have to be set up. Without it, the iwconfig can't be > used. I'd rather want to convert it to newer udevd version that remove > it completly.
IIf the user can run iwconfig, he can also run ifconfig - or indeed "ifup". 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? 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 We should consider applying this to some or all of the other legacy drivers. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part