Greetings to the community.
I would appreciate a tip on how to launch the telnet service. It …mostly…
works, however not quite.
In my boot image I launch “inetd”. In the /etc/inetd.conf file I have just
two entries, one for ftp and one for telnet. Ftp works fine. The entry for
telnet is:
telnet stream tcp nowait root /proc/boot/telnetd in.telnetd -Q -n
When a remote host attempts to telnet, it never gets a login window; it
hangs. The process status on the embedded PC shows the following command:
login -h 192.168.0.2 -p
I’m guessing the I haven’t instantiate a login shell correctly, or missing
something simple. This being my first project with QNX Neutrino, any
suggestions would be appreciated.
Here are parts of my build script:
[+script] startup-script = {
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino DiskOnChip!
…
\
Some common servers
pipe &
mqueue &
devc-pty &
…
starup network services to FTP will work
inetd
\
startup our app
ksh -c “startup.ksh &”
\
Start some extra shells on other consoles
reopen /dev/con2
[+session] sh &
reopen /dev/con3
[+session] sh &
Start a high priority shell just in case…
reopen /dev/con4
[pri=25 +session] sh &
\
Start the main shell
reopen /dev/con1
[+session] sh
[+session] login -p
}
\
for launching the Ethernet
io-net
\
network services
inetd
telnet
telnetd
ftpd
tftpd
ftp
Regards,
Steve Wagner