[BusyBox] Telnetd problem

Hans-Werner Hilse hilse at web.de
Thu Nov 11 11:05:08 UTC 2004


Hi,

On Mon, 8 Nov 2004 19:23:03 +0530 you wrote:

> In version busybox-1.00-rc3, there seems to be no PTX* configuration
> variables in config.h file (or any other .c/.h file).
> 
> However, config.h has,
> 
> #define CONFIG_FEATURE_DEVFS 1
> #define CONFIG_FEATURE_DEVPTS 1

So busybox will try to use
/dev/ptmx
and
/dev/pts/N (N=1,2,3...)

But your Kernel settings

> 	CONFIG_UNIX98_PTYS=y
> 	CONFIG_DEVFS_FS=y
> 	CONFIG_DEVFS_MOUNT=y

depends on having a 2.4 kernel, otherwise devpts must be explicitly
enabled, too. It's automatically enabled when using devfs with a 2.4
kernel, though.
 
> Still the same problem. Do I need to have some configuration file in
> /etc ?

Do you have 'login' compiled into busybox?

As a starting point for further debugging i'd suggest you copy a strace
on your box and run it like
strace -f telnetd

and watch the output...

HWH



More information about the busybox mailing list