
crisman
By: a guest on
Sep 14th, 2009 | syntax:
None | size: 1.06 KB | hits: 130 | expires: Never
root@OpenWrt:/etc/config# cat wireless
config 'wifi-device' 'wl0'
option 'type' 'broadcom'
option 'channel' '5'
option 'disabled' '0'
option 'txpower' '21'
config 'wifi-iface'
option 'device' 'wl0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'xxxx'
option 'key' 'xxxxxxxxxxxxxxxx'
option 'encryption' 'psk'
config 'wifi-iface'
option 'device' 'wl0'
option 'ssid' 'xxxx'
option 'network' 'wan'
option 'mode' 'sta'
option 'encryption' 'psk'
option 'key' 'xxxxxxxxxxxxxxxxxxxx'
root@OpenWrt:/etc/config# cat network
config 'switch' 'eth0'
option 'vlan0' '0 1 2 3 4 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 'type' 'bridge'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'ipaddr' '192.168.2.1'
option 'netmask' '255.255.255.0'
config 'interface' 'wan'
option 'proto' 'pppoe'
option 'username' 'xxxx'
option 'password' 'xxxx'
#option 'ifname' 'wl0'