* SIOCSIFFLAGS: Name not unique on network with b43
@ 2009-12-09 23:46 Natale Vinto
2009-12-10 0:34 ` Pat Erley
0 siblings, 1 reply; 7+ messages in thread
From: Natale Vinto @ 2009-12-09 23:46 UTC (permalink / raw)
To: linux-wireless
Hi all,
I'm on Kubuntu 2.6.32-rc8-wl and according to lspci I have this Broadcom card:
Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
and modinfo b43:
filename:
/lib/modules/2.6.32-rc8-wl/kernel/drivers/net/wireless/b43/b43.ko
firmware: FW13
license: GPL
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description: Broadcom B43 wireless driver
srcversion: 77E3E0ECBCB6EA787FE05CF
alias: ssb:v4243id0812rev10*
alias: ssb:v4243id0812rev0F*
alias: ssb:v4243id0812rev0D*
alias: ssb:v4243id0812rev0B*
alias: ssb:v4243id0812rev0A*
alias: ssb:v4243id0812rev09*
alias: ssb:v4243id0812rev07*
alias: ssb:v4243id0812rev06*
alias: ssb:v4243id0812rev05*
depends: ssb,mac80211,led-class,cfg80211
vermagic: 2.6.32-rc8-wl mod_unload modversions PENTIUMM 4KSTACKS
parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames
Preemption (int)
parm: fwpostfix:Postfix for the .fw files to load. (string)
parm: hwpctl:Enable hardware-side power control (default off) (int)
parm: nohwcrypt:Disable hardware encryption. (int)
parm: hwtkip:Enable hardware tkip. (int)
parm: qos:Enable QOS support (default on) (int)
parm: btcoex:Enable Bluetooth coexistence (default on) (int)
parm: verbose:Log message verbosity: 0=error, 1=warn,
2=info(default), 3=debug (int)
My problem is that I would use multiple interfaces (as mentioned here
http://wireless.kernel.org/en/users/Drivers/b43#features ) using one
for AP and one for station but I always get this error while trying to
up the other interface:
SIOCSIFFLAGS: Name not unique on network
This is the command list that I've done:
service network-manager stop
iw phy phy0 interface add wlan1 type station (or managed)
ifconfig wlan1 up
then I used wpa_supplicant on wlan1 and all ok. But when I try to up
wlan0 that from iwconfig shows this:
wlan0 Link encap:Ethernet HWaddr 00:1a:73:xx:xx:xx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
or when I try to use hostapd:
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
ioctl[SIOCSIFFLAGS]: Name not unique on network
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=5 eloop_data=0x80f0a38 user_data=(nil)
handler=0x80874
so how to have multiple interfaces (in my case one AP and one station) with b43?
I haven't found a solution googling
Best Regards
--
Natale Vinto
http://www.gotext.org
http://bluesman.gotext.org
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: SIOCSIFFLAGS: Name not unique on network with b43
2009-12-09 23:46 SIOCSIFFLAGS: Name not unique on network with b43 Natale Vinto
@ 2009-12-10 0:34 ` Pat Erley
2009-12-10 1:12 ` Natale Vinto
0 siblings, 1 reply; 7+ messages in thread
From: Pat Erley @ 2009-12-10 0:34 UTC (permalink / raw)
To: Natale Vinto; +Cc: linux-wireless
Natale Vinto wrote:
> Hi all,
> I'm on Kubuntu 2.6.32-rc8-wl and according to lspci I have this Broadcom card:
> Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
> and modinfo b43:
>
> filename:
> /lib/modules/2.6.32-rc8-wl/kernel/drivers/net/wireless/b43/b43.ko
> firmware: FW13
> license: GPL
> author: Gábor Stefanik
> author: Michael Buesch
> author: Stefano Brivio
> author: Martin Langer
> description: Broadcom B43 wireless driver
> srcversion: 77E3E0ECBCB6EA787FE05CF
> alias: ssb:v4243id0812rev10*
> alias: ssb:v4243id0812rev0F*
> alias: ssb:v4243id0812rev0D*
> alias: ssb:v4243id0812rev0B*
> alias: ssb:v4243id0812rev0A*
> alias: ssb:v4243id0812rev09*
> alias: ssb:v4243id0812rev07*
> alias: ssb:v4243id0812rev06*
> alias: ssb:v4243id0812rev05*
> depends: ssb,mac80211,led-class,cfg80211
> vermagic: 2.6.32-rc8-wl mod_unload modversions PENTIUMM 4KSTACKS
> parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames
> Preemption (int)
> parm: fwpostfix:Postfix for the .fw files to load. (string)
> parm: hwpctl:Enable hardware-side power control (default off) (int)
> parm: nohwcrypt:Disable hardware encryption. (int)
> parm: hwtkip:Enable hardware tkip. (int)
> parm: qos:Enable QOS support (default on) (int)
> parm: btcoex:Enable Bluetooth coexistence (default on) (int)
> parm: verbose:Log message verbosity: 0=error, 1=warn,
> 2=info(default), 3=debug (int)
>
> My problem is that I would use multiple interfaces (as mentioned here
> http://wireless.kernel.org/en/users/Drivers/b43#features ) using one
> for AP and one for station but I always get this error while trying to
> up the other interface:
> SIOCSIFFLAGS: Name not unique on network
>
> This is the command list that I've done:
>
> service network-manager stop
> iw phy phy0 interface add wlan1 type station (or managed)
> ifconfig wlan1 up
>
> then I used wpa_supplicant on wlan1 and all ok. But when I try to up
> wlan0 that from iwconfig shows this:
> wlan0 Link encap:Ethernet HWaddr 00:1a:73:xx:xx:xx
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> or when I try to use hostapd:
> Configuration file: /etc/hostapd/hostapd.conf
> ctrl_interface_group=0
> ioctl[SIOCSIFFLAGS]: Name not unique on network
> nl80211 driver initialization failed.
> wlan0: Unable to setup interface.
> rmdir[ctrl_interface]: No such file or directory
> ELOOP: remaining socket: sock=5 eloop_data=0x80f0a38 user_data=(nil)
> handler=0x80874
>
> so how to have multiple interfaces (in my case one AP and one station) with b43?
> I haven't found a solution googling
>
> Best Regards
>
>
>
You need to change the mac address of one of the wireless interfaces. I don't know if multiple vifs works with b43, though, only tested with ath9k.
Pat
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SIOCSIFFLAGS: Name not unique on network with b43
2009-12-10 0:34 ` Pat Erley
@ 2009-12-10 1:12 ` Natale Vinto
2009-12-10 15:03 ` Michael Buesch
0 siblings, 1 reply; 7+ messages in thread
From: Natale Vinto @ 2009-12-10 1:12 UTC (permalink / raw)
To: linux-wireless
Hi,
I've changed the mac of the AP interface for example, using
macchanger. Then I've created a managed wlan1 one but now I got:
SIOCSIFFLAGS: Operation not supported
while trying to up it
2009/12/10 Pat Erley <pat-lkml@erley.org>:
> Natale Vinto wrote:
>> Hi all,
>> I'm on Kubuntu 2.6.32-rc8-wl and according to lspci I have this Broadcom card:
>> Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
>> and modinfo b43:
>>
>> filename:
>> /lib/modules/2.6.32-rc8-wl/kernel/drivers/net/wireless/b43/b43.ko
>> firmware: FW13
>> license: GPL
>> author: Gábor Stefanik
>> author: Michael Buesch
>> author: Stefano Brivio
>> author: Martin Langer
>> description: Broadcom B43 wireless driver
>> srcversion: 77E3E0ECBCB6EA787FE05CF
>> alias: ssb:v4243id0812rev10*
>> alias: ssb:v4243id0812rev0F*
>> alias: ssb:v4243id0812rev0D*
>> alias: ssb:v4243id0812rev0B*
>> alias: ssb:v4243id0812rev0A*
>> alias: ssb:v4243id0812rev09*
>> alias: ssb:v4243id0812rev07*
>> alias: ssb:v4243id0812rev06*
>> alias: ssb:v4243id0812rev05*
>> depends: ssb,mac80211,led-class,cfg80211
>> vermagic: 2.6.32-rc8-wl mod_unload modversions PENTIUMM 4KSTACKS
>> parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames
>> Preemption (int)
>> parm: fwpostfix:Postfix for the .fw files to load. (string)
>> parm: hwpctl:Enable hardware-side power control (default off) (int)
>> parm: nohwcrypt:Disable hardware encryption. (int)
>> parm: hwtkip:Enable hardware tkip. (int)
>> parm: qos:Enable QOS support (default on) (int)
>> parm: btcoex:Enable Bluetooth coexistence (default on) (int)
>> parm: verbose:Log message verbosity: 0=error, 1=warn,
>> 2=info(default), 3=debug (int)
>>
>> My problem is that I would use multiple interfaces (as mentioned here
>> http://wireless.kernel.org/en/users/Drivers/b43#features ) using one
>> for AP and one for station but I always get this error while trying to
>> up the other interface:
>> SIOCSIFFLAGS: Name not unique on network
>>
>> This is the command list that I've done:
>>
>> service network-manager stop
>> iw phy phy0 interface add wlan1 type station (or managed)
>> ifconfig wlan1 up
>>
>> then I used wpa_supplicant on wlan1 and all ok. But when I try to up
>> wlan0 that from iwconfig shows this:
>> wlan0 Link encap:Ethernet HWaddr 00:1a:73:xx:xx:xx
>> BROADCAST MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>>
>> or when I try to use hostapd:
>> Configuration file: /etc/hostapd/hostapd.conf
>> ctrl_interface_group=0
>> ioctl[SIOCSIFFLAGS]: Name not unique on network
>> nl80211 driver initialization failed.
>> wlan0: Unable to setup interface.
>> rmdir[ctrl_interface]: No such file or directory
>> ELOOP: remaining socket: sock=5 eloop_data=0x80f0a38 user_data=(nil)
>> handler=0x80874
>>
>> so how to have multiple interfaces (in my case one AP and one station) with b43?
>> I haven't found a solution googling
>>
>> Best Regards
>>
>>
>>
> You need to change the mac address of one of the wireless interfaces. I don't know if multiple vifs works with b43, though, only tested with ath9k.
>
> Pat
>
--
Natale Vinto
http://www.gotext.org
http://bluesman.gotext.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SIOCSIFFLAGS: Name not unique on network with b43
2009-12-10 1:12 ` Natale Vinto
@ 2009-12-10 15:03 ` Michael Buesch
2009-12-10 20:50 ` Natale Vinto
0 siblings, 1 reply; 7+ messages in thread
From: Michael Buesch @ 2009-12-10 15:03 UTC (permalink / raw)
To: Natale Vinto; +Cc: linux-wireless
On Thursday 10 December 2009 02:12:37 Natale Vinto wrote:
> Hi,
> I've changed the mac of the AP interface for example, using
> macchanger. Then I've created a managed wlan1 one but now I got:
> SIOCSIFFLAGS: Operation not supported
So the next step is to read that error message. It tells you exactly what's
going on: Operation not supported
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SIOCSIFFLAGS: Name not unique on network with b43
2009-12-10 15:03 ` Michael Buesch
@ 2009-12-10 20:50 ` Natale Vinto
2009-12-10 20:54 ` Michael Buesch
0 siblings, 1 reply; 7+ messages in thread
From: Natale Vinto @ 2009-12-10 20:50 UTC (permalink / raw)
To: linux-wireless
> So the next step is to read that error message. It tells you exactly what's
> going on: Operation not supported
:-)
But why in the Driver page there is written that b43 works with
multiple interfaces? This means that I can create for example two
interfaces but I can't use both?
Best Regards
--
Natale
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SIOCSIFFLAGS: Name not unique on network with b43
2009-12-10 20:50 ` Natale Vinto
@ 2009-12-10 20:54 ` Michael Buesch
2009-12-10 21:05 ` Natale Vinto
0 siblings, 1 reply; 7+ messages in thread
From: Michael Buesch @ 2009-12-10 20:54 UTC (permalink / raw)
To: Natale Vinto; +Cc: linux-wireless
On Thursday 10 December 2009 21:50:57 Natale Vinto wrote:
> > So the next step is to read that error message. It tells you exactly what's
> > going on: Operation not supported
> :-)
>
> But why in the Driver page there is written that b43 works with
> multiple interfaces? This means that I can create for example two
> interfaces but I can't use both?
You can use multiple monitor interfaces simultaneously with a sta or ap interface.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-12-10 21:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 23:46 SIOCSIFFLAGS: Name not unique on network with b43 Natale Vinto
2009-12-10 0:34 ` Pat Erley
2009-12-10 1:12 ` Natale Vinto
2009-12-10 15:03 ` Michael Buesch
2009-12-10 20:50 ` Natale Vinto
2009-12-10 20:54 ` Michael Buesch
2009-12-10 21:05 ` Natale Vinto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).