Search Linux Wireless

Re: SIOCSIFFLAGS: Name not unique on network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 23, 2009 at 2:21 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Thu, 2009-01-22 at 16:19 +0100, Chanthearith HUON wrote:
>
>> This wireless card is not listed
>> in http://linuxwireless.org/en/users/Devices
>> <http://linuxwireless.org/en/users/Devices>
>> but the driver is in the
>> list http://linuxwireless.org/en/developers/Documentation/mac80211#mac80211drivers
>> <http://linuxwireless.org/en/developers/Documentation/mac80211#mac80211drivers>
>
> But it's listed here:
> http://linuxwireless.org/en/users/Drivers
>
> -- as not supporting mesh.
>
>> The OS is ubuntu Intrepid Ibex 8.10 with kernel 2.6.27-9-generic
>>
>> After creating new interface for mesh "iw dev wlan0 interface add mesh
>> type mp mesh_id 100". I turned the mesh interface up by "ifconfig mesh up".
>> I got following error message
>> " SIOCSIFFLAGS: Name not unique on network "
>
> That's strange, it should not have allowed you to add the interface in
> the first place. But then, you're using an ancient kernel anyway...
>
> johannes
>

That's indeed strange: the iwl3945 (along with the other Intel cards)
definitely doesn't support mesh but I was able to add an interface as
well on my Ubuntu box (2.6.27-9).  I think the reason is that iwlwifi
doesn't explicitly test for interfaces it actually supports:

static int iwl3945_mac_add_interface(struct ieee80211_hw *hw,
                                 struct ieee80211_if_init_conf *conf)
{
        struct iwl_priv *priv = hw->priv;
        unsigned long flags;

        IWL_DEBUG_MAC80211("enter: type %d\n", conf->type);

        if (priv->vif) {
                IWL_DEBUG_MAC80211("leave - vif != NULL\n");
                return -EOPNOTSUPP;
        }
<snip>
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux