Config.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. config BUSYBOX_UDHCPD
  6. bool "udhcp server (udhcpd)"
  7. default n
  8. depends on BUSYBOX_PLATFORM_LINUX
  9. help
  10. udhcpd is a DHCP server geared primarily toward embedded systems,
  11. while striving to be fully functional and RFC compliant.
  12. config BUSYBOX_DHCPRELAY
  13. bool "dhcprelay"
  14. default n
  15. depends on BUSYBOX_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 BUSYBOX_DUMPLEASES
  21. bool "Lease display utility (dumpleases)"
  22. default n
  23. depends on BUSYBOX_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. config BUSYBOX_FEATURE_UDHCPD_WRITE_LEASES_EARLY
  29. bool "Rewrite the lease file at every new acknowledge"
  30. default n
  31. depends on BUSYBOX_UDHCPD
  32. help
  33. If selected, udhcpd will write a new file with leases every
  34. time a new lease has been accepted, thus eliminating the need
  35. to send SIGUSR1 for the initial writing or updating. Any timed
  36. rewriting remains undisturbed
  37. config BUSYBOX_DHCPD_LEASES_FILE
  38. string "Absolute path to lease file"
  39. default "/var/lib/misc/udhcpd.leases"
  40. depends on BUSYBOX_UDHCPD
  41. help
  42. udhcpd stores addresses in a lease file. This is the absolute path
  43. of the file. Normally it is safe to leave it untouched.
  44. config BUSYBOX_UDHCPC
  45. bool "udhcp client (udhcpc)"
  46. default y
  47. depends on BUSYBOX_PLATFORM_LINUX
  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. runs a script when a lease is obtained or lost.
  53. config BUSYBOX_FEATURE_UDHCPC_ARPING
  54. bool "Verify that the offered address is free, using ARP ping"
  55. default y
  56. depends on BUSYBOX_UDHCPC
  57. help
  58. If selected, udhcpc will send ARP probes and make sure
  59. the offered address is really not in use by anyone. The client
  60. will DHCPDECLINE the offer if the address is in use,
  61. and restart the discover process.
  62. config BUSYBOX_FEATURE_UDHCP_PORT
  63. bool "Enable '-P port' option for udhcpd and udhcpc"
  64. default n
  65. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  66. help
  67. At the cost of ~300 bytes, enables -P port option.
  68. This feature is typically not needed.
  69. config BUSYBOX_UDHCP_DEBUG
  70. int "Maximum verbosity level for udhcp applets (0..9)"
  71. default 0
  72. range 0 9
  73. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC || BUSYBOX_DHCPRELAY
  74. help
  75. Verbosity can be increased with multiple -v options.
  76. This options controls how high it can be cranked up.
  77. Bigger values result in bigger code. Levels above 1
  78. are very verbose and useful for debugging only.
  79. config BUSYBOX_FEATURE_UDHCP_RFC3397
  80. bool "Support for RFC3397 domain search (experimental)"
  81. default n
  82. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  83. help
  84. If selected, both client and server will support passing of domain
  85. search lists via option 119, specified in RFC 3397,
  86. and SIP servers option 120, specified in RFC 3361.
  87. config BUSYBOX_UDHCPC_DEFAULT_SCRIPT
  88. string "Absolute path to config script"
  89. default "/usr/share/udhcpc/default.script"
  90. depends on BUSYBOX_UDHCPC
  91. help
  92. This script is called after udhcpc receives an answer. See
  93. examples/udhcp for a working example. Normally it is safe
  94. to leave this untouched.
  95. config BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS
  96. int "DHCP options slack buffer size"
  97. default 80
  98. range 0 924
  99. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  100. help
  101. Some buggy DHCP servers send DHCP offer packets with option
  102. field larger than we expect (which might also be considered a
  103. buffer overflow attempt). These packets are normally discarded.
  104. If circumstances beyond your control force you to support such
  105. servers, this may help. The upper limit (924) makes dhcpc accept
  106. even 1500 byte packets (maximum-sized ethernet packets).
  107. This option does not make dhcp[cd] emit non-standard
  108. sized packets.
  109. Known buggy DHCP servers:
  110. 3Com OfficeConnect Remote 812 ADSL Router:
  111. seems to confuse maximum allowed UDP packet size with
  112. maximum size of entire IP packet, and sends packets which are
  113. 28 bytes too large.
  114. Seednet (ISP) VDSL: sends packets 2 bytes too large.