[ANSWERED]
Hello!
I have got a TP-LINK TLWR1043ND with openwrt and i want to share my internet from my WISP via wifi and cables is my house! (I have got static ip address from my wisp!)
Thank you!
Edit:
I found the solution!
Change /etc/config/network to:
config 'interface' 'lan'
option 'type' 'bridge'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'dns' '192.168.1.1'
option 'ipaddr' '192.168.1.1'
config 'interface' 'wan'
option 'proto' 'static'
option 'ipaddr' '(your.static.ip.from.wisp)'
option 'netmask' '255.255.255.0'
option 'gateway' '(wisp.gateway.ip)'
option 'dns' '8.8.8.8, 8.8.4.4'
Change /etc/config/wireless to:
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'channel' '(between.1-11)'
option 'hwmode' '11ng'
option 'htmode' 'HT40+'
config 'wifi-iface' 'cfg2'
option 'device' 'radio0'
option 'mode' 'ap'
option 'network' 'lan'
option 'ssid' '(your.local.ssid)'
option 'encryption' 'psk2'
option 'key' '(wpa2.wireless.key)'
config 'wifi-iface' 'cfg3'
option 'device' 'radio0'
option 'mode' 'sta'
option 'network' 'wan'
option 'ssid' '(wisp.ssid)'
option 'encryption' '(wisp.network.encryption.type)'
[If your WISP has wireless security, you need this line:]
(option 'key' '(network.key)')
...And you should reboot your router!...
(Last edited by gol7ager on 8 Jan 2012, 21:20)