Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Telnet: (1 Item)
   
Telnet  
I am trying to get telnet working on my BSP image using QNX SDK 6.5  In my
start-up script I can start the network driver as follows:

io-pkt-v4 -d mpc85xx pci=0,syspage,emu_phy=0,irq_tx=32,irq_rx=33,irq_err=34
-p ttcpip -d mpc85xx pci=1,ioport=0xe0025000,irq_tx=35,irq_rx=36,irq_err=37
-p ttcpip

 

and set the ip, I then start inetd

ifconfig tsec1 192.168.0.80

waitfor /dev/socket

inetd &

 

I have created hosts file, inetd.conf file and service file as follows:

/etc/hosts = {

127.0.0.1 localhost

}

 

/etc/service = {

ftp    21/tcp

telnet 23/tcp

finger 79/tcp

pdebug 8000/tcp

}

 

/etc/inetd.conf = {

ftp     stream  tcp  nowait  root  /bin/fdtpd    fdtpd

telnet  stream  tcp  nowait  root  /sbin/telnetd  telnetd

finger  stream  tcp  nowait  root  /bin fingerd

pdebug  stream  tcp  nowait  root  /bin/pdebug   pdebug -

}

 

When I try to telnet from my Windows machine(i.e telnet 192.168.0.80 23) to
the QNX target from the command prompt it seems to accept the command but
the command prompt blanks out (until I hit a key).  If it try a different
IP, e.g. telnet 192.168.0.81 23. It says "Connecting to <IP> ... Could not
open connection etc". From this I think my telnet server is doing something.
Also note my firewall is off and inetd is running.

Also if I search my system (with find) telnet and telnetd are in /proc/boot,
I do not have a sbin folder and bin is pretty much empty.  Also I can
execute telnet on QNX and get the following:

 

# telnet 192.168.0.70 23

Trying 192.168.0.70...

telnet: Unable to connect to remote host: Connection refused

Can anyone give any advice as to what I need to do to get this working
correctly?

Thanks