Config.in 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. config APP_UDHCPD
  6. bool "udhcp Server (udhcpd)"
  7. default n
  8. help
  9. uDHCPd is a DHCP server geared primarily toward embedded systems,
  10. while striving to be fully functional and RFC compliant.
  11. See http://udhcp.busybox.net for further details.
  12. config APP_DHCPRELAY
  13. bool "dhcprelay"
  14. default n
  15. depends on APP_UDHCPD
  16. help
  17. dhcprelay listens for dhcp requests on one or more interfaces
  18. and forwards these requests to a different interface or dhcp
  19. server.
  20. config APP_DUMPLEASES
  21. bool "Lease display utility (dumpleases)"
  22. default n
  23. depends on APP_UDHCPD
  24. help
  25. dumpleases displays the leases written out by the udhcpd server.
  26. Lease times are stored in the file by time remaining in lease, or
  27. by the absolute time that it expires in seconds from epoch.
  28. See http://udhcp.busybox.net for further details.
  29. config FEATURE_UDHCPD_WRITE_LEASES_EARLY
  30. bool "Rewrite the lease file at every new acknowledge"
  31. default n
  32. depends on APP_UDHCPD
  33. help
  34. If selected, udhcpd will write a new file with leases every
  35. time a new lease has been accepted, thus eleminating the need
  36. to send SIGUSR1 for the initial writing, or updating. Any timed
  37. rewriting remains undisturbed
  38. config DHCPD_LEASES_FILE
  39. string "Absolute path to lease file"
  40. default "/var/lib/misc/udhcpd.leases"
  41. depends on APP_UDHCPD
  42. help
  43. The udhcpd stores address in lease files. Normaly it is save
  44. to leave it untouched.
  45. config APP_UDHCPC
  46. bool "udhcp Client (udhcpc)"
  47. default n
  48. help
  49. uDHCPc is a DHCP client geared primarily toward embedded systems,
  50. while striving to be fully functional and RFC compliant.
  51. The udhcp client negotiates a lease with the DHCP server and
  52. notifies a set of scripts when a lease is obtained or lost.
  53. See http://udhcp.busybox.net for further details.
  54. config FEATURE_UDHCPC_ARPING
  55. bool "Ask udhcpc to verify that the offered address is free, using arpping"
  56. default y
  57. depends on APP_UDHCPC
  58. help
  59. If selected, udhcpc will use arpping to make sure the offered address
  60. is really available. The client will DHCPDECLINE the offer if the
  61. address is in use, and restart the discover process.
  62. config FEATURE_UDHCP_PORT
  63. bool "Enable '-P port' option for udhcpd and udhcpc"
  64. default n
  65. depends on APP_UDHCPD || APP_UDHCPC
  66. help
  67. At the cost of ~300 bytes, enables -P port option.
  68. This feature is typically not needed.
  69. config FEATURE_UDHCP_DEBUG
  70. bool "Compile udhcp with noisy debugging messages"
  71. default n
  72. depends on APP_UDHCPD || APP_UDHCPC
  73. help
  74. If selected, udhcpd will output extra debugging output. If using
  75. this option, compile uDHCP with "-g", and do not fork the daemon to
  76. the background.
  77. See http://udhcp.busybox.net for further details.
  78. config FEATURE_RFC3397
  79. bool "Support for RFC3397 domain search (experimental)"
  80. default n
  81. depends on APP_UDHCPD || APP_UDHCPC
  82. help
  83. If selected, both client and server will support passing of domain
  84. search lists via option 119, specified in RFC3397.
  85. config DHCPC_DEFAULT_SCRIPT
  86. string "Absolute path to config script"
  87. default "/usr/share/udhcpc/default.script"
  88. depends on APP_UDHCPC
  89. help
  90. This script is called after udhcpc receives and answer. See
  91. examples/udhcp for a working example. Normaly it is save
  92. to leave this untouched.
  93. config UDHCPC_SLACK_FOR_BUGGY_SERVERS
  94. int "DHCP options slack buffer size"
  95. default 80
  96. range 0 924
  97. depends on APP_UDHCPD || APP_UDHCPC
  98. help
  99. Some buggy DHCP servers will send DHCP offer packets with option
  100. field larger than we expect (which might also be considered a
  101. buffer overflow attempt). These packets are normally discarded.
  102. If circumstances beyond your control force you to support such
  103. servers, this may help. The upper limit (924) makes dhcpc accept
  104. even 1500 byte packets (maximum-sized ethernet packets).
  105. This options does not make dhcp[cd] emit non-standard
  106. sized packets.
  107. Known buggy DHCP servers:
  108. 3Com OfficeConnect Remote 812 ADSL Router:
  109. seems to confuse maximum allowed UDP packet size with
  110. maximum size of entire IP packet, and sends packets which are
  111. 28 bytes too large.
  112. Seednet (ISP) VDSL: sends packets 2 bytes too big.