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
Could you please attach a copy of your build file?
Try to include /etc/passwd and /etc/shadow into your build file. Regards, PKY
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
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
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