single radio interface, BSS count 2
green
greenfreedom10
Mon Feb 22 07:13:55 PST 2010
Jouni Malinen wrote at 2010-02-22 01:46 -0600:
> On Sun, Feb 21, 2010 at 08:29:05PM -0600, green wrote:
> > Jouni Malinen wrote at 2010-02-21 04:02 -0600:
> > > You can either change the MAC address of the wlan0 interface before
> > > starting hostapd (e.g., use a locally administered address
> > > 02:21:91:01:11:60)
> >
> > I think you meant 00: instead of 02:, unless you wanted that second digit
> > changed from the hardware MAC (I tried both ways).
>
> No, I did indeed mean 02: (that bit is the locally administered field
> for the address).
Okay. I will again try your suggestions, at the end of this message.
> > # ifconfig wlan0 hw ether 00:21:91:01:11:60
>
> > Using interface wlan0 with hwaddr 02:21:91:01:11:60 and ssid 'Welcome'
> > Failed to add BSS (BSSID=02:21:91:01:11:61)
> > wlan0: Unable to setup interface.
>
> Interesting.. I would have expected this to work. Would you be able to
> test this with a more recent kernel version (or compat-wireless for
> that matter)? I'll try to test this at some point, but may not be able
> to that until next week.
I will try with 2.6.32 also; see below.
> > > or set the MAC address of the virtual interface
> > > explicitly (e.g., with bssid=02:21:91:01:11:6f after the bss= line in
> > > hostapd.conf).
>
> > ## Return to original MAC
> > # ifconfig wlan0 hw ether 00:21:91:01:11:6f
> >
> > ## Add bssid line
> > # echo "bssid=00:21:91:01:11:6f" >> /etc/hostapd/hostapd.conf
>
> That is not correct. The second address really needs to be
> bssid=02:21:91:01:11:6f like I wrote.
Okay. Following is another attempt with 2.6.30. With 2.6.32 the results are
identical.
Jouni Malinen wrote at 2010-02-21 04:02 -0600:
> You can either change the MAC address of the wlan0 interface before starting
> hostapd (e.g., use a locally administered address 02:21:91:01:11:60)
## bssid is not specified in config
# ifconfig wlan0 hw ether 02:21:91:01:11:60
# hostapd -d /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=50 (from group name 'staff')
Opening raw packet socket for ifindex -843944955
BSS count 2, BSSID mask ff:ff:ff:ff:ff:fe (1 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x4
RATE[3] rate=110 flags=0x4
Passive scanning not supported
Mode: IEEE 802.11b Channel: 8 Frequency: 2447 MHz
Flushing old station entries
Deauthenticate all stations
Using interface wlan0 with hwaddr 02:21:91:01:11:60 and ssid 'Welcome'
Failed to add BSS (BSSID=02:21:91:01:11:61)
wlan0: Unable to setup interface.
Failed to remove interface.
Jouni Malinen wrote at 2010-02-21 04:02 -0600:
> or set the MAC address of the virtual interface explicitly (e.g., with
> bssid=02:21:91:01:11:6f after the bss= line in hostapd.conf).
## Return to original MAC
# ifconfig wlan0 hw ether 00:21:91:01:11:6f
## Add bssid line
# echo "bssid=02:21:91:01:11:6f" >> /etc/hostapd/hostapd.conf
# hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=50 (from group name 'staff')
Opening raw packet socket for ifindex -843944955
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
I don't see any other debug information from dmesg.
Now I will try out compat-wireless with 2.6.32.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20100222/aa5483ec/attachment-0001.pgp
More information about the Hostap
mailing list