On 2010-07-11 11:07 AM, Patrick Grimm wrote: > Am Sonntag 11 Juli 2010, 02:07:20 schrieb Felix Fietkau: >> On 2010-07-11 12:22 AM, Patrick Grimm wrote: >> > Hi >> > >> > I have attached the config from my setup. >> > The follow Patch rename the default interface name from wl0 to wlan0 and >> > add >> >> Erm... why? > I am of the opinion that all interfaces wifi (broadcom, madwifi, ath9k) > should > have the same name eg wlan0. Here is the config with this patch. I think naming the wifi devices 'wlan0' at least on mac80211 would be a really bad choice. There already exists some confusion between the wifi-device (meaning the radio configuration) and the wifi-iface (meaning the virtual interface). Naming the wifi-device after the interface name of the virtual interface would only add to that confusion.
>> That part looks completely wrong. If your config had used >> this change, it wouldn't even have worked, since it the wifi-iface would >> have referred to a nonexistant wifi-device. >> >> > wl* to return 0 in the hotplug.d net config. >> >> That makes more sense. > OK I have split the Patch. By the way, that patch is only necessary to work around wrong settings in the config. You set network.wl0.ifname=wl0, and that part is unnecessary and wrong. Just leave out the ifname and let the wireless scripts bring up the network config. >> > That is testet with backfire branch and wrt54gl and WHR-G54S. >> >> Are you sure about that? The config that you posted doesn't seem to be >> based on that change. > Yes sure. Rename the wl0 interface to wlan0 in uci is the only way for the > user to fix this problem. See the config above. I think that's not because of an inherent issue with 'wl0', I think it may be caused by the fact that you named one of your network configurations the same as the wifi-device. - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel