I'm trÃing to replace an old edimax wifi router with an asus wl500gp and kamikaze. The tasks it must do:
1) Connect to a wireless AP
2) Work as an AP, in the same network as the other AP (bridging)
3) The LAN ports should be in the same network as the wifi iface
I'm trÃing to put it togeter but with no success. I have read this: http://wiki.openwrt.org/Repeater but if i connect to the kamikaze box, i cannot get an ip address. However kamikaze links together with the other AP, i have internet access on it.
I would appreciate any help on this.
/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
and /etc/config/wireless:
config wifi-device wl0
option type broadcom
option channel 5
config wifi-iface
option device wl0
option network lan
option mode ap
option ssid OpenWrt
option encryption psk
option key Pass1234
config wifi-iface
option device wl0
option mode sta
option ssid MyhomeAP
option encryption psk
option key Gepzsir
What am i doing wrong?
Thx