freewrt_1_0
freewrt_2_0
|
Last change
on this file since 1435d00 was 1435d00, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
change to a very KISS like startup script. no magic at all.
works for every system without having special vars. everything
is configured in /etc/dnsmasq.conf.
git-svn-id: svn://www.freewrt.org/trunk/freewrt@107 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
558 bytes
|
| Line | |
|---|
| 1 | # filter what we send upstream
|
|---|
| 2 | domain-needed
|
|---|
| 3 | bogus-priv
|
|---|
| 4 | filterwin2k
|
|---|
| 5 | localise-queries
|
|---|
| 6 |
|
|---|
| 7 | # allow /etc/hosts and dhcp lookups via *.lan
|
|---|
| 8 | local=/lan/
|
|---|
| 9 | domain=lan
|
|---|
| 10 | expand-hosts
|
|---|
| 11 |
|
|---|
| 12 | # add more dhcp-range options for every subnet
|
|---|
| 13 | dhcp-range=192.168.1.100,192.168.1.254,255.255.255.0,24h
|
|---|
| 14 | except-interface=vlan1
|
|---|
| 15 |
|
|---|
| 16 | dhcp-authoritative
|
|---|
| 17 | dhcp-leasefile=/tmp/dhcp.leases
|
|---|
| 18 |
|
|---|
| 19 | # use /etc/ethers for static hosts
|
|---|
| 20 | # <hwaddr> <ipaddr>
|
|---|
| 21 | #read-ethers
|
|---|
| 22 |
|
|---|
| 23 | # other useful options:
|
|---|
| 24 | # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
|
|---|
| 25 | # dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.