Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Telnetd Problem: (6 Items)
   
Telnetd Problem  
Dear friends

I customized QNX Neutrino 6.4.0 BSP for the AMCC PPC440 EP/GR (bsp-nto640-amcc-ppc440ep_gr-evk-trunk) to run on my board
 that is using PPC440ep.
(using QNX Momentics 6.4.1)

There is a problem about running telnetd on my board. when i telnet my board following messages are shown:

"
QNX Neutrino (localhost) (ttyp0)

login: root
No home directory.
Logging in with home = "/".
: No such file or directory

Connection closed by foreign host.
"

Following configuration has been done for telnet
(according to http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/t/telnetd.html):

Following files has been included:

/sbin/io-pkt-v4
/lib/dll/devn-ppc405-ep440c.so
/lib/libsocket.so
/sbin/devc-pty
/sbin/route
/sbin/ifconfig
/usr/sbin/inetd
/etc/inetd.conf
/usr/sbin/telnetd
/etc/services
/bin/login
/etc/termcap
/usr/lib/terminfo
/etc/hosts 
/bin/sh Linked to /bin/ksh

Please find other configuration details in attachment.

Any idea about problem will be helpful.

Thanks
Antony

Attachment: Text telnetconf_files.rar 5.2 KB
Re: Telnetd Problem  
Could you please attach a copy of your build file?
Re: Telnetd Problem  
Try to include /etc/passwd and /etc/shadow into your build file.

Regards, PKY
Re: Telnetd Problem  
telnetd may log more to the syslog.
Set up /etc/syslog.conf and start up syslogd.

Regards,

-seanb

On Sun, Jan 15, 2012 at 03:29:53AM -0500, antony Lewis wrote:
> Dear friends
> 
> I customized QNX Neutrino 6.4.0 BSP for the AMCC PPC440 EP/GR (bsp-nto640-amcc-ppc440ep_gr-evk-trunk) to run on my 
board that is using PPC440ep.
> (using QNX Momentics 6.4.1)
> 
> There is a problem about running telnetd on my board. when i telnet my board following messages are shown:
> 
> "
> QNX Neutrino (localhost) (ttyp0)
> 
> login: root
> No home directory.
> Logging in with home = "/".
> : No such file or directory
> 
> Connection closed by foreign host.
> "
> 
> Following configuration has been done for telnet
> (according to http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/t/telnetd.html):
> 
> Following files has been included:
> 
> /sbin/io-pkt-v4
> /lib/dll/devn-ppc405-ep440c.so
> /lib/libsocket.so
> /sbin/devc-pty
> /sbin/route
> /sbin/ifconfig
> /usr/sbin/inetd
> /etc/inetd.conf
> /usr/sbin/telnetd
> /etc/services
> /bin/login
> /etc/termcap
> /usr/lib/terminfo
> /etc/hosts 
> /bin/sh Linked to /bin/ksh
> 
> Please find other configuration details in attachment.
> 
> Any idea about problem will be helpful.
> 
> Thanks
> Antony
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90938

RE: Telnetd Problem  
If devc-pty is not running you can get an error like this. Also make sure there is a pseudo device available if it is 
running as other processes (for example pterm) can consume them. 

Dave

> -----Original Message-----
> From: Sean Boudreau [mailto:community-noreply@qnx.com]
> Sent: January-16-12 9:10 AM
> To: general-networking
> Subject: Re: Telnetd Problem
> 
> 
> telnetd may log more to the syslog.
> Set up /etc/syslog.conf and start up syslogd.
> 
> Regards,
> 
> -seanb
> 
> On Sun, Jan 15, 2012 at 03:29:53AM -0500, antony Lewis wrote:
> > Dear friends
> >
> > I customized QNX Neutrino 6.4.0 BSP for the AMCC PPC440 EP/GR (bsp-
> nto640-amcc-ppc440ep_gr-evk-trunk) to run on my board that is using
> PPC440ep.
> > (using QNX Momentics 6.4.1)
> >
> > There is a problem about running telnetd on my board. when i telnet
> my board following messages are shown:
> >
> > "
> > QNX Neutrino (localhost) (ttyp0)
> >
> > login: root
> > No home directory.
> > Logging in with home = "/".
> > : No such file or directory
> >
> > Connection closed by foreign host.
> > "
> >
> > Following configuration has been done for telnet
> > (according to
> http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/t/telnetd.h
> tml):
> >
> > Following files has been included:
> >
> > /sbin/io-pkt-v4
> > /lib/dll/devn-ppc405-ep440c.so
> > /lib/libsocket.so
> > /sbin/devc-pty
> > /sbin/route
> > /sbin/ifconfig
> > /usr/sbin/inetd
> > /etc/inetd.conf
> > /usr/sbin/telnetd
> > /etc/services
> > /bin/login
> > /etc/termcap
> > /usr/lib/terminfo
> > /etc/hosts
> > /bin/sh Linked to /bin/ksh
> >
> > Please find other configuration details in attachment.
> >
> > Any idea about problem will be helpful.
> >
> > Thanks
> > Antony
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post90938
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90948
Re: RE: Telnetd Problem  
Dear friends

Thank you very much for your helpful reply.

Fortunately problem was solved, That was related to a linefeed in /etc/passwd.


Regards

Antony Lewis