KillaB wrote:rdbpt wrote:I tried to use "radio0" and "wlan0" as the tag for "option device" and "config 'wifi-device'" because when I do a iwconfig I get a device named wlan0. Does the tag matter?
The config entry should be radio0 (I would think it matters, but am not sure). You will only see wlan0 in iw/ifconfig. It's similar to using wlan0 in the config for older Atheros chipsets and seeing ath0 in iw/ifconfig....could be wrong here, as I think ath0 only shows up in ifconfig, and wlan0 in iwconfig.
Maybe it's the build you're using. I was running r19501 before I bricked mine. Perhaps we followed the same upgrade procedure?
From build r19501, all I did was change the wireless mode to Client (sta) and network from lan to wan. I also broke the bridge between lan and eth0.1, but I'm not sure if that was necessary.
Also, make sure you don't have anything connected to the physical WAN port as you can only have one WAN.
Hello,
After several hours around the issue, I went back to r19296, did a image reinstall and managed to make PSK2 working, etc using the above sugestion. I'm using radio0 on the config file, and when I do a iwconfig it shows wlan0 as the device.
Now I come into a diferent isse but that is related to my lack of expertise on openwrt and not the WR1043ND itself, and I ended up configuring my wlan port as part of the wan, and I'm NATing from my LAN to the WAN.
root@OpenWrt:/# cat /etc/config/network
config 'switch' 'eth0'
option 'vlan1' '1 2 3 4 5*'
option 'vlan2' '0 5'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.1'
option 'proto' 'static'
option 'ipaddr' '192.168.2.1'
option 'netmask' '255.255.255.0'
config 'interface' 'wan'
option 'ifname' 'wlan0'
option 'proto' 'dhcp'
root@OpenWrt:/# cat /etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 5
option macaddr 00:19:e0:66:66:68
option hwmode 11ng
option htmode HT20
# option htmode 'HT40-'
# option htmode 'HT40+'
option county DE
list ht_capab SHORT-GI-40
list ht_capab DSSS_CCK-40
# REMOVE THIS LINE TO ENABLE WIFI:
config wifi-iface
option device radio0
option network lan
option mode sta
option ssid SSID
option encryption psk2
option key PASSWORD
root@OpenWrt:/# cat /etc/config/firewall
config defaults
# option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name lan
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
option masq 1
The "home" DHCP server on 192.168.1 network assigns the IP address to the WR1043ND.
When I have more time I'll fiddle around the NAT issue. I intend to have bridging between LAN and WAN (to have all computers on the 192.168.1. network and because of that I'm having double NATs to connect to the internet and vice versa), but that looks like a general WRT issue so I'll leave it out of this thread.
Thank you for your help,
regarda,
rdb
(Last edited by rdbpt on 14 Feb 2010, 18:47)