2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Networking Utilities"
8 config BUSYBOX_CONFIG_FEATURE_IPV6
9 bool "Enable IPv6 support"
12 Enable IPv6 support to busybox. This makes applets that talk IP
13 able to work with IPv6.
15 config BUSYBOX_CONFIG_ARPING
19 Ping hosts by ARP packets
21 config BUSYBOX_CONFIG_FTPGET
25 Retrieve a remote file via FTP.
27 config BUSYBOX_CONFIG_FTPPUT
31 Store a remote file via FTP.
33 config BUSYBOX_CONFIG_HOSTNAME
37 Show or set the system's host name
39 config BUSYBOX_CONFIG_HTTPD
43 Serve web pages via an HTTP server.
45 config BUSYBOX_CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
46 bool " Support using httpd only from inetd"
48 depends on BUSYBOX_CONFIG_HTTPD
50 This option disables uid and port options for the httpd applet
51 but requires inetd server daemon.
53 config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
54 bool " Enable Basic http Authentication"
56 depends on BUSYBOX_CONFIG_HTTPD
58 Utilizes password settings from /etc/httpd.conf for basic
59 authentication on a per url basis.
61 config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5
62 bool " Support MD5 crypted passwords for http Authentication"
64 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
66 Enables basic per url authentication from /etc/httpd.conf
70 if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
71 config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
72 bool " Support reloading the global config file using hup signal"
74 depends on BUSYBOX_CONFIG_HTTPD
76 This option enables processing of SIGHUP to reload cached
77 configuration settings.
79 config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID
80 bool " Enable support -u <user> option"
82 depends on BUSYBOX_CONFIG_HTTPD
84 This option allows the server to run as a specific user
85 rather than defaulting to the user that starts the server.
86 Use of this option requires special privileges to change to a
90 config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
91 bool " Support loading additional MIME types at run-time"
93 depends on BUSYBOX_CONFIG_HTTPD
95 This option enables support for additional MIME types at
96 run-time to be specified in the configuration file.
98 config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
99 bool " Support Common Gateway Interface (CGI)"
101 depends on BUSYBOX_CONFIG_HTTPD
103 This option allows scripts and executables to be invoked
104 when specific urls are requested.
106 config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
107 bool " Support the REMOTE_PORT environment variable for CGI"
109 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
111 Use of this option can assist scripts in generating
112 references that contain a unique port number.
114 config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
115 bool " Enable the -e option for shell script CGI simplification."
117 depends on BUSYBOX_CONFIG_HTTPD
119 After set, this option allows html encoding arbitrary
120 strings for display of the browser. Output goes to stdout.
121 For example, httpd -e "<Hello World>" as
122 "<Hello World>".
124 config BUSYBOX_CONFIG_IFCONFIG
128 Ifconfig is used to configure the kernel-resident network interfaces.
130 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS
131 bool " Enable status reporting output (+7k)"
133 depends on BUSYBOX_CONFIG_IFCONFIG
135 If ifconfig is called with no arguments it will display the status
136 of the currently active interfaces.
138 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP
139 bool " Enable slip-specific options \"keepalive\" and \"outfill\""
141 depends on BUSYBOX_CONFIG_IFCONFIG
143 Allow "keepalive" and "outfill" support for SLIP. If you're not
144 planning on using serial lines, leave this unchecked.
146 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
147 bool " Enable options \"mem_start\", \"io_addr\", and \"irq\""
149 depends on BUSYBOX_CONFIG_IFCONFIG
151 Allow the start address for shared memory, start address for I/O,
152 and/or the interrupt line used by the specified device.
154 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW
155 bool " Enable option \"hw\" (ether only)"
157 depends on BUSYBOX_CONFIG_IFCONFIG
159 Set the hardware address of this interface, if the device driver
160 supports this operation. Currently, we only support the 'ether'
163 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
164 bool " Set the broadcast automatically"
166 depends on BUSYBOX_CONFIG_IFCONFIG
168 Setting this will make ifconfig attempt to find the broadcast
169 automatically if the value '+' is used.
171 config BUSYBOX_CONFIG_IFUPDOWN
175 Activate or deactivate the specified interfaces. This applet makes
176 use of either "ifconfig" and "route" or the "ip" command to actually
177 configure network interfaces. Therefore, you will probably also want
178 to enable either BUSYBOX_CONFIG_IFCONFIG and BUSYBOX_CONFIG_ROUTE, or enable
179 BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP and the various BUSYBOX_CONFIG_IP options. Of
180 course you could use non-busybox versions of these programs, so
181 against my better judgement (since this will surely result in plenty
182 of support questions on the mailing list), I do not force you to
183 enable these additional options. It is up to you to supply either
184 "ifconfig" and "route" or the "ip" command, either via busybox or via
185 standalone utilities.
187 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
188 bool " Use ip applet"
190 depends on BUSYBOX_CONFIG_IFUPDOWN
192 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
193 than the default of using the older 'ifconfig' and 'route' utilities.
195 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
196 bool " Use busybox ip applet"
198 depends on BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
199 select BUSYBOX_CONFIG_IP
200 select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
201 select BUSYBOX_CONFIG_FEATURE_IP_LINK
202 select BUSYBOX_CONFIG_FEATURE_IP_ROUTE
204 Use the busybox iproute "ip" applet to implement "ifupdown".
206 If leave this disabled, you must install the full-blown iproute2
207 utility or the "ifup" and "ifdown" applets will not work.
209 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
210 bool " Use busybox ifconfig and route applets"
212 depends on BUSYBOX_CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
213 select BUSYBOX_CONFIG_IFCONFIG
214 select BUSYBOX_CONFIG_ROUTE
216 Use the busybox iproute "ifconfig" and "route" applets to
217 implement the "ifup" and "ifdown" utilities.
219 If leave this disabled, you must install the full-blown ifconfig
220 and route utilities, or the "ifup" and "ifdown" applets will not
223 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4
224 bool " Enable support for IPv4"
226 depends on BUSYBOX_CONFIG_IFUPDOWN
228 If you want busybox to talk IPv4, leave this on.
230 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6
231 bool " Enable support for IPv6"
233 depends on BUSYBOX_CONFIG_IFUPDOWN
235 If you need support for IPv6, turn this option on.
237 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPX
238 bool " Enable support for IPX"
240 depends on BUSYBOX_CONFIG_IFUPDOWN
242 If this option is selected you can use busybox to work with IPX
245 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING
246 bool " Enable mapping support"
248 depends on BUSYBOX_CONFIG_IFUPDOWN
250 This enables support for the "mapping" stanza, unless you have
251 a weird network setup you don't need it.
253 config BUSYBOX_CONFIG_INETD
257 Internet superserver daemon
259 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO
260 bool " Support echo service"
262 depends on BUSYBOX_CONFIG_INETD
264 Echo received data internal inetd service
266 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD
267 bool " Support discard service"
269 depends on BUSYBOX_CONFIG_INETD
271 Internet /dev/null internal inetd service
273 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME
274 bool " Support time service"
276 depends on BUSYBOX_CONFIG_INETD
278 Return 32 bit time since 1900 internal inetd service
280 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME
281 bool " Support daytime service"
283 depends on BUSYBOX_CONFIG_INETD
285 Return human-readable time internal inetd service
287 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
288 bool " Support chargen service"
290 depends on BUSYBOX_CONFIG_INETD
292 Familiar character generator internal inetd service
295 config BUSYBOX_CONFIG_IP
299 The "ip" applet is a TCP/IP interface configuration and routing
300 utility. You generally don't need "ip" to use busybox with
303 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPADDR
304 config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
306 comment " address (forced enabled for ipaddr)"
308 if ! (CONFIG_IP && BUSYBOX_CONFIG_IPADDR)
309 config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
312 depends on BUSYBOX_CONFIG_IP
314 Address manipulation support for the "ip" applet.
317 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPLINK
318 config BUSYBOX_CONFIG_FEATURE_IP_LINK
320 comment " link (forced enabled for iplink)"
322 if !(CONFIG_IP && BUSYBOX_CONFIG_IPLINK)
323 config BUSYBOX_CONFIG_FEATURE_IP_LINK
326 depends on BUSYBOX_CONFIG_IP
328 Configure network devices with "ip".
331 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPROUTE
332 config BUSYBOX_CONFIG_FEATURE_IP_ROUTE
334 comment " route (forced enabled for iproute)"
336 if !(CONFIG_IP && BUSYBOX_CONFIG_IPROUTE)
337 config BUSYBOX_CONFIG_FEATURE_IP_ROUTE
340 depends on BUSYBOX_CONFIG_IP
342 Add support for routing table management to "ip".
345 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPTUNNEL
346 config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
348 comment " tunnel (forced enabled for iptunnel)"
350 if !(CONFIG_IP && BUSYBOX_CONFIG_IPTUNNEL)
351 config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
354 depends on BUSYBOX_CONFIG_IP
356 Add support for tunneling commands to "ip".
359 config BUSYBOX_CONFIG_IPCALC
363 ipcalc takes an IP address and netmask and calculates the
364 resulting broadcast, network, and host range.
366 config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY
367 bool " Fancy IPCALC, more options, adds 1 kbyte"
369 depends on BUSYBOX_CONFIG_IPCALC
371 Adds the options hostname, prefix and silent to the output of "ipcalc".
373 config BUSYBOX_CONFIG_IPADDR
377 Equivalent to selecting address support to "ip", above.
379 config BUSYBOX_CONFIG_IPLINK
383 Equivalent to selecting link support to "ip", above.
385 config BUSYBOX_CONFIG_IPROUTE
389 Equivalent to selecting route support to "ip", above.
391 config BUSYBOX_CONFIG_IPTUNNEL
395 Equivalent to selecting tunnel support to "ip", above.
397 config BUSYBOX_CONFIG_NAMEIF
401 nameif is used to rename network interface by its MAC address.
402 Renamed interfaces MUST be in the down state.
403 It is possible to use a file (default: /etc/mactab)
404 with list of new interface names and MACs.
405 Maximum interface name length: IF_NAMESIZE = 16
406 File fields are separated by space or tab.
409 new_interface_name XX:XX:XX:XX:XX:XX
411 config BUSYBOX_CONFIG_NC
415 A simple Unix utility which reads and writes data across network
418 config BUSYBOX_CONFIG_NETMSG
422 simple program for sending udp broadcast messages
424 config BUSYBOX_CONFIG_NETSTAT
428 netstat prints information about the Linux networking subsystem.
430 config BUSYBOX_CONFIG_NSLOOKUP
434 nslookup is a tool to query Internet name servers.
436 config BUSYBOX_CONFIG_PING
440 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
441 elicit an ICMP ECHO_RESPONSE from a host or gateway.
443 config BUSYBOX_CONFIG_FEATURE_FANCY_PING
444 bool " Enable fancy ping output"
446 depends on BUSYBOX_CONFIG_PING
448 Make the output from the ping applet include statistics, and at the
449 same time provide full support for ICMP packets.
451 config BUSYBOX_CONFIG_PING6
454 depends on BUSYBOX_CONFIG_FEATURE_IPV6
456 This will give you a ping that can talk IPv6.
458 config BUSYBOX_CONFIG_FEATURE_FANCY_PING6
459 bool " Enable fancy ping6 output"
461 depends on BUSYBOX_CONFIG_PING6
463 Make the output from the ping6 applet include statistics, and at the
464 same time provide full support for ICMP packets.
466 config BUSYBOX_CONFIG_ROUTE
470 Route displays or manipulates the kernel's IP routing tables.
472 config BUSYBOX_CONFIG_TELNET
476 Telnet is an interface to the TELNET protocol, but is also commonly
477 used to test other simple protocols.
479 config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE
480 bool " Pass TERM type to remote host"
482 depends on BUSYBOX_CONFIG_TELNET
484 Setting this option will forward the TERM environment variable to the
485 remote host you are connecting to. This is useful to make sure that
486 things like ANSI colors and other control sequences behave.
488 config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
489 bool " Pass USER type to remote host"
491 depends on BUSYBOX_CONFIG_TELNET
493 Setting this option will forward the USER environment variable to the
494 remote host you are connecting to. This is useful when you need to
495 log into a machine without telling the username (autologin). This
496 option enables `-a' and `-l USER' arguments.
498 config BUSYBOX_CONFIG_TELNETD
501 #select BUSYBOX_CONFIG_LOGIN
503 A daemon for the TELNET protocol, allowing you to log onto the host
504 running the daemon. Please keep in mind that the TELNET protocol
505 sends passwords in plain text. If you can't afford the space for an
506 SSH daemon and you trust your network, you may say 'y' here. As a
507 more secure alternative, you should seriously consider installing the
508 very small Dropbear SSH daemon instead:
509 http://matt.ucc.asn.au/dropbear/dropbear.html
511 Note that for busybox telnetd to work you need several things:
512 First of all, your kernel needs:
513 BUSYBOX_CONFIG_UNIX98_PTYS=y
514 BUSYBOX_CONFIG_DEVPTS_FS=y
516 Next, you need a /dev/pts directory on your root filesystem:
519 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
521 Next you need the pseudo terminal master multiplexer /dev/ptmx:
524 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
526 Any /dev/ttyp[0-9]* files you may have can be removed.
527 Next, you need to mount the devpts filesystem on /dev/pts using:
529 mount -t devpts devpts /dev/pts
531 You need to be sure that Busybox has BUSYBOX_CONFIG_LOGIN and
532 BUSYBOX_CONFIG_FEATURE_SUID enabled. And finally, you should make
533 certain that Busybox has been installed setuid root:
535 chown root.root /bin/busybox
536 chmod 4755 /bin/busybox
538 with all that done, telnetd _should_ work....
541 config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD
542 bool " Support call from inetd only"
544 depends on BUSYBOX_CONFIG_TELNETD
546 Selecting this will make telnetd only callable from inetd,
547 removing the standalone support.
549 config BUSYBOX_CONFIG_TFTP
553 This enables the Trivial File Transfer Protocol client program. TFTP
554 is usually used for simple, small transfers such as a root image
555 for a network-enabled bootloader.
557 config BUSYBOX_CONFIG_FEATURE_TFTP_GET
558 bool " Enable \"get\" command"
560 depends on BUSYBOX_CONFIG_TFTP
562 Add support for the GET command within the TFTP client. This allows
563 a client to retrieve a file from a TFTP server.
565 config BUSYBOX_CONFIG_FEATURE_TFTP_PUT
566 bool " Enable \"put\" command"
568 depends on BUSYBOX_CONFIG_TFTP
570 Add support for the PUT command within the TFTP client. This allows
571 a client to transfer a file to a TFTP server.
573 config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE
574 bool " Enable \"blocksize\" command"
576 depends on BUSYBOX_CONFIG_TFTP
578 Allow the client to specify the desired block size for transfers.
580 config BUSYBOX_CONFIG_FEATURE_TFTP_DEBUG
583 depends on BUSYBOX_CONFIG_TFTP
585 Enable debug settings for tftp. This is useful if you're running
586 into problems with tftp as the protocol doesn't help you much when
587 you run into problems.
589 config BUSYBOX_CONFIG_TRACEROUTE
593 Utility to trace the route of IP packets
595 config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
596 bool " Enable verbose output"
598 depends on BUSYBOX_CONFIG_TRACEROUTE
600 Add some verbosity to traceroute. This includes amongst other things
601 hostnames and ICMP response types.
603 config BUSYBOX_CONFIG_VCONFIG
607 Creates, removes, and configures VLAN interfaces
609 config BUSYBOX_CONFIG_WGET
613 wget is a utility for non-interactive download of files from HTTP,
614 HTTPS, and FTP servers.
616 config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR
617 bool " Enable a nifty process meter (+2k)"
619 depends on BUSYBOX_CONFIG_WGET
621 Enable the transfer progress bar for wget transfers.
623 config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
624 bool " Enable HTTP authentication"
626 depends on BUSYBOX_CONFIG_WGET
628 Support authenticated HTTP transfers.
630 config BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL
631 bool " Enable IPv6 literal addresses"
633 depends on BUSYBOX_CONFIG_WGET
635 Support IPv6 address literal notation in URLs.
637 source package/busybox/config/networking/udhcp/Config.in