diff options
Diffstat (limited to 'networking/Config.src')
-rw-r--r-- | networking/Config.src | 794 |
1 files changed, 1 insertions, 793 deletions
diff --git a/networking/Config.src b/networking/Config.src index 43667fe6a..4d921884f 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -5,8 +5,6 @@ | |||
5 | 5 | ||
6 | menu "Networking Utilities" | 6 | menu "Networking Utilities" |
7 | 7 | ||
8 | INSERT | ||
9 | |||
10 | config FEATURE_IPV6 | 8 | config FEATURE_IPV6 |
11 | bool "Enable IPv6 support" | 9 | bool "Enable IPv6 support" |
12 | default y | 10 | default y |
@@ -48,558 +46,7 @@ config VERBOSE_RESOLUTION_ERRORS | |||
48 | "can't resolve 'hostname.com'" and want to know more. | 46 | "can't resolve 'hostname.com'" and want to know more. |
49 | This may increase size of your executable a bit. | 47 | This may increase size of your executable a bit. |
50 | 48 | ||
51 | config ARP | 49 | INSERT |
52 | bool "arp" | ||
53 | default y | ||
54 | select PLATFORM_LINUX | ||
55 | help | ||
56 | Manipulate the system ARP cache. | ||
57 | |||
58 | config ARPING | ||
59 | bool "arping" | ||
60 | default y | ||
61 | select PLATFORM_LINUX | ||
62 | help | ||
63 | Ping hosts by ARP packets. | ||
64 | |||
65 | config BRCTL | ||
66 | bool "brctl" | ||
67 | default y | ||
68 | select PLATFORM_LINUX | ||
69 | help | ||
70 | Manage ethernet bridges. | ||
71 | Supports addbr/delbr and addif/delif. | ||
72 | |||
73 | config FEATURE_BRCTL_FANCY | ||
74 | bool "Fancy options" | ||
75 | default y | ||
76 | depends on BRCTL | ||
77 | help | ||
78 | Add support for extended option like: | ||
79 | setageing, setfd, sethello, setmaxage, | ||
80 | setpathcost, setportprio, setbridgeprio, | ||
81 | stp | ||
82 | This adds about 600 bytes. | ||
83 | |||
84 | config FEATURE_BRCTL_SHOW | ||
85 | bool "Support show" | ||
86 | default y | ||
87 | depends on BRCTL && FEATURE_BRCTL_FANCY | ||
88 | help | ||
89 | Add support for option which prints the current config: | ||
90 | show | ||
91 | |||
92 | config DNSD | ||
93 | bool "dnsd" | ||
94 | default y | ||
95 | help | ||
96 | Small and static DNS server daemon. | ||
97 | |||
98 | config ETHER_WAKE | ||
99 | bool "ether-wake" | ||
100 | default y | ||
101 | select PLATFORM_LINUX | ||
102 | help | ||
103 | Send a magic packet to wake up sleeping machines. | ||
104 | |||
105 | config FAKEIDENTD | ||
106 | bool "fakeidentd" | ||
107 | default y | ||
108 | select FEATURE_SYSLOG | ||
109 | help | ||
110 | fakeidentd listens on the ident port and returns a predefined | ||
111 | fake value on any query. | ||
112 | |||
113 | config FTPD | ||
114 | bool "ftpd" | ||
115 | default y | ||
116 | help | ||
117 | simple FTP daemon. You have to run it via inetd. | ||
118 | |||
119 | config FEATURE_FTP_WRITE | ||
120 | bool "Enable upload commands" | ||
121 | default y | ||
122 | depends on FTPD | ||
123 | help | ||
124 | Enable all kinds of FTP upload commands (-w option) | ||
125 | |||
126 | config FEATURE_FTPD_ACCEPT_BROKEN_LIST | ||
127 | bool "Enable workaround for RFC-violating clients" | ||
128 | default y | ||
129 | depends on FTPD | ||
130 | help | ||
131 | Some ftp clients (among them KDE's Konqueror) issue illegal | ||
132 | "LIST -l" requests. This option works around such problems. | ||
133 | It might prevent you from listing files starting with "-" and | ||
134 | it increases the code size by ~40 bytes. | ||
135 | Most other ftp servers seem to behave similar to this. | ||
136 | |||
137 | config FEATURE_FTP_AUTHENTICATION | ||
138 | bool "Enable authentication" | ||
139 | default y | ||
140 | depends on FTPD | ||
141 | help | ||
142 | Enable basic system login as seen in telnet etc. | ||
143 | |||
144 | config FTPGET | ||
145 | bool "ftpget" | ||
146 | default y | ||
147 | help | ||
148 | Retrieve a remote file via FTP. | ||
149 | |||
150 | config FTPPUT | ||
151 | bool "ftpput" | ||
152 | default y | ||
153 | help | ||
154 | Store a remote file via FTP. | ||
155 | |||
156 | config FEATURE_FTPGETPUT_LONG_OPTIONS | ||
157 | bool "Enable long options in ftpget/ftpput" | ||
158 | default y | ||
159 | depends on LONG_OPTS && (FTPGET || FTPPUT) | ||
160 | help | ||
161 | Support long options for the ftpget/ftpput applet. | ||
162 | |||
163 | config HTTPD | ||
164 | bool "httpd" | ||
165 | default y | ||
166 | help | ||
167 | Serve web pages via an HTTP server. | ||
168 | |||
169 | config FEATURE_HTTPD_RANGES | ||
170 | bool "Support 'Ranges:' header" | ||
171 | default y | ||
172 | depends on HTTPD | ||
173 | help | ||
174 | Makes httpd emit "Accept-Ranges: bytes" header and understand | ||
175 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted | ||
176 | downloads, seeking in multimedia players etc. | ||
177 | |||
178 | config FEATURE_HTTPD_SETUID | ||
179 | bool "Enable -u <user> option" | ||
180 | default y | ||
181 | depends on HTTPD | ||
182 | help | ||
183 | This option allows the server to run as a specific user | ||
184 | rather than defaulting to the user that starts the server. | ||
185 | Use of this option requires special privileges to change to a | ||
186 | different user. | ||
187 | |||
188 | config FEATURE_HTTPD_BASIC_AUTH | ||
189 | bool "Enable Basic http Authentication" | ||
190 | default y | ||
191 | depends on HTTPD | ||
192 | help | ||
193 | Utilizes password settings from /etc/httpd.conf for basic | ||
194 | authentication on a per url basis. | ||
195 | Example for httpd.conf file: | ||
196 | /adm:toor:PaSsWd | ||
197 | |||
198 | config FEATURE_HTTPD_AUTH_MD5 | ||
199 | bool "Support MD5 crypted passwords for http Authentication" | ||
200 | default y | ||
201 | depends on FEATURE_HTTPD_BASIC_AUTH | ||
202 | help | ||
203 | Enables encrypted passwords, and wildcard user/passwords | ||
204 | in httpd.conf file. | ||
205 | User '*' means 'any system user name is ok', | ||
206 | password of '*' means 'use system password for this user' | ||
207 | Examples: | ||
208 | /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 | ||
209 | /adm:root:* | ||
210 | /wiki:*:* | ||
211 | |||
212 | config FEATURE_HTTPD_CGI | ||
213 | bool "Support Common Gateway Interface (CGI)" | ||
214 | default y | ||
215 | depends on HTTPD | ||
216 | help | ||
217 | This option allows scripts and executables to be invoked | ||
218 | when specific URLs are requested. | ||
219 | |||
220 | config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR | ||
221 | bool "Support for running scripts through an interpreter" | ||
222 | default y | ||
223 | depends on FEATURE_HTTPD_CGI | ||
224 | help | ||
225 | This option enables support for running scripts through an | ||
226 | interpreter. Turn this on if you want PHP scripts to work | ||
227 | properly. You need to supply an additional line in your | ||
228 | httpd.conf file: | ||
229 | *.php:/path/to/your/php | ||
230 | |||
231 | config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV | ||
232 | bool "Set REMOTE_PORT environment variable for CGI" | ||
233 | default y | ||
234 | depends on FEATURE_HTTPD_CGI | ||
235 | help | ||
236 | Use of this option can assist scripts in generating | ||
237 | references that contain a unique port number. | ||
238 | |||
239 | config FEATURE_HTTPD_ENCODE_URL_STR | ||
240 | bool "Enable -e option (useful for CGIs written as shell scripts)" | ||
241 | default y | ||
242 | depends on HTTPD | ||
243 | help | ||
244 | This option allows html encoding of arbitrary strings for display | ||
245 | by the browser. Output goes to stdout. | ||
246 | For example, httpd -e "<Hello World>" produces | ||
247 | "<Hello World>". | ||
248 | |||
249 | config FEATURE_HTTPD_ERROR_PAGES | ||
250 | bool "Support for custom error pages" | ||
251 | default y | ||
252 | depends on HTTPD | ||
253 | help | ||
254 | This option allows you to define custom error pages in | ||
255 | the configuration file instead of the default HTTP status | ||
256 | error pages. For instance, if you add the line: | ||
257 | E404:/path/e404.html | ||
258 | in the config file, the server will respond the specified | ||
259 | '/path/e404.html' file instead of the terse '404 NOT FOUND' | ||
260 | message. | ||
261 | |||
262 | config FEATURE_HTTPD_PROXY | ||
263 | bool "Support for reverse proxy" | ||
264 | default y | ||
265 | depends on HTTPD | ||
266 | help | ||
267 | This option allows you to define URLs that will be forwarded | ||
268 | to another HTTP server. To setup add the following line to the | ||
269 | configuration file | ||
270 | P:/url/:http://hostname[:port]/new/path/ | ||
271 | Then a request to /url/myfile will be forwarded to | ||
272 | http://hostname[:port]/new/path/myfile. | ||
273 | |||
274 | config FEATURE_HTTPD_GZIP | ||
275 | bool "Support for GZIP content encoding" | ||
276 | default y | ||
277 | depends on HTTPD | ||
278 | help | ||
279 | Makes httpd send files using GZIP content encoding if the | ||
280 | client supports it and a pre-compressed <file>.gz exists. | ||
281 | |||
282 | config IFCONFIG | ||
283 | bool "ifconfig" | ||
284 | default y | ||
285 | select PLATFORM_LINUX | ||
286 | help | ||
287 | Ifconfig is used to configure the kernel-resident network interfaces. | ||
288 | |||
289 | config FEATURE_IFCONFIG_STATUS | ||
290 | bool "Enable status reporting output (+7k)" | ||
291 | default y | ||
292 | depends on IFCONFIG | ||
293 | help | ||
294 | If ifconfig is called with no arguments it will display the status | ||
295 | of the currently active interfaces. | ||
296 | |||
297 | config FEATURE_IFCONFIG_SLIP | ||
298 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" | ||
299 | default y | ||
300 | depends on IFCONFIG | ||
301 | help | ||
302 | Allow "keepalive" and "outfill" support for SLIP. If you're not | ||
303 | planning on using serial lines, leave this unchecked. | ||
304 | |||
305 | config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ | ||
306 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" | ||
307 | default y | ||
308 | depends on IFCONFIG | ||
309 | help | ||
310 | Allow the start address for shared memory, start address for I/O, | ||
311 | and/or the interrupt line used by the specified device. | ||
312 | |||
313 | config FEATURE_IFCONFIG_HW | ||
314 | bool "Enable option \"hw\" (ether only)" | ||
315 | default y | ||
316 | depends on IFCONFIG | ||
317 | help | ||
318 | Set the hardware address of this interface, if the device driver | ||
319 | supports this operation. Currently, we only support the 'ether' | ||
320 | class. | ||
321 | |||
322 | config FEATURE_IFCONFIG_BROADCAST_PLUS | ||
323 | bool "Set the broadcast automatically" | ||
324 | default y | ||
325 | depends on IFCONFIG | ||
326 | help | ||
327 | Setting this will make ifconfig attempt to find the broadcast | ||
328 | automatically if the value '+' is used. | ||
329 | |||
330 | config IFENSLAVE | ||
331 | bool "ifenslave" | ||
332 | default y | ||
333 | select PLATFORM_LINUX | ||
334 | help | ||
335 | Userspace application to bind several interfaces | ||
336 | to a logical interface (use with kernel bonding driver). | ||
337 | |||
338 | config IFPLUGD | ||
339 | bool "ifplugd" | ||
340 | default y | ||
341 | select PLATFORM_LINUX | ||
342 | help | ||
343 | Network interface plug detection daemon. | ||
344 | |||
345 | config INETD | ||
346 | bool "inetd" | ||
347 | default y | ||
348 | select FEATURE_SYSLOG | ||
349 | help | ||
350 | Internet superserver daemon | ||
351 | |||
352 | config FEATURE_INETD_SUPPORT_BUILTIN_ECHO | ||
353 | bool "Support echo service" | ||
354 | default y | ||
355 | depends on INETD | ||
356 | help | ||
357 | Echo received data internal inetd service | ||
358 | |||
359 | config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD | ||
360 | bool "Support discard service" | ||
361 | default y | ||
362 | depends on INETD | ||
363 | help | ||
364 | Internet /dev/null internal inetd service | ||
365 | |||
366 | config FEATURE_INETD_SUPPORT_BUILTIN_TIME | ||
367 | bool "Support time service" | ||
368 | default y | ||
369 | depends on INETD | ||
370 | help | ||
371 | Return 32 bit time since 1900 internal inetd service | ||
372 | |||
373 | config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME | ||
374 | bool "Support daytime service" | ||
375 | default y | ||
376 | depends on INETD | ||
377 | help | ||
378 | Return human-readable time internal inetd service | ||
379 | |||
380 | config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN | ||
381 | bool "Support chargen service" | ||
382 | default y | ||
383 | depends on INETD | ||
384 | help | ||
385 | Familiar character generator internal inetd service | ||
386 | |||
387 | config FEATURE_INETD_RPC | ||
388 | bool "Support RPC services" | ||
389 | default n # very rarely used, and needs Sun RPC support in libc | ||
390 | depends on INETD | ||
391 | select FEATURE_HAVE_RPC | ||
392 | help | ||
393 | Support Sun-RPC based services | ||
394 | |||
395 | config IP | ||
396 | bool "ip" | ||
397 | default y | ||
398 | select PLATFORM_LINUX | ||
399 | help | ||
400 | The "ip" applet is a TCP/IP interface configuration and routing | ||
401 | utility. You generally don't need "ip" to use busybox with | ||
402 | TCP/IP. | ||
403 | |||
404 | config FEATURE_IP_ADDRESS | ||
405 | bool "ip address" | ||
406 | default y | ||
407 | depends on IP | ||
408 | help | ||
409 | Address manipulation support for the "ip" applet. | ||
410 | |||
411 | config FEATURE_IP_LINK | ||
412 | bool "ip link" | ||
413 | default y | ||
414 | depends on IP | ||
415 | help | ||
416 | Configure network devices with "ip". | ||
417 | |||
418 | config FEATURE_IP_ROUTE | ||
419 | bool "ip route" | ||
420 | default y | ||
421 | depends on IP | ||
422 | help | ||
423 | Add support for routing table management to "ip". | ||
424 | |||
425 | config FEATURE_IP_ROUTE_DIR | ||
426 | string "ip route configuration directory" | ||
427 | default "/etc/iproute2" | ||
428 | depends on FEATURE_IP_ROUTE | ||
429 | help | ||
430 | Location of the "ip" applet routing configuration. | ||
431 | |||
432 | config FEATURE_IP_TUNNEL | ||
433 | bool "ip tunnel" | ||
434 | default y | ||
435 | depends on IP | ||
436 | help | ||
437 | Add support for tunneling commands to "ip". | ||
438 | |||
439 | config FEATURE_IP_RULE | ||
440 | bool "ip rule" | ||
441 | default y | ||
442 | depends on IP | ||
443 | help | ||
444 | Add support for rule commands to "ip". | ||
445 | |||
446 | config FEATURE_IP_NEIGH | ||
447 | bool "ip neighbor" | ||
448 | default y | ||
449 | depends on IP | ||
450 | help | ||
451 | Add support for neighbor commands to "ip". | ||
452 | |||
453 | config FEATURE_IP_SHORT_FORMS | ||
454 | bool "Support short forms of ip commands" | ||
455 | default y | ||
456 | depends on IP | ||
457 | help | ||
458 | Also support short-form of ip <OBJECT> commands: | ||
459 | ip addr -> ipaddr | ||
460 | ip link -> iplink | ||
461 | ip route -> iproute | ||
462 | ip tunnel -> iptunnel | ||
463 | ip rule -> iprule | ||
464 | ip neigh -> ipneigh | ||
465 | |||
466 | Say N unless you desparately need the short form of the ip | ||
467 | object commands. | ||
468 | |||
469 | config FEATURE_IP_RARE_PROTOCOLS | ||
470 | bool "Support displaying rarely used link types" | ||
471 | default n | ||
472 | depends on IP | ||
473 | help | ||
474 | If you are not going to use links of type "frad", "econet", | ||
475 | "bif" etc, you probably don't need to enable this. | ||
476 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling | ||
477 | link types are supported without this option selected. | ||
478 | |||
479 | config IPADDR | ||
480 | bool | ||
481 | default y | ||
482 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS | ||
483 | |||
484 | config IPLINK | ||
485 | bool | ||
486 | default y | ||
487 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK | ||
488 | |||
489 | config IPROUTE | ||
490 | bool | ||
491 | default y | ||
492 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE | ||
493 | |||
494 | config IPTUNNEL | ||
495 | bool | ||
496 | default y | ||
497 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL | ||
498 | |||
499 | config IPRULE | ||
500 | bool | ||
501 | default y | ||
502 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE | ||
503 | |||
504 | config IPNEIGH | ||
505 | bool | ||
506 | default y | ||
507 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_NEIGH | ||
508 | |||
509 | config IPCALC | ||
510 | bool "ipcalc" | ||
511 | default y | ||
512 | help | ||
513 | ipcalc takes an IP address and netmask and calculates the | ||
514 | resulting broadcast, network, and host range. | ||
515 | |||
516 | config FEATURE_IPCALC_FANCY | ||
517 | bool "Fancy IPCALC, more options, adds 1 kbyte" | ||
518 | default y | ||
519 | depends on IPCALC | ||
520 | help | ||
521 | Adds the options hostname, prefix and silent to the output of | ||
522 | "ipcalc". | ||
523 | |||
524 | config FEATURE_IPCALC_LONG_OPTIONS | ||
525 | bool "Enable long options" | ||
526 | default y | ||
527 | depends on IPCALC && LONG_OPTS | ||
528 | help | ||
529 | Support long options for the ipcalc applet. | ||
530 | |||
531 | config NETSTAT | ||
532 | bool "netstat" | ||
533 | default y | ||
534 | select PLATFORM_LINUX | ||
535 | help | ||
536 | netstat prints information about the Linux networking subsystem. | ||
537 | |||
538 | config FEATURE_NETSTAT_WIDE | ||
539 | bool "Enable wide netstat output" | ||
540 | default y | ||
541 | depends on NETSTAT | ||
542 | help | ||
543 | Add support for wide columns. Useful when displaying IPv6 addresses | ||
544 | (-W option). | ||
545 | |||
546 | config FEATURE_NETSTAT_PRG | ||
547 | bool "Enable PID/Program name output" | ||
548 | default y | ||
549 | depends on NETSTAT | ||
550 | help | ||
551 | Add support for -p flag to print out PID and program name. | ||
552 | +700 bytes of code. | ||
553 | |||
554 | config NSLOOKUP | ||
555 | bool "nslookup" | ||
556 | default y | ||
557 | help | ||
558 | nslookup is a tool to query Internet name servers. | ||
559 | |||
560 | config NTPD | ||
561 | bool "ntpd" | ||
562 | default y | ||
563 | select PLATFORM_LINUX | ||
564 | help | ||
565 | The NTP client/server daemon. | ||
566 | |||
567 | config FEATURE_NTPD_SERVER | ||
568 | bool "Make ntpd usable as a NTP server" | ||
569 | default y | ||
570 | depends on NTPD | ||
571 | help | ||
572 | Make ntpd usable as a NTP server. If you disable this option | ||
573 | ntpd will be usable only as a NTP client. | ||
574 | |||
575 | config FEATURE_NTPD_CONF | ||
576 | bool "Make ntpd understand /etc/ntp.conf" | ||
577 | default y | ||
578 | depends on NTPD | ||
579 | help | ||
580 | Make ntpd look in /etc/ntp.conf for peers. Only "server address" | ||
581 | is supported. | ||
582 | |||
583 | config PSCAN | ||
584 | bool "pscan" | ||
585 | default y | ||
586 | help | ||
587 | Simple network port scanner. | ||
588 | |||
589 | config ROUTE | ||
590 | bool "route" | ||
591 | default y | ||
592 | select PLATFORM_LINUX | ||
593 | help | ||
594 | Route displays or manipulates the kernel's IP routing tables. | ||
595 | |||
596 | config SLATTACH | ||
597 | bool "slattach" | ||
598 | default y | ||
599 | select PLATFORM_LINUX | ||
600 | help | ||
601 | slattach is a small utility to attach network interfaces to serial | ||
602 | lines. | ||
603 | 50 | ||
604 | #config TC | 51 | #config TC |
605 | # bool "tc" | 52 | # bool "tc" |
@@ -611,218 +58,6 @@ config SLATTACH | |||
611 | # def_bool n | 58 | # def_bool n |
612 | # depends on TC | 59 | # depends on TC |
613 | 60 | ||
614 | config TCPSVD | ||
615 | bool "tcpsvd" | ||
616 | default y | ||
617 | help | ||
618 | tcpsvd listens on a TCP port and runs a program for each new | ||
619 | connection. | ||
620 | |||
621 | config TELNET | ||
622 | bool "telnet" | ||
623 | default y | ||
624 | help | ||
625 | Telnet is an interface to the TELNET protocol, but is also commonly | ||
626 | used to test other simple protocols. | ||
627 | |||
628 | config FEATURE_TELNET_TTYPE | ||
629 | bool "Pass TERM type to remote host" | ||
630 | default y | ||
631 | depends on TELNET | ||
632 | help | ||
633 | Setting this option will forward the TERM environment variable to the | ||
634 | remote host you are connecting to. This is useful to make sure that | ||
635 | things like ANSI colors and other control sequences behave. | ||
636 | |||
637 | config FEATURE_TELNET_AUTOLOGIN | ||
638 | bool "Pass USER type to remote host" | ||
639 | default y | ||
640 | depends on TELNET | ||
641 | help | ||
642 | Setting this option will forward the USER environment variable to the | ||
643 | remote host you are connecting to. This is useful when you need to | ||
644 | log into a machine without telling the username (autologin). This | ||
645 | option enables `-a' and `-l USER' arguments. | ||
646 | |||
647 | config TELNETD | ||
648 | bool "telnetd" | ||
649 | default y | ||
650 | select FEATURE_SYSLOG | ||
651 | help | ||
652 | A daemon for the TELNET protocol, allowing you to log onto the host | ||
653 | running the daemon. Please keep in mind that the TELNET protocol | ||
654 | sends passwords in plain text. If you can't afford the space for an | ||
655 | SSH daemon and you trust your network, you may say 'y' here. As a | ||
656 | more secure alternative, you should seriously consider installing the | ||
657 | very small Dropbear SSH daemon instead: | ||
658 | http://matt.ucc.asn.au/dropbear/dropbear.html | ||
659 | |||
660 | Note that for busybox telnetd to work you need several things: | ||
661 | First of all, your kernel needs: | ||
662 | CONFIG_UNIX98_PTYS=y | ||
663 | |||
664 | Next, you need a /dev/pts directory on your root filesystem: | ||
665 | |||
666 | $ ls -ld /dev/pts | ||
667 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ | ||
668 | |||
669 | Next you need the pseudo terminal master multiplexer /dev/ptmx: | ||
670 | |||
671 | $ ls -la /dev/ptmx | ||
672 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx | ||
673 | |||
674 | Any /dev/ttyp[0-9]* files you may have can be removed. | ||
675 | Next, you need to mount the devpts filesystem on /dev/pts using: | ||
676 | |||
677 | mount -t devpts devpts /dev/pts | ||
678 | |||
679 | You need to be sure that busybox has LOGIN and | ||
680 | FEATURE_SUID enabled. And finally, you should make | ||
681 | certain that Busybox has been installed setuid root: | ||
682 | |||
683 | chown root.root /bin/busybox | ||
684 | chmod 4755 /bin/busybox | ||
685 | |||
686 | with all that done, telnetd _should_ work.... | ||
687 | |||
688 | |||
689 | config FEATURE_TELNETD_STANDALONE | ||
690 | bool "Support standalone telnetd (not inetd only)" | ||
691 | default y | ||
692 | depends on TELNETD | ||
693 | help | ||
694 | Selecting this will make telnetd able to run standalone. | ||
695 | |||
696 | config FEATURE_TELNETD_INETD_WAIT | ||
697 | bool "Support -w SEC option (inetd wait mode)" | ||
698 | default y | ||
699 | depends on FEATURE_TELNETD_STANDALONE | ||
700 | help | ||
701 | This option allows you to run telnetd in "inet wait" mode. | ||
702 | Example inetd.conf line (note "wait", not usual "nowait"): | ||
703 | |||
704 | telnet stream tcp wait root /bin/telnetd telnetd -w10 | ||
705 | |||
706 | In this example, inetd passes _listening_ socket_ as fd 0 | ||
707 | to telnetd when connection appears. | ||
708 | telnetd will wait for connections until all existing | ||
709 | connections are closed, and no new connections | ||
710 | appear during 10 seconds. Then it exits, and inetd continues | ||
711 | to listen for new connections. | ||
712 | |||
713 | This option is rarely used. "tcp nowait" is much more usual | ||
714 | way of running tcp services, including telnetd. | ||
715 | You most probably want to say N here. | ||
716 | |||
717 | config TFTP | ||
718 | bool "tftp" | ||
719 | default y | ||
720 | help | ||
721 | This enables the Trivial File Transfer Protocol client program. TFTP | ||
722 | is usually used for simple, small transfers such as a root image | ||
723 | for a network-enabled bootloader. | ||
724 | |||
725 | config TFTPD | ||
726 | bool "tftpd" | ||
727 | default y | ||
728 | help | ||
729 | This enables the Trivial File Transfer Protocol server program. | ||
730 | It expects that stdin is a datagram socket and a packet | ||
731 | is already pending on it. It will exit after one transfer. | ||
732 | In other words: it should be run from inetd in nowait mode, | ||
733 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" | ||
734 | |||
735 | comment "Common options for tftp/tftpd" | ||
736 | depends on TFTP || TFTPD | ||
737 | |||
738 | config FEATURE_TFTP_GET | ||
739 | bool "Enable 'tftp get' and/or tftpd upload code" | ||
740 | default y | ||
741 | depends on TFTP || TFTPD | ||
742 | help | ||
743 | Add support for the GET command within the TFTP client. This allows | ||
744 | a client to retrieve a file from a TFTP server. | ||
745 | Also enable upload support in tftpd, if tftpd is selected. | ||
746 | |||
747 | Note: this option does _not_ make tftpd capable of download | ||
748 | (the usual operation people need from it)! | ||
749 | |||
750 | config FEATURE_TFTP_PUT | ||
751 | bool "Enable 'tftp put' and/or tftpd download code" | ||
752 | default y | ||
753 | depends on TFTP || TFTPD | ||
754 | help | ||
755 | Add support for the PUT command within the TFTP client. This allows | ||
756 | a client to transfer a file to a TFTP server. | ||
757 | Also enable download support in tftpd, if tftpd is selected. | ||
758 | |||
759 | config FEATURE_TFTP_BLOCKSIZE | ||
760 | bool "Enable 'blksize' and 'tsize' protocol options" | ||
761 | default y | ||
762 | depends on TFTP || TFTPD | ||
763 | help | ||
764 | Allow tftp to specify block size, and tftpd to understand | ||
765 | "blksize" and "tsize" options. | ||
766 | |||
767 | config FEATURE_TFTP_PROGRESS_BAR | ||
768 | bool "Enable tftp progress meter" | ||
769 | default y | ||
770 | depends on TFTP && FEATURE_TFTP_BLOCKSIZE | ||
771 | help | ||
772 | Show progress bar. | ||
773 | |||
774 | config TFTP_DEBUG | ||
775 | bool "Enable debug" | ||
776 | default n | ||
777 | depends on TFTP || TFTPD | ||
778 | help | ||
779 | Make tftp[d] print debugging messages on stderr. | ||
780 | This is useful if you are diagnosing a bug in tftp[d]. | ||
781 | |||
782 | config TRACEROUTE | ||
783 | bool "traceroute" | ||
784 | default y | ||
785 | select PLATFORM_LINUX | ||
786 | help | ||
787 | Utility to trace the route of IP packets. | ||
788 | |||
789 | config TRACEROUTE6 | ||
790 | bool "traceroute6" | ||
791 | default y | ||
792 | depends on FEATURE_IPV6 && TRACEROUTE | ||
793 | help | ||
794 | Utility to trace the route of IPv6 packets. | ||
795 | |||
796 | config FEATURE_TRACEROUTE_VERBOSE | ||
797 | bool "Enable verbose output" | ||
798 | default y | ||
799 | depends on TRACEROUTE | ||
800 | help | ||
801 | Add some verbosity to traceroute. This includes among other things | ||
802 | hostnames and ICMP response types. | ||
803 | |||
804 | config FEATURE_TRACEROUTE_USE_ICMP | ||
805 | bool "Enable -I option (use ICMP instead of UDP)" | ||
806 | default y | ||
807 | depends on TRACEROUTE | ||
808 | help | ||
809 | Add option -I to use ICMP ECHO instead of UDP datagrams. | ||
810 | |||
811 | config TUNCTL | ||
812 | bool "tunctl" | ||
813 | default y | ||
814 | select PLATFORM_LINUX | ||
815 | help | ||
816 | tunctl creates or deletes tun devices. | ||
817 | |||
818 | config FEATURE_TUNCTL_UG | ||
819 | bool "Support owner:group assignment" | ||
820 | default y | ||
821 | depends on TUNCTL | ||
822 | help | ||
823 | Allow to specify owner and group of newly created interface. | ||
824 | 340 bytes of pure bloat. Say no here. | ||
825 | |||
826 | source networking/udhcp/Config.in | 61 | source networking/udhcp/Config.in |
827 | 62 | ||
828 | config IFUPDOWN_UDHCPC_CMD_OPTIONS | 63 | config IFUPDOWN_UDHCPC_CMD_OPTIONS |
@@ -834,31 +69,4 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS | |||
834 | Intended to alter options not available in /etc/network/interfaces. | 69 | Intended to alter options not available in /etc/network/interfaces. |
835 | (IE: --syslog --background etc...) | 70 | (IE: --syslog --background etc...) |
836 | 71 | ||
837 | config UDPSVD | ||
838 | bool "udpsvd" | ||
839 | default y | ||
840 | help | ||
841 | udpsvd listens on an UDP port and runs a program for each new | ||
842 | connection. | ||
843 | |||
844 | config VCONFIG | ||
845 | bool "vconfig" | ||
846 | default y | ||
847 | select PLATFORM_LINUX | ||
848 | help | ||
849 | Creates, removes, and configures VLAN interfaces | ||
850 | |||
851 | config ZCIP | ||
852 | bool "zcip" | ||
853 | default y | ||
854 | select PLATFORM_LINUX | ||
855 | select FEATURE_SYSLOG | ||
856 | help | ||
857 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | ||
858 | It's a daemon that allocates and defends a dynamically assigned | ||
859 | address on the 169.254/16 network, requiring no system administrator. | ||
860 | |||
861 | See http://www.zeroconf.org for further details, and "zcip.script" | ||
862 | in the busybox examples. | ||
863 | |||
864 | endmenu | 72 | endmenu |