Telnet/ftp问题

1.我想在win2k下用telnet登陆QNX6.2.1,请问如何开启ftp服务?
我查阅了相关贴子,在inted.conf中关于telnet和ftp服务的默认部分如下。
telnet之前没有#,是不是说明默认许可telnet服务?但是我用2000连却连接不上,请问如何修改相关部分。

/etc/inetd.conf

Ftp and telnet are standard Internet services.

ftp stream tcp nowait root /usr/sbin/ftpd in.ftpd -l
telnet stream tcp nowait root /usr/sbin/telnetd in.telnetd

Tftp service is provided primarily for booting. Most sites run this

only on machines acting as “boot servers”.

#tftp dgram udp wait root /usr/sbin/tftpd in.tftpd


#ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -ll
telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd
#shell stream tcp6 nowait root /usr/sbin/rshd rshd -L
#login stream tcp6 nowait root /usr/sbin/rlogind rlogind -L
#tftp dgram udp6 wait root /usr/sbin/tftpd tftpd -l -s /tftpboot

2.反之,我用QNX访问2000,也出现问题,错误如下:
telnet 192.168.0.24
Trying 192.168.0.24…
Connected to 192.168.0.24.
Escape character is ‘^]’.

Server allows NTLM authentication only
Server has closed connection
Connection closed by foreign host.
我想问题出在 NTLM上,请问怎么处理?

3.最后,我要实现2000与QNX 文件的网络共享传输,是否要用ftp实现?那么怎么在QNX中开启ftp服务,共享相应文件呢?

第一个问题我自己答,刚才又看到了一个贴子,解决了:
Login as root and type: /usr/sbin/inetd &
但是一些命令不能执行,比如我常用的ped,说在shell中找不到,请问要怎么样设置解决。
那篇贴子还提到自启动的问题:
This can be done at startup by making a executable /etc/rc.d/rc.local
file and put the commands you want to run at startup in there.
我创建了文件,其中写入/usr/sbin/inetd&,重启后还是不好使,怎么回事?

请帮忙解答后两个问题,谢谢了!

  1. /etc/rc.d/rc.local 必须有执行许可,试试 chmod a+x /etc/rc.d/rc.local
  2. “which -l ped” 你就可以找到ped在哪里,这是一个 photon 程序,没有photon是不能启动的。
  3. QNX 到 Win2K的联接,Win2K上有许多设定,这个要找Win2K的书来搞定。
  4. QNX 和 Win2K的文件共享,可以用fs-cifs (从QNX读写Win2K的共享文件夹)和/或者 Samba (第三方软件,从Win2K读写QNX的文件夹)