wok-6.x diff busybox/stuff/udhcpd.conf @ rev 15019

h8300-gcc3: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 17:30:33 2013 +0000 (2013-08-11)
parents
children f48f653c6d0c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/busybox/stuff/udhcpd.conf	Sun Aug 11 17:30:33 2013 +0000
     1.3 @@ -0,0 +1,68 @@
     1.4 +# /etc/udhcpd.conf: SliTaz DHCP server configuration.
     1.5 +#
     1.6 +
     1.7 +# The start and end of the IP lease block
     1.8 +start           192.168.0.20    #default: 192.168.0.20
     1.9 +end             192.168.0.254   #default: 192.168.0.254
    1.10 +
    1.11 +# The interface that udhcpd will use
    1.12 +interface       eth0            #default: eth0
    1.13 +
    1.14 +# The maximum number of leases (includes addressesd reserved
    1.15 +# by OFFER's, DECLINE's, and ARP conficts
    1.16 +#max_leases     254             #default: 254
    1.17 +
    1.18 +# The amount of time that an IP will be reserved (leased) for if a
    1.19 +# DHCP decline message is received (seconds).
    1.20 +#decline_time   3600            #default: 3600 (1 hour)
    1.21 +
    1.22 +# The amount of time that an IP will be reserved (leased) for if an
    1.23 +# ARP conflct occurs. (seconds
    1.24 +#conflict_time  3600            #default: 3600 (1 hour)
    1.25 +
    1.26 +# How long an offered address is reserved (leased) in seconds
    1.27 +#offer_time     60              #default: 60 (1 minute)
    1.28 +
    1.29 +# If a lease to be given is below this value, the full lease time is
    1.30 +# instead used (seconds).
    1.31 +#min_lease      60              #defult: 60
    1.32 +
    1.33 +# The location of the leases file
    1.34 +lease_file     /var/lib/udhcpd.leases     #default: /var/lib/misc/udhcpd.leases
    1.35 +
    1.36 +# The location of the pid file
    1.37 +pidfile        /var/run/udhcpd.pid     #default: /var/run/udhcpd.pid
    1.38 +
    1.39 +# The remainer of options are DHCP options and can be specifed with the
    1.40 +# keyword 'opt' or 'option'. If an option can take multiple items, such
    1.41 +# as the dns option, they can be listed on the same line, or multiple
    1.42 +# lines. The only option with a default is 'lease'.
    1.43 +
    1.44 +#Examples
    1.45 +#opt     dns     192.168.10.2 192.168.10.10
    1.46 +option  subnet  255.255.255.0
    1.47 +#option  dns     129.219.13.81   # appened to above DNS servers for a total of 3
    1.48 +option  lease   864000          # 10 days of seconds
    1.49 +
    1.50 +# Currently supported options
    1.51 +#opt subnet
    1.52 +#opt timezone
    1.53 +#opt router
    1.54 +#opt timesrv
    1.55 +#opt namesrv
    1.56 +#opt dns
    1.57 +#opt logsrv
    1.58 +#opt cookiesrv
    1.59 +#opt lprsrv
    1.60 +#opt bootsize
    1.61 +#opt domain
    1.62 +#opt swapsrv
    1.63 +#opt rootpath
    1.64 +#opt ipttl
    1.65 +#opt mtu
    1.66 +#opt broadcast
    1.67 +#opt wins
    1.68 +#opt lease
    1.69 +#opt ntpsrv
    1.70 +#opt tftp
    1.71 +#opt bootfile