I fiddled around today and managed to make the wireless network visible for my devices.
First, I created a clean configuration/buid (removed .config, build-dir, staging-dir and tmp) and selected 'Marvell Orion' as target.
This removed the problem with the two radios... I guess some old configs were lying around somewhere..?
Currently my configuration is as follows.
/etc/config/network:
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'eth0'
option 'ifname' 'eth0'
option 'macaddr' '00:1e:e5:93:e1:56'
config 'interface' 'wan'
option 'ifname' 'wan'
option 'proto' 'dhcp'
option 'hostname' 'openwrt'
option 'macaddr' '00:1e:e5:93:e1:57'
config 'interface' 'lan'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.3.1'
option 'macaddr' '00:1e:e5:93:e1:56'
option 'ifname' 'lan1 lan2 lan3 lan4'
config 'interface' 'wlan'
option 'proto' 'static'
option 'ifname' 'wlan0'
option 'ipaddr' '192.168.3.2'
option 'netmask' '255.255.255.0'
option 'gateway' '192.168.3.1'
/etc/config/wireless
config 'wifi-device' 'wlan0'
option 'type' 'mac80211'
option 'channel' '11'
option 'macaddr' '00:c0:02:00:06:1c'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'DSSS_CCK-40'
option 'hwmode' '11g'
option 'country' 'NL'
option 'txpower' '17'
config 'wifi-iface'
option 'device' 'wlan0'
option 'mode' 'ap'
option 'ssid' 'OpenWrt'
option 'encryption' 'psk2+ccmp'
option 'key' 'testtesttest'
option 'network' 'wlan'
I think the problem of 'not-seeing-the-network' got solved by adding a separate wlan interface...?
Now I still have problems with getting a network address on my client devices. logread shows:
Sep 8 17:42:24 OpenWrt daemon.info hostapd: wlan0: STA 00:16:ea:b1:8d:e4 IEEE 802.11: authenticated
Sep 8 17:42:24 OpenWrt daemon.info hostapd: wlan0: STA 00:16:ea:b1:8d:e4 IEEE 802.11: associated (aid 1)
Sep 8 17:42:24 OpenWrt daemon.info hostapd: wlan0: STA 00:16:ea:b1:8d:e4 WPA: pairwise key handshake completed (RSN)
Sep 8 17:42:28 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPDISCOVER(wlan0) 00:16:ea:b1:8d:e4
Sep 8 17:42:28 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPOFFER(wlan0) 192.168.3.222 00:16:ea:b1:8d:e4
Sep 8 17:42:28 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPDISCOVER(wlan0) 00:16:ea:b1:8d:e4
Sep 8 17:42:28 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPOFFER(wlan0) 192.168.3.222 00:16:ea:b1:8d:e4
Sep 8 17:42:34 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPDISCOVER(wlan0) 00:16:ea:b1:8d:e4
Sep 8 17:42:34 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPOFFER(wlan0) 192.168.3.222 00:16:ea:b1:8d:e4
Sep 8 17:42:41 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPDISCOVER(wlan0) 00:16:ea:b1:8d:e4
Sep 8 17:42:41 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPOFFER(wlan0) 192.168.3.222 00:16:ea:b1:8d:e4
Sep 8 17:42:51 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPDISCOVER(wlan0) 00:16:ea:b1:8d:e4
Sep 8 17:42:51 OpenWrt daemon.info dnsmasq-dhcp[7522]: DHCPOFFER(wlan0) 192.168.3.222 00:16:ea:b1:8d:e4
So it seems that the DHCP server assigns an ip-address, but it does not reach the client... (As I do not see ACK messages, which is part of the protocol AFAIK)
Any ideas on configuring/solving this problem?
(Last edited by veger on 6 Jan 2012, 16:00)