Here are all the files and instructions that you need to make ftpd and telnetd work on Audrey using QNX 6.0 libraries without the need to map to other network drives:
Start a terminal window with root access (by starting shell from "Audrey options" - see Audrey Options button hack)
FTP the following files to /etc directory:
ls -l inetd.conf passwd profile group termcap services shadow protocols
-rw-r--r-- 1 root root 14 Oct 05 16:07 group
-rw-r--r-- 1 root root 245 Oct 05 16:07 inetd.conf
-rw-r--r-- 1 root root 32 Oct 05 16:07 passwd
-rw-r--r-- 1 root root 486 Oct 05 16:07 profile
-rw-r--r-- 1 root root 618 Oct 05 16:08 protocols
-rw-r--r-- 1 root root 29 Oct 05 16:08 services
-rw------- 1 root root 25 Oct 06 23:47 shadow
-rw-r--r-- 1 root root 6749 Oct 06 23:20 termcap
Change permissions on the files:
chmod go-w inetd.conf passwd profile group termcap services shadow protocols
chmod go-r shadow
FTP the following files to /bin directory:
-rwxrwxrwx 1 root root 41888 Oct 05 15:25 ftpd
-rwxr-xr-x 1 root root 15332 Oct 05 15:25 inetd
-rwxrwxrwx 1 root root 11912 Oct 05 15:29 login
-rwxrwxrwx 1 root root 2528 Oct 05 15:29 logout
-rwxrwxrwx 1 root root 16588 Oct 05 22:23 passwd
-rwxrwxrwx 1 root root 42876 Oct 05 15:25 telnetd
Change permissions on the files:
chmod +x ftpd inetd login logout passwd telnetd
FTP the following files to /nto/lib directory:
-rwxr-xr-x 1 root root 344044 Oct 06 14:17 libc.so.1
Change permission on the file:
chmod +x libc.so.1
Update the following file in the /kojak directory:
-rw-rw-rw- 1 500 500 2066 Jun 21 2000 boot.sh
by adding the following three lines and commenting out the "channel waiting for update lines"
IMPORTANT: please make sure that you do not make a mistake when adding those lines. Audrey may be unhappy after you reboot it if you incorrectly link the library. The libc.so.1 file must be saved in the /nto/lib directory as described above prior to execution of the lines below.
# Start inetd to allow FTP and Telnet
ln -sPf /nto/lib/libc.so.1 /usr/lib/ldqnx.so.1
/bin/inetd
Run "login" to see if everything works.
If it is ok, run:
telnetd -debug -Q
and then telnet to audrey's ip.
If that works then restart Audrey by typing shutdown
After Audrey reboots, you will be able to telnet and ftp tp Audrey. The default username is root and password is root. Don't forget to change the password.
All of the files required above can be downloaded from
http://www.duke.edu/~hep/audrey/Audrey_telnetd_and_ftpd.zip