forked from freifunk-franken/firmware
23 lines
680 B
Plaintext
23 lines
680 B
Plaintext
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 'proto' 'dhcp'
|
|
option 'ifname' 'eth0'
|
|
|
|
config 'interface' 'wlanmesch'
|
|
option 'ifname' 'ath1'
|
|
option 'mtu' '1527'
|
|
|
|
config 'interface' 'mesh'
|
|
option 'type' 'bridge'
|
|
option 'ifname' 'ath0 bat0 tap0'
|
|
option 'stp' '1'
|
|
|
|
# To get Freifunk on the ethernet port (for a desktop pc for example), comment out
|
|
# the lan interface section and add eth0 to the ifnames of the mesh interface.
|
|
# Then restart the router and plug in your ethernet cable
|