Contents of /tags/mkinitrd-6_1_3/busybox/networking/Config.in
Parent Directory | Revision Log
Revision 846 -
(show annotations)
(download)
Mon May 4 18:51:23 2009 UTC (15 years, 4 months ago) by niro
File size: 23826 byte(s)
Mon May 4 18:51:23 2009 UTC (15 years, 4 months ago) by niro
File size: 23826 byte(s)
tagged 'mkinitrd-6_1_3'
1 | # |
2 | # For a description of the syntax of this configuration file, |
3 | # see scripts/kbuild/config-language.txt. |
4 | # |
5 | |
6 | menu "Networking Utilities" |
7 | |
8 | config FEATURE_IPV6 |
9 | bool "Enable IPv6 support" |
10 | default n |
11 | help |
12 | Enable IPv6 support in busybox. |
13 | This adds IPv6 support in the networking applets. |
14 | |
15 | config FEATURE_PREFER_IPV4_ADDRESS |
16 | bool "Preferentially use IPv4 addresses from DNS queries" |
17 | default y |
18 | depends on FEATURE_IPV6 |
19 | help |
20 | Use IPv4 address of network host if it has one. |
21 | |
22 | If this option is off, the first returned address will be used. |
23 | This may cause problems when your DNS server is IPv6-capable and |
24 | is returning IPv6 host addresses too. If IPv6 address |
25 | precedes IPv4 one in DNS reply, busybox network applets |
26 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host |
27 | or network applets will fail to connect to the host |
28 | using IPv6 address. |
29 | |
30 | config VERBOSE_RESOLUTION_ERRORS |
31 | bool "Verbose resolution errors" |
32 | default n |
33 | help |
34 | Enable if you are not satisfied with simplistic |
35 | "can't resolve 'hostname.com'" and want to know more. |
36 | This may increase size of your executable a bit. |
37 | |
38 | config ARP |
39 | bool "arp" |
40 | default n |
41 | help |
42 | Manipulate the system ARP cache. |
43 | |
44 | config ARPING |
45 | bool "arping" |
46 | default n |
47 | help |
48 | Ping hosts by ARP packets. |
49 | |
50 | config BRCTL |
51 | bool "brctl" |
52 | default n |
53 | help |
54 | Manage ethernet bridges. |
55 | Supports addbr/delbr and addif/delif. |
56 | |
57 | config FEATURE_BRCTL_FANCY |
58 | bool "Fancy options" |
59 | default n |
60 | depends on BRCTL |
61 | help |
62 | Add support for extended option like: |
63 | setageing, setfd, sethello, setmaxage, |
64 | setpathcost, setportprio, setbridgeprio, |
65 | stp |
66 | This adds about 600 bytes. |
67 | |
68 | config FEATURE_BRCTL_SHOW |
69 | bool "Support show, showmac and showstp" |
70 | default n |
71 | depends on BRCTL && FEATURE_BRCTL_FANCY |
72 | help |
73 | Add support for option which prints the current config: |
74 | showmacs, showstp, show |
75 | |
76 | config DNSD |
77 | bool "dnsd" |
78 | default n |
79 | help |
80 | Small and static DNS server daemon. |
81 | |
82 | config ETHER_WAKE |
83 | bool "ether-wake" |
84 | default n |
85 | help |
86 | Send a magic packet to wake up sleeping machines. |
87 | |
88 | config FAKEIDENTD |
89 | bool "fakeidentd" |
90 | default n |
91 | select FEATURE_SYSLOG |
92 | help |
93 | fakeidentd listens on the ident port and returns a predefined |
94 | fake value on any query. |
95 | |
96 | config FTPGET |
97 | bool "ftpget" |
98 | default n |
99 | help |
100 | Retrieve a remote file via FTP. |
101 | |
102 | config FTPPUT |
103 | bool "ftpput" |
104 | default n |
105 | help |
106 | Store a remote file via FTP. |
107 | |
108 | config FEATURE_FTPGETPUT_LONG_OPTIONS |
109 | bool "Enable long options in ftpget/ftpput" |
110 | default n |
111 | depends on GETOPT_LONG && (FTPGET || FTPPUT) |
112 | help |
113 | Support long options for the ftpget/ftpput applet. |
114 | |
115 | config HOSTNAME |
116 | bool "hostname" |
117 | default n |
118 | help |
119 | Show or set the system's host name. |
120 | |
121 | config HTTPD |
122 | bool "httpd" |
123 | default n |
124 | help |
125 | Serve web pages via an HTTP server. |
126 | |
127 | config FEATURE_HTTPD_RANGES |
128 | bool "Support 'Ranges:' header" |
129 | default n |
130 | depends on HTTPD |
131 | help |
132 | Makes httpd emit "Accept-Ranges: bytes" header and understand |
133 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted |
134 | downloads, seeking in multimedia players etc. |
135 | |
136 | config FEATURE_HTTPD_USE_SENDFILE |
137 | bool "Use sendfile system call" |
138 | default n |
139 | depends on HTTPD |
140 | help |
141 | When enabled, httpd will use the kernel sendfile() function |
142 | instead of read/write loop. |
143 | |
144 | config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP |
145 | bool "Support reloading of global config file on HUP signal" |
146 | default n |
147 | depends on HTTPD |
148 | help |
149 | This option enables processing of SIGHUP to reload cached |
150 | configuration settings. |
151 | |
152 | config FEATURE_HTTPD_SETUID |
153 | bool "Enable -u <user> option" |
154 | default n |
155 | depends on HTTPD |
156 | help |
157 | This option allows the server to run as a specific user |
158 | rather than defaulting to the user that starts the server. |
159 | Use of this option requires special privileges to change to a |
160 | different user. |
161 | |
162 | config FEATURE_HTTPD_BASIC_AUTH |
163 | bool "Enable Basic http Authentication" |
164 | default y |
165 | depends on HTTPD |
166 | help |
167 | Utilizes password settings from /etc/httpd.conf for basic |
168 | authentication on a per url basis. |
169 | |
170 | config FEATURE_HTTPD_AUTH_MD5 |
171 | bool "Support MD5 crypted passwords for http Authentication" |
172 | default n |
173 | depends on FEATURE_HTTPD_BASIC_AUTH |
174 | help |
175 | Enables basic per URL authentication from /etc/httpd.conf |
176 | using md5 passwords. |
177 | |
178 | config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES |
179 | bool "Support loading additional MIME types at run-time" |
180 | default n |
181 | depends on HTTPD |
182 | help |
183 | This option enables support for additional MIME types at |
184 | run-time to be specified in the configuration file. |
185 | |
186 | config FEATURE_HTTPD_CGI |
187 | bool "Support Common Gateway Interface (CGI)" |
188 | default y |
189 | depends on HTTPD |
190 | help |
191 | This option allows scripts and executables to be invoked |
192 | when specific URLs are requested. |
193 | |
194 | config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
195 | bool "Support for running scripts through an interpreter" |
196 | default n |
197 | depends on FEATURE_HTTPD_CGI |
198 | help |
199 | This option enables support for running scripts through an |
200 | interpreter. Turn this on if you want PHP scripts to work |
201 | properly. You need to supply an additional line in your httpd |
202 | config file: |
203 | *.php:/path/to/your/php |
204 | |
205 | config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
206 | bool "Set REMOTE_PORT environment variable for CGI" |
207 | default n |
208 | depends on FEATURE_HTTPD_CGI |
209 | help |
210 | Use of this option can assist scripts in generating |
211 | references that contain a unique port number. |
212 | |
213 | config FEATURE_HTTPD_ENCODE_URL_STR |
214 | bool "Enable -e option (useful for CGIs written as shell scripts)" |
215 | default y |
216 | depends on HTTPD |
217 | help |
218 | This option allows html encoding of arbitrary strings for display |
219 | by the browser. Output goes to stdout. |
220 | For example, httpd -e "<Hello World>" produces |
221 | "<Hello World>". |
222 | |
223 | config FEATURE_HTTPD_ERROR_PAGES |
224 | bool "Support for custom error pages" |
225 | default n |
226 | depends on HTTPD |
227 | help |
228 | This option allows you to define custom error pages in |
229 | the configuration file instead of the default HTTP status |
230 | error pages. For instance, if you add the line: |
231 | E404:/path/e404.html |
232 | in the config file, the server will respond the specified |
233 | '/path/e404.html' file instead of the terse '404 NOT FOUND' |
234 | message. |
235 | |
236 | config FEATURE_HTTPD_PROXY |
237 | bool "Support for reverse proxy" |
238 | default n |
239 | depends on HTTPD |
240 | help |
241 | This option allows you to define URLs that will be forwarded |
242 | to another HTTP server. To setup add the following line to the |
243 | configuration file |
244 | P:/url/:http://hostname[:port]/new/path/ |
245 | Then a request to /url/myfile will be forwarded to |
246 | http://hostname[:port]/new/path/myfile. |
247 | |
248 | config IFCONFIG |
249 | bool "ifconfig" |
250 | default n |
251 | help |
252 | Ifconfig is used to configure the kernel-resident network interfaces. |
253 | |
254 | config FEATURE_IFCONFIG_STATUS |
255 | bool "Enable status reporting output (+7k)" |
256 | default y |
257 | depends on IFCONFIG |
258 | help |
259 | If ifconfig is called with no arguments it will display the status |
260 | of the currently active interfaces. |
261 | |
262 | config FEATURE_IFCONFIG_SLIP |
263 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" |
264 | default n |
265 | depends on IFCONFIG |
266 | help |
267 | Allow "keepalive" and "outfill" support for SLIP. If you're not |
268 | planning on using serial lines, leave this unchecked. |
269 | |
270 | config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
271 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" |
272 | default n |
273 | depends on IFCONFIG |
274 | help |
275 | Allow the start address for shared memory, start address for I/O, |
276 | and/or the interrupt line used by the specified device. |
277 | |
278 | config FEATURE_IFCONFIG_HW |
279 | bool "Enable option \"hw\" (ether only)" |
280 | default y |
281 | depends on IFCONFIG |
282 | help |
283 | Set the hardware address of this interface, if the device driver |
284 | supports this operation. Currently, we only support the 'ether' |
285 | class. |
286 | |
287 | config FEATURE_IFCONFIG_BROADCAST_PLUS |
288 | bool "Set the broadcast automatically" |
289 | default n |
290 | depends on IFCONFIG |
291 | help |
292 | Setting this will make ifconfig attempt to find the broadcast |
293 | automatically if the value '+' is used. |
294 | |
295 | config IFENSLAVE |
296 | bool "ifenslave" |
297 | default n |
298 | help |
299 | Userspace application to bind several interfaces |
300 | to a logical interface (use with kernel bonding driver). |
301 | |
302 | config IFUPDOWN |
303 | bool "ifupdown" |
304 | default n |
305 | help |
306 | Activate or deactivate the specified interfaces. This applet makes |
307 | use of either "ifconfig" and "route" or the "ip" command to actually |
308 | configure network interfaces. Therefore, you will probably also want |
309 | to enable either IFCONFIG and ROUTE, or enable |
310 | FEATURE_IFUPDOWN_IP and the various IP options. Of |
311 | course you could use non-busybox versions of these programs, so |
312 | against my better judgement (since this will surely result in plenty |
313 | of support questions on the mailing list), I do not force you to |
314 | enable these additional options. It is up to you to supply either |
315 | "ifconfig", "route" and "run-parts" or the "ip" command, either |
316 | via busybox or via standalone utilities. |
317 | |
318 | config IFUPDOWN_IFSTATE_PATH |
319 | string "Absolute path to ifstate file" |
320 | default "/var/run/ifstate" |
321 | depends on IFUPDOWN |
322 | help |
323 | ifupdown keeps state information in a file called ifstate. |
324 | Typically it is located in /var/run/ifstate, however |
325 | some distributions tend to put it in other places |
326 | (debian, for example, uses /etc/network/run/ifstate). |
327 | This config option defines location of ifstate. |
328 | |
329 | config FEATURE_IFUPDOWN_IP |
330 | bool "Use ip applet" |
331 | default n |
332 | depends on IFUPDOWN |
333 | help |
334 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
335 | than the default of using the older 'ifconfig' and 'route' utilities. |
336 | |
337 | config FEATURE_IFUPDOWN_IP_BUILTIN |
338 | bool "Use busybox ip applet" |
339 | default y |
340 | depends on FEATURE_IFUPDOWN_IP |
341 | select IP |
342 | select FEATURE_IP_ADDRESS |
343 | select FEATURE_IP_LINK |
344 | select FEATURE_IP_ROUTE |
345 | help |
346 | Use the busybox iproute "ip" applet to implement "ifupdown". |
347 | |
348 | If left disabled, you must install the full-blown iproute2 |
349 | utility or the "ifup" and "ifdown" applets will not work. |
350 | |
351 | config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN |
352 | bool "Use busybox ifconfig and route applets" |
353 | default y |
354 | depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP |
355 | select IFCONFIG |
356 | select ROUTE |
357 | help |
358 | Use the busybox iproute "ifconfig" and "route" applets to |
359 | implement the "ifup" and "ifdown" utilities. |
360 | |
361 | If left disabled, you must install the full-blown ifconfig |
362 | and route utilities, or the "ifup" and "ifdown" applets will not |
363 | work. |
364 | |
365 | config FEATURE_IFUPDOWN_IPV4 |
366 | bool "Support for IPv4" |
367 | default y |
368 | depends on IFUPDOWN |
369 | help |
370 | If you want ifup/ifdown to talk IPv4, leave this on. |
371 | |
372 | config FEATURE_IFUPDOWN_IPV6 |
373 | bool "Support for IPv6" |
374 | default n |
375 | depends on IFUPDOWN && FEATURE_IPV6 |
376 | help |
377 | If you need support for IPv6, turn this option on. |
378 | |
379 | ### UNUSED |
380 | ###config FEATURE_IFUPDOWN_IPX |
381 | ### bool "Support for IPX" |
382 | ### default n |
383 | ### depends on IFUPDOWN |
384 | ### help |
385 | ### If this option is selected you can use busybox to work with IPX |
386 | ### networks. |
387 | |
388 | config FEATURE_IFUPDOWN_MAPPING |
389 | bool "Enable mapping support" |
390 | default n |
391 | depends on IFUPDOWN |
392 | help |
393 | This enables support for the "mapping" stanza, unless you have |
394 | a weird network setup you don't need it. |
395 | |
396 | config FEATURE_IFUPDOWN_EXTERNAL_DHCP |
397 | bool "Support for external dhcp clients" |
398 | default n |
399 | depends on IFUPDOWN |
400 | help |
401 | This enables support for the external dhcp clients. Clients are |
402 | tried in the following order: dhcpcd, dhclient, pump and udhcpc. |
403 | Otherwise, if udhcpc applet is enabled, it is used. |
404 | Otherwise, ifup/ifdown will have no support for DHCP. |
405 | |
406 | config INETD |
407 | bool "inetd" |
408 | default n |
409 | select FEATURE_SYSLOG |
410 | help |
411 | Internet superserver daemon |
412 | |
413 | config FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
414 | bool "Support echo service" |
415 | default y |
416 | depends on INETD |
417 | help |
418 | Echo received data internal inetd service |
419 | |
420 | config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
421 | bool "Support discard service" |
422 | default y |
423 | depends on INETD |
424 | help |
425 | Internet /dev/null internal inetd service |
426 | |
427 | config FEATURE_INETD_SUPPORT_BUILTIN_TIME |
428 | bool "Support time service" |
429 | default y |
430 | depends on INETD |
431 | help |
432 | Return 32 bit time since 1900 internal inetd service |
433 | |
434 | config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
435 | bool "Support daytime service" |
436 | default y |
437 | depends on INETD |
438 | help |
439 | Return human-readable time internal inetd service |
440 | |
441 | config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
442 | bool "Support chargen service" |
443 | default y |
444 | depends on INETD |
445 | help |
446 | Familiar character generator internal inetd service |
447 | |
448 | config FEATURE_INETD_RPC |
449 | bool "Support RPC services" |
450 | default n |
451 | depends on INETD |
452 | select FEATURE_HAVE_RPC |
453 | help |
454 | Support Sun-RPC based services |
455 | |
456 | config IP |
457 | bool "ip" |
458 | default n |
459 | help |
460 | The "ip" applet is a TCP/IP interface configuration and routing |
461 | utility. You generally don't need "ip" to use busybox with |
462 | TCP/IP. |
463 | |
464 | config FEATURE_IP_ADDRESS |
465 | bool "ip address" |
466 | default y |
467 | depends on IP |
468 | help |
469 | Address manipulation support for the "ip" applet. |
470 | |
471 | config FEATURE_IP_LINK |
472 | bool "ip link" |
473 | default y |
474 | depends on IP |
475 | help |
476 | Configure network devices with "ip". |
477 | |
478 | config FEATURE_IP_ROUTE |
479 | bool "ip route" |
480 | default y |
481 | depends on IP |
482 | help |
483 | Add support for routing table management to "ip". |
484 | |
485 | config FEATURE_IP_TUNNEL |
486 | bool "ip tunnel" |
487 | default n |
488 | depends on IP |
489 | help |
490 | Add support for tunneling commands to "ip". |
491 | |
492 | config FEATURE_IP_RULE |
493 | bool "ip rule" |
494 | default n |
495 | depends on IP |
496 | help |
497 | Add support for rule commands to "ip". |
498 | |
499 | config FEATURE_IP_SHORT_FORMS |
500 | bool "Support short forms of ip commands" |
501 | default n |
502 | depends on IP |
503 | help |
504 | Also support short-form of ip <OBJECT> commands: |
505 | ip addr -> ipaddr |
506 | ip link -> iplink |
507 | ip route -> iproute |
508 | ip tunnel -> iptunnel |
509 | ip rule -> iprule |
510 | |
511 | Say N unless you desparately need the short form of the ip |
512 | object commands. |
513 | |
514 | config FEATURE_IP_RARE_PROTOCOLS |
515 | bool "Support displaying rarely used link types" |
516 | default n |
517 | depends on IP |
518 | help |
519 | If you are not going to use links of type "frad", "econet", |
520 | "bif" etc, you probably don't need to enable this. |
521 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling |
522 | link types are supported without this option selected. |
523 | |
524 | config IPADDR |
525 | bool |
526 | default y |
527 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS |
528 | |
529 | config IPLINK |
530 | bool |
531 | default y |
532 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK |
533 | |
534 | config IPROUTE |
535 | bool |
536 | default y |
537 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE |
538 | |
539 | config IPTUNNEL |
540 | bool |
541 | default y |
542 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL |
543 | |
544 | config IPRULE |
545 | bool |
546 | default y |
547 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE |
548 | |
549 | config IPCALC |
550 | bool "ipcalc" |
551 | default n |
552 | help |
553 | ipcalc takes an IP address and netmask and calculates the |
554 | resulting broadcast, network, and host range. |
555 | |
556 | config FEATURE_IPCALC_FANCY |
557 | bool "Fancy IPCALC, more options, adds 1 kbyte" |
558 | default y |
559 | depends on IPCALC |
560 | help |
561 | Adds the options hostname, prefix and silent to the output of |
562 | "ipcalc". |
563 | |
564 | config FEATURE_IPCALC_LONG_OPTIONS |
565 | bool "Enable long options" |
566 | default n |
567 | depends on IPCALC && GETOPT_LONG |
568 | help |
569 | Support long options for the ipcalc applet. |
570 | |
571 | config NAMEIF |
572 | bool "nameif" |
573 | default n |
574 | select FEATURE_SYSLOG |
575 | help |
576 | nameif is used to rename network interface by its MAC address. |
577 | Renamed interfaces MUST be in the down state. |
578 | It is possible to use a file (default: /etc/mactab) |
579 | with list of new interface names and MACs. |
580 | Maximum interface name length: IFNAMSIZ = 16 |
581 | File fields are separated by space or tab. |
582 | File format: |
583 | # Comment |
584 | new_interface_name XX:XX:XX:XX:XX:XX |
585 | |
586 | config FEATURE_NAMEIF_EXTENDED |
587 | bool "Extended nameif" |
588 | default n |
589 | depends on NAMEIF |
590 | help |
591 | This extends the nameif syntax to support the bus_info and driver |
592 | checks. The syntax is compatible to the normal nameif. |
593 | File format: |
594 | new_interface_name driver=asix bus=usb-0000:00:08.2-3 |
595 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 |
596 | new_interface_name mac=00:80:C8:38:91:B5 |
597 | new_interface_name 00:80:C8:38:91:B5 |
598 | |
599 | config NC |
600 | bool "nc" |
601 | default n |
602 | help |
603 | A simple Unix utility which reads and writes data across network |
604 | connections. |
605 | |
606 | config NC_SERVER |
607 | bool "Netcat server options (-l)" |
608 | default n |
609 | depends on NC |
610 | help |
611 | Allow netcat to act as a server. |
612 | |
613 | config NC_EXTRA |
614 | bool "Netcat extensions (-eiw and filename)" |
615 | default n |
616 | depends on NC |
617 | help |
618 | Add -e (support for executing the rest of the command line after |
619 | making or receiving a successful connection), -i (delay interval for |
620 | lines sent), -w (timeout for initial connection). |
621 | |
622 | config NETSTAT |
623 | bool "netstat" |
624 | default n |
625 | help |
626 | netstat prints information about the Linux networking subsystem. |
627 | |
628 | config FEATURE_NETSTAT_WIDE |
629 | bool "Enable wide netstat output" |
630 | default n |
631 | depends on NETSTAT |
632 | help |
633 | Add support for wide columns. Useful when displaying IPv6 addresses |
634 | (-W option). |
635 | |
636 | config FEATURE_NETSTAT_PRG |
637 | bool "Enable PID/Program name output" |
638 | default n |
639 | depends on NETSTAT |
640 | help |
641 | Add support for -p flag to print out PID and program name. |
642 | +700 bytes of code. |
643 | |
644 | config NSLOOKUP |
645 | bool "nslookup" |
646 | default n |
647 | help |
648 | nslookup is a tool to query Internet name servers. |
649 | |
650 | config PING |
651 | bool "ping" |
652 | default n |
653 | help |
654 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
655 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
656 | |
657 | config PING6 |
658 | bool "ping6" |
659 | default n |
660 | depends on FEATURE_IPV6 && PING |
661 | help |
662 | This will give you a ping that can talk IPv6. |
663 | |
664 | config FEATURE_FANCY_PING |
665 | bool "Enable fancy ping output" |
666 | default y |
667 | depends on PING |
668 | help |
669 | Make the output from the ping applet include statistics, and at the |
670 | same time provide full support for ICMP packets. |
671 | |
672 | config PSCAN |
673 | bool "pscan" |
674 | default n |
675 | help |
676 | Simple network port scanner. |
677 | |
678 | config ROUTE |
679 | bool "route" |
680 | default n |
681 | help |
682 | Route displays or manipulates the kernel's IP routing tables. |
683 | |
684 | config SLATTACH |
685 | bool "slattach" |
686 | default n |
687 | help |
688 | slattach is a small utility to attach network interfaces to serial |
689 | lines. |
690 | |
691 | #config TC |
692 | # bool "tc" |
693 | # default n |
694 | # help |
695 | # show / manipulate traffic control settings |
696 | # |
697 | #config FEATURE_TC_INGRESS |
698 | # def_bool n |
699 | # depends on TC |
700 | |
701 | config TELNET |
702 | bool "telnet" |
703 | default n |
704 | help |
705 | Telnet is an interface to the TELNET protocol, but is also commonly |
706 | used to test other simple protocols. |
707 | |
708 | config FEATURE_TELNET_TTYPE |
709 | bool "Pass TERM type to remote host" |
710 | default y |
711 | depends on TELNET |
712 | help |
713 | Setting this option will forward the TERM environment variable to the |
714 | remote host you are connecting to. This is useful to make sure that |
715 | things like ANSI colors and other control sequences behave. |
716 | |
717 | config FEATURE_TELNET_AUTOLOGIN |
718 | bool "Pass USER type to remote host" |
719 | default y |
720 | depends on TELNET |
721 | help |
722 | Setting this option will forward the USER environment variable to the |
723 | remote host you are connecting to. This is useful when you need to |
724 | log into a machine without telling the username (autologin). This |
725 | option enables `-a' and `-l USER' arguments. |
726 | |
727 | config TELNETD |
728 | bool "telnetd" |
729 | default n |
730 | select FEATURE_SYSLOG |
731 | help |
732 | A daemon for the TELNET protocol, allowing you to log onto the host |
733 | running the daemon. Please keep in mind that the TELNET protocol |
734 | sends passwords in plain text. If you can't afford the space for an |
735 | SSH daemon and you trust your network, you may say 'y' here. As a |
736 | more secure alternative, you should seriously consider installing the |
737 | very small Dropbear SSH daemon instead: |
738 | http://matt.ucc.asn.au/dropbear/dropbear.html |
739 | |
740 | Note that for busybox telnetd to work you need several things: |
741 | First of all, your kernel needs: |
742 | UNIX98_PTYS=y |
743 | DEVPTS_FS=y |
744 | |
745 | Next, you need a /dev/pts directory on your root filesystem: |
746 | |
747 | $ ls -ld /dev/pts |
748 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ |
749 | |
750 | Next you need the pseudo terminal master multiplexer /dev/ptmx: |
751 | |
752 | $ ls -la /dev/ptmx |
753 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx |
754 | |
755 | Any /dev/ttyp[0-9]* files you may have can be removed. |
756 | Next, you need to mount the devpts filesystem on /dev/pts using: |
757 | |
758 | mount -t devpts devpts /dev/pts |
759 | |
760 | You need to be sure that Busybox has LOGIN and |
761 | FEATURE_SUID enabled. And finally, you should make |
762 | certain that Busybox has been installed setuid root: |
763 | |
764 | chown root.root /bin/busybox |
765 | chmod 4755 /bin/busybox |
766 | |
767 | with all that done, telnetd _should_ work.... |
768 | |
769 | |
770 | config FEATURE_TELNETD_STANDALONE |
771 | bool "Support standalone telnetd (not inetd only)" |
772 | default n |
773 | depends on TELNETD |
774 | help |
775 | Selecting this will make telnetd able to run standalone. |
776 | |
777 | config TFTP |
778 | bool "tftp" |
779 | default n |
780 | help |
781 | This enables the Trivial File Transfer Protocol client program. TFTP |
782 | is usually used for simple, small transfers such as a root image |
783 | for a network-enabled bootloader. |
784 | |
785 | config TFTPD |
786 | bool "tftpd" |
787 | default n |
788 | help |
789 | This enables the Trivial File Transfer Protocol server program. |
790 | It expects that stdin is a datagram socket and a packet |
791 | is already pending on it. It will exit after one transfer. |
792 | In other words: it should be run from inetd in nowait mode, |
793 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" |
794 | |
795 | config FEATURE_TFTP_GET |
796 | bool "Enable \"get\" command" |
797 | default y |
798 | depends on TFTP || TFTPD |
799 | help |
800 | Add support for the GET command within the TFTP client. This allows |
801 | a client to retrieve a file from a TFTP server. |
802 | Also enable upload support in tftpd, if tftpd is selected. |
803 | |
804 | config FEATURE_TFTP_PUT |
805 | bool "Enable \"put\" command" |
806 | default y |
807 | depends on TFTP || TFTPD |
808 | help |
809 | Add support for the PUT command within the TFTP client. This allows |
810 | a client to transfer a file to a TFTP server. |
811 | Also enable download support in tftpd, if tftpd is selected. |
812 | |
813 | config FEATURE_TFTP_BLOCKSIZE |
814 | bool "Enable \"blksize\" protocol option" |
815 | default n |
816 | depends on TFTP || TFTPD |
817 | help |
818 | Allow tftp to specify block size, and tftpd to understand |
819 | "blksize" option. |
820 | |
821 | config TFTP_DEBUG |
822 | bool "Enable debug" |
823 | default n |
824 | depends on TFTP |
825 | help |
826 | Enable debug settings for tftp. This is useful if you're running |
827 | into problems with tftp as the protocol doesn't help you much when |
828 | you run into problems. |
829 | |
830 | config TRACEROUTE |
831 | bool "traceroute" |
832 | default n |
833 | help |
834 | Utility to trace the route of IP packets |
835 | |
836 | config FEATURE_TRACEROUTE_VERBOSE |
837 | bool "Enable verbose output" |
838 | default n |
839 | depends on TRACEROUTE |
840 | help |
841 | Add some verbosity to traceroute. This includes amongst other things |
842 | hostnames and ICMP response types. |
843 | |
844 | config FEATURE_TRACEROUTE_SOURCE_ROUTE |
845 | bool "Enable loose source route" |
846 | default n |
847 | depends on TRACEROUTE |
848 | help |
849 | Add option to specify a loose source route gateway |
850 | (8 maximum). |
851 | |
852 | config FEATURE_TRACEROUTE_USE_ICMP |
853 | bool "Use ICMP instead of UDP" |
854 | default n |
855 | depends on TRACEROUTE |
856 | help |
857 | Add feature to allow for ICMP ECHO instead of UDP datagrams. |
858 | |
859 | source networking/udhcp/Config.in |
860 | |
861 | config VCONFIG |
862 | bool "vconfig" |
863 | default n |
864 | help |
865 | Creates, removes, and configures VLAN interfaces |
866 | |
867 | config WGET |
868 | bool "wget" |
869 | default n |
870 | help |
871 | wget is a utility for non-interactive download of files from HTTP, |
872 | HTTPS, and FTP servers. |
873 | |
874 | config FEATURE_WGET_STATUSBAR |
875 | bool "Enable a nifty process meter (+2k)" |
876 | default y |
877 | depends on WGET |
878 | help |
879 | Enable the transfer progress bar for wget transfers. |
880 | |
881 | config FEATURE_WGET_AUTHENTICATION |
882 | bool "Enable HTTP authentication" |
883 | default y |
884 | depends on WGET |
885 | help |
886 | Support authenticated HTTP transfers. |
887 | |
888 | config FEATURE_WGET_LONG_OPTIONS |
889 | bool "Enable long options" |
890 | default n |
891 | depends on WGET && GETOPT_LONG |
892 | help |
893 | Support long options for the wget applet. |
894 | |
895 | config ZCIP |
896 | bool "zcip" |
897 | default n |
898 | select FEATURE_SYSLOG |
899 | help |
900 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
901 | It's a daemon that allocates and defends a dynamically assigned |
902 | address on the 169.254/16 network, requiring no system administrator. |
903 | |
904 | See http://www.zeroconf.org for further details, and "zcip.script" |
905 | in the busybox examples. |
906 | |
907 | config TCPSVD |
908 | bool "tcpsvd" |
909 | default n |
910 | help |
911 | tcpsvd listens on a TCP port and runs a program for each new |
912 | connection. |
913 | |
914 | config UDPSVD |
915 | bool "udpsvd" |
916 | default n |
917 | help |
918 | udpsvd listens on an UDP port and runs a program for each new |
919 | connection. |
920 | |
921 | endmenu |