OpenWrt Forum Archive

Topic: Multi-AP mode on Meraki Mini (7.06)

The content of this topic has been archived on 27 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello, I'm using Kamikaze 7.06 on my Meraki Mini, because I valued it to be more stable than 7.07.
My aim was creating two essid in AP mode, one with no protection, and the other one protected (WPA2). I wondered if it's possible to do that or it's still work in progress from Meraki Mini.
So I used Webif to create a configuration file, and then I edited it manually to make exactly what I wanted to.

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros
        option channel  '0'
#       option diversity 1
#       option txantenna 0
#       option rxantenna 0
#       option distance  2000
# disable radio to prevent an open ap after reflashing:
#       option disabled 0
        option mode     ''
        option maxassoc ''
        option distance ''
        option diversity        '1'
        option txantenna        '0'
        option rxantenna        '0'
        option disabled '0'


config wifi-iface
        option device   wifi0
#       option network  lan
        option mode     'ap'
        option ssid     'OpenWrt'
        option hidden   '0'
#       option txpower  15
#       option bgscan   enable
        option encryption       'none'
        option network  'none'
        option bssid    ''
        option server   ''
        option port     ''
        option isolate  '0'
        option txpower  '1'
        option bgscan   '1'
        option key1     ''
        option key2     ''
        option key3     ''
        option key4     ''

config wifi-iface
        option device   wifi0
#       option network  lan
        option mode     'ap'
        option ssid     'OpenWrt2'
        option hidden   '0'
#       option txpower  15
#       option bgscan   enable
        option encryption       'psk2'
        option network  'none'
        option bssid    ''
        option server   ''
        option port     ''
        option isolate  '0'
        option txpower  '1'
        option bgscan   '1'
        option key1     ''
        option key2     ''
        option key3     ''
        option key4     ''
        option key      '*************'

This is my configuration:

root@OpenWrt:/etc/config# ifconfig ath0
ath0      Link encap:Ethernet  HWaddr 00:18:**:**:**:**
          inet addr:192.168.12.1  Bcast:192.168.12.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2254 (2.2 KiB)  TX bytes:1148 (1.1 KiB)

root@OpenWrt:/etc/config# ifconfig ath1
ath1      Link encap:Ethernet  HWaddr 06:18:**:**:**:**
          inet addr:192.168.13.1  Bcast:192.168.13.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:57 (57.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:/etc/config# iwconfig ath0
ath0      IEEE 802.11g  ESSID:"OpenWrt"  Nickname:""
          Mode:Master  Frequency:2.417 GHz  Access Point: 00:18:**:**:**:**
          Bit Rate:0 kb/s   Tx-Power=1 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=44/94  Signal level=-51 dBm  Noise level=-95 dBm
          Rx invalid nwid:14244  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@OpenWrt:/etc/config# iwconfig ath1
ath1      IEEE 802.11g  ESSID:"OpenWrt2"  Nickname:""
          Mode:Master  Frequency:2.417 GHz  Access Point: 06:18:**:**:**:**
          Bit Rate:0 kb/s   Tx-Power=1 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-**** [3]   Security mode:open
          Power Management:off
          Link Quality=44/94  Signal level=-51 dBm  Noise level=-95 dBm
          Rx invalid nwid:14213  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I'm able to connect myself to "OpenWrt" and to ping it from the 192.168.12.10 (netmask: 255.255.255.0) address I associated to my machine.
I'm also able to connect myself to "OpenWrt2", but I can't ping it from the 192.168.13.10 (netmask: 255.255.255.0) address. And as you can see, the settings for the two essids are the same.
HostAPD is correctly installed, and make this file on boot:

/var/run/hostapd-ath1.conf

driver=madwifi
interface=ath1

ssid=OpenWrt2
debug=0
wpa=2
wpa_pairwise=CCMP
wpa_passphrase=*************

Did I do something wrong or this is still a limitation of Meraki Mini's OpenWrt?
Thanks.

Using WPA instead of WPA2 works

        option encryption       'psk'

instead of

        option encryption       'psk2'

Is this a Kamikaze issue? How could I use WPA2?
Thanks

(Last edited by ggp81 on 22 Aug 2007, 16:22)

Any ideas? sad

(Last edited by ggp81 on 24 Aug 2007, 08:45)

I confirme! I use Asus WL-500gP with atheros card with Kamikaze 7.09 brcm 2.4.
I tried everything what I could. There was no way to connect to AP with PSK2 (Psk-aes).There is no problem to turn on encryption PSK, works good I connect, have adress, ping goes through.
When I use PSK2 it seems that connections is okey but there is no address from dhcp.Even when I put manually, the ping is dead.
I spend couple weeks to make that working but I can't!
Encryption one level down I mean PSK was only alternative to solve this problem.

The discussion might have continued from here.