
per en Tonic
root@OlotTar62Rd1:~# cat /etc/config/wireless
config 'wifi-device' 'wifi0'
option 'type' 'atheros'
option 'disabled' '0'
option 'hwmode' '11a'
option 'diversity' '0'
option 'txantenna' '2'
option 'rxantenna' '2'
option 'txpower' '12'
option 'channel' '60'
config 'wifi-iface'
option 'device' 'wifi0'
option 'network' 'lan'
option 'agmode' 'ap'
option 'ssid' 'guifi.net-OlotORdAP0'
option 'encryption' 'none'
option 'wds_add0' '00:1B:B1:00:2D:7F'
option 'mode' 'ap'
root@OlotTar62Rd1:~#
root@OlotTar62Rd1:~# cat /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 lan
option 'ifname' 'ath0 eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '10.139.98.129'
option 'netmask' '255.255.255.224'
option 'dns' '10.139.38.2'
## wds_OlotAteneu217
config 'interface' 'wds_OlotAteneu217'
option 'ifname' 'ath0.wds0'
option 'proto' 'static'
option 'ipaddr' '172.25.36.181'
option 'netmask' '255.255.255.252'
root@OlotTar62Rd1:~# 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' 'wds_OlotAteneu217'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'ACCEPT'