On Mon, Jun 30, 2008 at 2:35 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Mon, 2008-06-30 at 14:25 +0300, Tomas Winkler wrote: > >> The idea was ask troubled user to make change in modprobe.conf and not >> changing the code. > > Yeah but IMHO you're solving the wrong problem. If we want any > credibility we shouldn't allow users to ignore any regdom that easily, > and this is system-wide. Also, iwlwifi partly caused this problem in the > first place by printing out eeprom channels rather than having users use > "iwlist wlan0 channel" to see which channels are usable. Or even iw, > which shows you which are disabled. Unfortunately iwlist channel gives very little information about channels and iw is not distributed by any distro as far as I know. Here is little patch to help iw be more useful. --- a/iw.c +++ b/iw.c @@ -95,7 +95,7 @@ static void usage(char *argv0) fprintf(stderr, "Usage: %1$s dev <phydev> <OBJECT> <COMMAND> [OPTIONS]" "\n %1$s dev <phydev> info\n" "\n" - "where OBJECT := { interface | station | mpath }\n" + "where OBJECT := { interface | station | mpath | info }\n" "and COMMAND := { add | del | set | get | dump }\n", argv0); } Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html