b**r 发帖数: 352 | 1 MontaVista Linux running on ARM9.
after system starts up, busybox's inetd is started, I can remotely ftp to
this system, but telnet is not working. contents of inetd.conf
ftp stream tcp nowait root /usr/sbin/ftpd ftpd
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
the telnetd and ftpd are all symbolic links to busybox.
One more clue: if i kill the inetd, and manually start telnetd, it will work
.But restart inetd wont help.
Anybody got any clue? | q**d 发帖数: 16 | 2 seems like your telnetd was complied to run as server and accept connections
- it doesn't work with inetd unless there is option to specify or re-
compile as default to be invoked by inetd | b**r 发帖数: 352 | 3 inetd,telnetd, so as ftpd,httpd are all busybox functions.
telnetd will work itself, but looks like inetd is not spawning it.
curiously, both ftpd and httpd work properly.
connections
【在 q**d 的大作中提到】 : seems like your telnetd was complied to run as server and accept connections : - it doesn't work with inetd unless there is option to specify or re- : compile as default to be invoked by inetd
| b**r 发帖数: 352 | 4 problem solved:
changed inetd.conf to this:
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -i
the -i option is so called inetd mode.
work
【在 b**r 的大作中提到】 : MontaVista Linux running on ARM9. : after system starts up, busybox's inetd is started, I can remotely ftp to : this system, but telnet is not working. contents of inetd.conf : ftp stream tcp nowait root /usr/sbin/ftpd ftpd : telnet stream tcp nowait root /usr/sbin/telnetd telnetd : the telnetd and ftpd are all symbolic links to busybox. : One more clue: if i kill the inetd, and manually start telnetd, it will work : .But restart inetd wont help. : Anybody got any clue?
|
|