26 lines
850 B
Plaintext
26 lines
850 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 ifname 'eth0'
|
|
option type 'bridge'
|
|
option proto 'static'
|
|
option ipaddr '192.168.1.114' #change me!
|
|
option netmask '255.255.255.0'
|
|
option gateway '192.168.1.2' #change me!
|
|
list dns '8.8.8.8'
|
|
|
|
config interface 'mesh'
|
|
option ifname 'adhoc0'
|
|
option mtu '1528'
|
|
option proto 'none'
|
|
|
|
config interface 'hotspot'
|
|
option 'iface' 'radio0' #use your existing wifi device (look in config/wireless below)
|
|
option 'proto' 'static'
|
|
option 'ipaddr' '192.168.2.1'
|
|
option 'netmask' '255.255.255.0'
|
|
option 'type' 'bridge' |