Openwrt

Wechseln zu: Navigation, Suche

/etc/config/network:

 config 'interface' 'lan'
       option 'type' 'bridge'
       option 'ifname' 'eth0.0'
       option 'proto' 'dhcp' 
 config 'interface' 'sos'
       option 'type' 'bridge'
       option 'ifname' 'eth0.1'
       option 'proto' 'static'
       option 'ipaddr' '10.12.14.16'
       option 'netmask' '255.0.0.0'

/etc/config/wireless:

 config 'wifi-device' 'wl0'
       option 'type' 'broadcom'
       option 'channel' 'auto'
 config 'wifi-iface'
       option 'device' 'wl0'
       option 'network' 'lan'
       option 'mode' 'sta'
       option 'ssid' 'FRITZ!Box Fon WLAN 7113'
       option 'encryption' 'psk2'
       option 'key' '*****************'

/firewall:

 config zone
       option name     sos     
       option input    ACCEPT  
       option output   ACCEPT 
       option forward  REJECT
       option masq     1