wok-6.x diff busybox/stuff/udhcpd.conf @ rev 21297
updated libshout and libshout-dev (2.2.1 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 17 16:47:19 2019 +0100 (2019-04-17) |
parents | 73742fcba19a |
children |
line diff
1.1 --- a/busybox/stuff/udhcpd.conf Tue Apr 08 11:23:56 2008 +0000 1.2 +++ b/busybox/stuff/udhcpd.conf Wed Apr 17 16:47:19 2019 +0100 1.3 @@ -2,67 +2,114 @@ 1.4 # 1.5 1.6 # The start and end of the IP lease block 1.7 -start 192.168.0.20 #default: 192.168.0.20 1.8 -end 192.168.0.254 #default: 192.168.0.254 1.9 +start 192.168.0.20 #default: 192.168.0.20 1.10 +end 192.168.0.254 #default: 192.168.0.254 1.11 1.12 # The interface that udhcpd will use 1.13 -interface eth0 #default: eth0 1.14 +interface eth0 #default: eth0 1.15 1.16 -# The maximum number of leases (includes addressesd reserved 1.17 -# by OFFER's, DECLINE's, and ARP conficts 1.18 -#max_leases 254 #default: 254 1.19 +# The maximum number of leases (includes addresses reserved 1.20 +# by OFFER's, DECLINE's, and ARP conflicts). Will be corrected 1.21 +# if it's bigger than IP lease block, but it ok to make it 1.22 +# smaller than lease block. 1.23 +#max_leases 254 #default: 254 1.24 1.25 -# The amount of time that an IP will be reserved (leased) for if a 1.26 -# DHCP decline message is received (seconds). 1.27 -#decline_time 3600 #default: 3600 (1 hour) 1.28 +# The amount of time that an IP will be reserved (leased to nobody) 1.29 +# if a DHCP decline message is received (seconds) 1.30 +#decline_time 3600 #default: 3600 (1 hour) 1.31 1.32 -# The amount of time that an IP will be reserved (leased) for if an 1.33 -# ARP conflct occurs. (seconds 1.34 -#conflict_time 3600 #default: 3600 (1 hour) 1.35 +# The amount of time that an IP will be reserved 1.36 +# if an ARP conflict occurs (seconds) 1.37 +#conflict_time 3600 #default: 3600 (1 hour) 1.38 1.39 -# How long an offered address is reserved (leased) in seconds 1.40 -#offer_time 60 #default: 60 (1 minute) 1.41 +# How long an offered address is reserved (seconds) 1.42 +#offer_time 60 #default: 60 (1 minute) 1.43 1.44 -# If a lease to be given is below this value, the full lease time is 1.45 -# instead used (seconds). 1.46 -#min_lease 60 #defult: 60 1.47 +# If client asks for lease below this value, it will be rounded up 1.48 +# to this value (seconds) 1.49 +#min_lease 60 #default: 60 (1 minute) 1.50 1.51 # The location of the leases file 1.52 -lease_file /var/lib/udhcpd.leases #default: /var/lib/misc/udhcpd.leases 1.53 +lease_file /var/lib/udhcpd.leases #default: /var/lib/misc/udhcpd.leases 1.54 1.55 # The location of the pid file 1.56 -pidfile /var/run/udhcpd.pid #default: /var/run/udhcpd.pid 1.57 +pidfile /var/run/udhcpd.pid #default: /var/run/udhcpd.pid 1.58 1.59 -# The remainer of options are DHCP options and can be specifed with the 1.60 +# The time period at which udhcpd will write out leases file. 1.61 +# If this is 0, udhcpd will never automatically write leases file. 1.62 +# Specified in seconds. 1.63 +#auto_time 7200 1.64 + 1.65 +# Every time udhcpd writes a leases file, the below script will be called 1.66 +#notify_file # default: no script 1.67 +#notify_file dumpleases # useful for debugging 1.68 + 1.69 +# The following are bootp specific options 1.70 +# next server to use in bootstrap 1.71 +#siaddr 192.168.0.22 # default: 0.0.0.0 (none) 1.72 +# tftp server name 1.73 +#sname zorak # default: none 1.74 +# tftp file to download (e.g. kernel image) 1.75 +#boot_file /var/nfs_root # default: none 1.76 + 1.77 +# Static leases map 1.78 +#static_lease 00:60:08:11:CE:4E 192.168.0.54 1.79 +#static_lease 00:60:08:11:CE:3E 192.168.0.44 1.80 + 1.81 +# The remainder of options are DHCP options and can be specified with the 1.82 # keyword 'opt' or 'option'. If an option can take multiple items, such 1.83 # as the dns option, they can be listed on the same line, or multiple 1.84 -# lines. The only option with a default is 'lease'. 1.85 +# lines. 1.86 +# Examples: 1.87 +#opt dns 192.168.10.2 192.168.10.10 1.88 +option subnet 255.255.255.0 1.89 +#opt router 192.168.10.2 1.90 +#opt wins 192.168.10.10 1.91 +#option dns 129.219.13.81 # appended to above DNS servers for a total of 3 1.92 +#option domain local 1.93 +option lease 864000 # default: 10 days 1.94 +#option msstaticroutes 10.0.0.0/8 10.127.0.1 # single static route 1.95 +#option staticroutes 10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1 1.96 +# Arbitrary option in hex form: 1.97 +#option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4" 1.98 1.99 -#Examples 1.100 -#opt dns 192.168.10.2 192.168.10.10 1.101 -option subnet 255.255.255.0 1.102 -#option dns 129.219.13.81 # appened to above DNS servers for a total of 3 1.103 -option lease 864000 # 10 days of seconds 1.104 - 1.105 -# Currently supported options 1.106 -#opt subnet 1.107 -#opt timezone 1.108 -#opt router 1.109 -#opt timesrv 1.110 -#opt namesrv 1.111 -#opt dns 1.112 -#opt logsrv 1.113 -#opt cookiesrv 1.114 -#opt lprsrv 1.115 -#opt bootsize 1.116 -#opt domain 1.117 -#opt swapsrv 1.118 -#opt rootpath 1.119 -#opt ipttl 1.120 -#opt mtu 1.121 -#opt broadcast 1.122 -#opt wins 1.123 -#opt lease 1.124 -#opt ntpsrv 1.125 -#opt tftp 1.126 -#opt bootfile 1.127 +# Currently supported options (for more info, see options.c): 1.128 +#opt lease NUM 1.129 +#opt subnet IP 1.130 +#opt broadcast IP 1.131 +#opt router IP_LIST 1.132 +#opt ipttl NUM 1.133 +#opt mtu NUM 1.134 +#opt hostname STRING # client's hostname 1.135 +#opt domain STRING # client's domain suffix 1.136 +#opt search STRING_LIST # search domains 1.137 +#opt nisdomain STRING 1.138 +#opt timezone NUM # (localtime - UTC_time) in seconds. signed 1.139 +#opt tftp STRING # tftp server name 1.140 +#opt bootfile STRING # tftp file to download (e.g. kernel image) 1.141 +#opt bootsize NUM # size of that file 1.142 +#opt rootpath STRING # (NFS) path to mount as root fs 1.143 +#opt wpad STRING 1.144 +#opt serverid IP # default: server's IP 1.145 +#opt message STRING # error message (udhcpd sends it on success too) 1.146 +#opt vlanid NUM # 802.1P VLAN ID 1.147 +#opt vlanpriority NUM # 802.1Q VLAN priority 1.148 +# Options specifying server(s) 1.149 +#opt dns IP_LIST 1.150 +#opt wins IP_LIST 1.151 +#opt nissrv IP_LIST 1.152 +#opt ntpsrv IP_LIST 1.153 +#opt lprsrv IP_LIST 1.154 +#opt swapsrv IP 1.155 +# Options specifying routes 1.156 +#opt routes IP_PAIR_LIST 1.157 +#opt staticroutes STATIC_ROUTES # RFC 3442 classless static route option 1.158 +#opt msstaticroutes STATIC_ROUTES # same, using MS option number 1.159 +# Obsolete options, no longer supported 1.160 +#opt logsrv IP_LIST # 704/UDP log server (not syslog!) 1.161 +#opt namesrv IP_LIST # IEN 116 name server, obsolete (August 1979!!!) 1.162 +#opt cookiesrv IP_LIST # RFC 865 "quote of the day" server, rarely (never?) used 1.163 +#opt timesrv IP_LIST # RFC 868 time server, rarely (never?) used 1.164 +# TODO: in development 1.165 +#opt userclass STRING # RFC 3004. set of LASCII strings. "I am a printer" etc 1.166 +#opt sipserv STRING LIST # RFC 3361. flag byte, then: 0: domain names, 1: IP addrs