freewrt_2_0
|
Last change
on this file since bcea6cd was 7eb4961, checked in by Dirk Nehring <dnehring@…>, 19 years ago |
|
Sync dnsmasq with upstream version, which includes now a tftp and a bootp server. tftp tested. Now you can set up a PXE boot enviroment for diskless clients with FreeWRT only!
git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2090 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
760 bytes
|
| Line | |
|---|
| 1 | # filter what we send upstream
|
|---|
| 2 | user=dnsmasq
|
|---|
| 3 | domain-needed
|
|---|
| 4 | bogus-priv
|
|---|
| 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.129,192.168.1.254,255.255.255.0,72h
|
|---|
| 14 | interface=lo
|
|---|
| 15 | interface=eth0.0
|
|---|
| 16 | #interface=eth1
|
|---|
| 17 | interface=br0
|
|---|
| 18 |
|
|---|
| 19 | # Enable dnsmasq's built-in TFTP server
|
|---|
| 20 | #enable-tftp
|
|---|
| 21 | # Set the root directory for files available via TFTP.
|
|---|
| 22 | #tftp-root=/tftpboot
|
|---|
| 23 |
|
|---|
| 24 | dhcp-authoritative
|
|---|
| 25 | dhcp-leasefile=/tmp/dhcp.leases
|
|---|
| 26 |
|
|---|
| 27 | # use /etc/ethers for static hosts
|
|---|
| 28 | # <hwaddr> <ipaddr>
|
|---|
| 29 | #read-ethers
|
|---|
| 30 |
|
|---|
| 31 | # other useful options (0.0.0.0 means server itself)
|
|---|
| 32 | # default route(s):
|
|---|
| 33 | dhcp-option=3,0.0.0.0
|
|---|
| 34 | # dns server(s):
|
|---|
| 35 | dhcp-option=6,0.0.0.0
|
|---|
| 36 | # ntp server(s):
|
|---|
| 37 | dhcp-option=42,0.0.0.0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.