diff options
-rw-r--r-- | networking/udhcp/Config.in | 51 |
1 files changed, 20 insertions, 31 deletions
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index bbc1220a5..55cefb673 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in | |||
@@ -4,14 +4,12 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | config APP_UDHCPD | 6 | config APP_UDHCPD |
7 | bool "udhcp Server (udhcpd)" | 7 | bool "udhcp server (udhcpd)" |
8 | default n | 8 | default n |
9 | help | 9 | help |
10 | uDHCPd is a DHCP server geared primarily toward embedded systems, | 10 | udhcpd is a DHCP server geared primarily toward embedded systems, |
11 | while striving to be fully functional and RFC compliant. | 11 | while striving to be fully functional and RFC compliant. |
12 | 12 | ||
13 | See http://udhcp.busybox.net for further details. | ||
14 | |||
15 | config APP_DHCPRELAY | 13 | config APP_DHCPRELAY |
16 | bool "dhcprelay" | 14 | bool "dhcprelay" |
17 | default n | 15 | default n |
@@ -30,16 +28,14 @@ config APP_DUMPLEASES | |||
30 | Lease times are stored in the file by time remaining in lease, or | 28 | Lease times are stored in the file by time remaining in lease, or |
31 | by the absolute time that it expires in seconds from epoch. | 29 | by the absolute time that it expires in seconds from epoch. |
32 | 30 | ||
33 | See http://udhcp.busybox.net for further details. | ||
34 | |||
35 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY | 31 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY |
36 | bool "Rewrite the lease file at every new acknowledge" | 32 | bool "Rewrite the lease file at every new acknowledge" |
37 | default n | 33 | default n |
38 | depends on APP_UDHCPD | 34 | depends on APP_UDHCPD |
39 | help | 35 | help |
40 | If selected, udhcpd will write a new file with leases every | 36 | If selected, udhcpd will write a new file with leases every |
41 | time a new lease has been accepted, thus eleminating the need | 37 | time a new lease has been accepted, thus eliminating the need |
42 | to send SIGUSR1 for the initial writing, or updating. Any timed | 38 | to send SIGUSR1 for the initial writing or updating. Any timed |
43 | rewriting remains undisturbed | 39 | rewriting remains undisturbed |
44 | 40 | ||
45 | config DHCPD_LEASES_FILE | 41 | config DHCPD_LEASES_FILE |
@@ -47,30 +43,28 @@ config DHCPD_LEASES_FILE | |||
47 | default "/var/lib/misc/udhcpd.leases" | 43 | default "/var/lib/misc/udhcpd.leases" |
48 | depends on APP_UDHCPD | 44 | depends on APP_UDHCPD |
49 | help | 45 | help |
50 | The udhcpd stores address in lease files. Normaly it is save | 46 | udhcpd stores addresses in a lease file. This is the absolute path |
51 | to leave it untouched. | 47 | of the file. Normally it is safe to leave it untouched. |
52 | |||
53 | 48 | ||
54 | config APP_UDHCPC | 49 | config APP_UDHCPC |
55 | bool "udhcp Client (udhcpc)" | 50 | bool "udhcp client (udhcpc)" |
56 | default n | 51 | default n |
57 | help | 52 | help |
58 | uDHCPc is a DHCP client geared primarily toward embedded systems, | 53 | udhcpc is a DHCP client geared primarily toward embedded systems, |
59 | while striving to be fully functional and RFC compliant. | 54 | while striving to be fully functional and RFC compliant. |
60 | 55 | ||
61 | The udhcp client negotiates a lease with the DHCP server and | 56 | The udhcp client negotiates a lease with the DHCP server and |
62 | notifies a set of scripts when a lease is obtained or lost. | 57 | runs a script when a lease is obtained or lost. |
63 | |||
64 | See http://udhcp.busybox.net for further details. | ||
65 | 58 | ||
66 | config FEATURE_UDHCPC_ARPING | 59 | config FEATURE_UDHCPC_ARPING |
67 | bool "Ask udhcpc to verify that the offered address is free, using arpping" | 60 | bool "Verify that the offered address is free, using ARP ping" |
68 | default y | 61 | default y |
69 | depends on APP_UDHCPC | 62 | depends on APP_UDHCPC |
70 | help | 63 | help |
71 | If selected, udhcpc will use arpping to make sure the offered address | 64 | If selected, udhcpc will send ARP probes and make sure |
72 | is really available. The client will DHCPDECLINE the offer if the | 65 | the offered address is really not in use by anyone. The client |
73 | address is in use, and restart the discover process. | 66 | will DHCPDECLINE the offer if the address is in use, |
67 | and restart the discover process. | ||
74 | 68 | ||
75 | config FEATURE_UDHCP_PORT | 69 | config FEATURE_UDHCP_PORT |
76 | bool "Enable '-P port' option for udhcpd and udhcpc" | 70 | bool "Enable '-P port' option for udhcpd and udhcpc" |
@@ -85,11 +79,7 @@ config FEATURE_UDHCP_DEBUG | |||
85 | default n | 79 | default n |
86 | depends on APP_UDHCPD || APP_UDHCPC | 80 | depends on APP_UDHCPD || APP_UDHCPC |
87 | help | 81 | help |
88 | If selected, udhcpd will output extra debugging output. If using | 82 | If selected, udhcpd will output extra debugging output. |
89 | this option, compile uDHCP with "-g", and do not fork the daemon to | ||
90 | the background. | ||
91 | |||
92 | See http://udhcp.busybox.net for further details. | ||
93 | 83 | ||
94 | config FEATURE_RFC3397 | 84 | config FEATURE_RFC3397 |
95 | bool "Support for RFC3397 domain search (experimental)" | 85 | bool "Support for RFC3397 domain search (experimental)" |
@@ -104,25 +94,24 @@ config DHCPC_DEFAULT_SCRIPT | |||
104 | default "/usr/share/udhcpc/default.script" | 94 | default "/usr/share/udhcpc/default.script" |
105 | depends on APP_UDHCPC | 95 | depends on APP_UDHCPC |
106 | help | 96 | help |
107 | This script is called after udhcpc receives and answer. See | 97 | This script is called after udhcpc receives an answer. See |
108 | examples/udhcp for a working example. Normaly it is save | 98 | examples/udhcp for a working example. Normally it is safe |
109 | to leave this untouched. | 99 | to leave this untouched. |
110 | 100 | ||
111 | |||
112 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS | 101 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS |
113 | int "DHCP options slack buffer size" | 102 | int "DHCP options slack buffer size" |
114 | default 80 | 103 | default 80 |
115 | range 0 924 | 104 | range 0 924 |
116 | depends on APP_UDHCPD || APP_UDHCPC | 105 | depends on APP_UDHCPD || APP_UDHCPC |
117 | help | 106 | help |
118 | Some buggy DHCP servers will send DHCP offer packets with option | 107 | Some buggy DHCP servers send DHCP offer packets with option |
119 | field larger than we expect (which might also be considered a | 108 | field larger than we expect (which might also be considered a |
120 | buffer overflow attempt). These packets are normally discarded. | 109 | buffer overflow attempt). These packets are normally discarded. |
121 | If circumstances beyond your control force you to support such | 110 | If circumstances beyond your control force you to support such |
122 | servers, this may help. The upper limit (924) makes dhcpc accept | 111 | servers, this may help. The upper limit (924) makes dhcpc accept |
123 | even 1500 byte packets (maximum-sized ethernet packets). | 112 | even 1500 byte packets (maximum-sized ethernet packets). |
124 | 113 | ||
125 | This options does not make dhcp[cd] emit non-standard | 114 | This option does not make dhcp[cd] emit non-standard |
126 | sized packets. | 115 | sized packets. |
127 | 116 | ||
128 | Known buggy DHCP servers: | 117 | Known buggy DHCP servers: |
@@ -130,4 +119,4 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS | |||
130 | seems to confuse maximum allowed UDP packet size with | 119 | seems to confuse maximum allowed UDP packet size with |
131 | maximum size of entire IP packet, and sends packets which are | 120 | maximum size of entire IP packet, and sends packets which are |
132 | 28 bytes too large. | 121 | 28 bytes too large. |
133 | Seednet (ISP) VDSL: sends packets 2 bytes too big. | 122 | Seednet (ISP) VDSL: sends packets 2 bytes too large. |