Multiple SSID hostapd centos 6.4

Kf Lee kflee2000
Tue Nov 19 01:00:34 PST 2013


HI,

I just follow the link you mentioned above and found a number of
issues when tested under my LinuxMint 15 using hostapd v2.0 :

1) I follow the example and create an /etc/network/interaces as follow:

  auto lo
 iface lo inet loopback

 iface eth0 inet static
 address 192.168.1.111
 netmask 255.255.255.0
 gateway 192.168.1.5

 auto eth0

 # Mac of PC wlan0: 7c:dd:90:44:50:f8

 auto wlan0
 allow-hotplug wlan0
 iface wlan0 inet static
 #  hostapd /etc/hostapd/hostapd.conf                -----> not sure
you can put a sh comand here?
   address 10.0.0.1
   netmask 255.255.255.0
 #  pre-up ifconfig wlan0 hw ether 02:dd:90:44:50:f0   --> no such
pre-up command in my Linux

 auto wlan0_0
 allow-hotplug wlan0_0
 auto wlan0_1
 allow-hotplug wlan0_1

 auto wlan0_2
 allow-hotplug wlan0_2

2) I follow the example and create a hostapd.conf as follow:

interface=wlan0
 driver=nl80211
 #bssid=02:dd:90:44:50:f0         ---> this has to be comment out, otherwise
 ctrl_interface=/var/run/hostapd
 ctrl_interface_group=0
 ssid=TEST19A
 hw_mode=g
 channel=8
 wpa=2
 wpa_passphrase=aabb327119
 wpa_key_mgmt=WPA-PSK
 wpa_pairwise=CCMP
 rsn_pairwise=CCMP
 beacon_int=100
 auth_algs=3
 wmm_enabled=1

 bss=wlan0_0
 ssid=TEST19A0
 wpa=2
 wpa_passphrase=0000327119
 wpa_key_mgmt=WPA-PSK
 rsn_pairwise=CCMP


 bss=wlan0_1
 ssid=TEST19A1
 wpa=2
 wpa_passphrase=1111327119
 wpa_key_mgmt=WPA-PSK
 rsn_pairwise=CCMP

 bss=wlan0_2
 ssid=TEST19A2
 wpa=2
 wpa_passphrase=2222327119
 wpa_key_mgmt=WPA-PSK
 rsn_pairwise=CCMP

At start up of hostapd, I get this message:

 Configuration file: ./hostapd.conf
 Failed to update rate sets in kernel module
 Using interface wlan0 with hwaddr 7c:dd:90:44:50:f8 and ssid 'TEST19A'
 Using interface wlan0_0 with hwaddr 7c:dd:90:44:50:f9 and ssid 'TEST19A0'
 Using interface wlan0_1 with hwaddr 7c:dd:90:44:50:fa and ssid 'TEST19A1'
 Using interface wlan0_2 with hwaddr 7c:dd:90:44:50:fb and ssid 'TEST19A2'
 wlan0_2: STA 38:16:d1:74:f9:a5 IEEE 802.11: authenticated
 wlan0_2: STA 38:16:d1:74:f9:a5 IEEE 802.11: associated (aid 1)
 WPA: wpa_sm_step() called recursively

The questions:

3) What the article said to change 02 and end with 0 for Mac to be
bssid, would not be accepted by
Hostapd,  so I have to comment it out as shown above.

4) What is this rate set failure?

5) This set up almost work: From my mobile phone, I can see all 4
SSIDs and I can even use TEST19A normally.  But the connection to
TEST19A0 or A1 or A2 would not get accepted. So obviously there are
still something wrong with the script.

6) So, the concluding questions are where to put these lines mentioned
in the artile??

    ifconfig wlan0 hw ether 02:dd:90:44:50:f0
    bssid=02:dd:90:44:50:f0

rgds,
kfl.







On Tue, Nov 19, 2013 at 8:46 AM, Frank Posito <frank.posito at gmail.com> wrote:
> Hello,
>
> I am trying to setup mutiple SSID with the goal of having VLAN tagging
> on each SSID
>
> I am using hostapd v2.0 on Centos6.4
> The chipset is Atheros AR9271 (WNA1100)
>
>
>
> My wireless MAC address is  20:E5:2A:E8:DB:77 and i changed it to
> 02:E5:2A:E8:DB:30
>
> I tried to follow
> http://wiki.stocksy.co.uk/wiki/Multiple_SSIDs_with_hostapd (even if
> ti's for Ubuntu)
>
> To keep it simple for now. This is my configuration file
> ----
> interface=wlan0
> bssid=02:E5:2A:E8:DB:30
> driver=nl80211
>
> ssid=ssid1
> channel=1
>
> bss=wlan0_0
> ssid=ssid2
>
> bss=wlan0_1
> ssid=ssid3
>
> bss=wlan0_2
> ssid=ssid4
> ----
>
> The problem seems to appear when it's trying to create wlan0_0
>
> Could not set interface wlan0_0 flags (UP): Device or resource busy
> nl80211: Remove interface ifindex=16
> Failed to add BSS (BSSID=02:e5:2a:e8:db:31)
> wlan0: Unable to setup interface.
> wlan0: Flushing old station entries
> wlan0: Deauthenticate all stations
> nl80211: CMD_FRAME freq=2412 wait=0 no_cck=0 no_ack=0 offchanok=0
> nl80211: Frame TX command accepted; cookie 0xffff8800372d1180
>
>
> Could you give me a hint on the problem ?
>
> Thanks,
> Frank
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



-- 
-----------------------------------------------------------------------------------------------------------
IT&C (HK) Ltd. www.itnc.com  Tel:+852 6913 0049
PENIT (China) Ltd. www.penit.com : Tel: +86 755 26811370
E-Mail: kflee2000 at gmail.COM
           KFLee at ITNC.COM

SKYPE: kflee2000  QQ?129929-6015
19A, Seascape Plaza, 18 Taizi Road, Shekou, Shenzhen, PROC.
**** ACW: Alternative Class of Webspace ?????? *****
www.itnc.com  - Hong Kong Based HQ
www.penit.com - Logistic Software Developer
www.jpfree.com - ACW for Japan
www.twfree.com - ACW for Taiwan
www.cnfree.com - ACW for China
www.asiafree.net    -  Free Business Card Site

---------------------------------------------------------------------------------------------



More information about the Hostap mailing list