I am trying to configure the router in such a way that a single router can service two wireless services simultaneously . One is a simple WEP and another is a chillispot. My configuration are as follows for network and wireless:
root@OpenWrt:/etc# cat /etc/config/network
#### VLAN configuration
config switch eth0
option vlan0 "1 2 3 4 5*"
option vlan1 "0 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto static
option ipaddr x.x.x.x ##As per the ISP
option netmask x.x.x.x ##As per the ISP
option gateway x.x.x.x ##As per the ISP
option dns x.x.x.x ##As per the ISP
config interface wireless1
option ifname wl0
config inteface wireless2
option ifname wl0.1
=================================
root@OpenWrt:/etc# cat /etc/config/wireless
config wifi-device wl0
option type broadcom
option channel 5
config wifi-iface
option device wl0
option mode ap
option ssid chillispot
option hidden 0
option encryption none
config wifi-iface
option device wl0
option network lan
option mode ap
option ssid private
option hidden 0
option encryption wep
option key 1234567890
I have a free radius server on internet for authentication of users who connects through chillispot. The problem i faced is although i can see both SSIDs while scanning, Only one SSID works fine which has been configured first as "config wifi-iface" on /etc/config/wireless.
appreciate for any suggestion...