Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by phill@Apr 9 2006, 05:53 PM i make a newsimple services file,and i can run inetd.
this is my services file:
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
ftp-data 20/tcp
ftp 21/tcp
telnet 23/tcp
uptime 24/tcp
http 80/tcp --- Quote End --- but I can't use telnet on a pc to connect my board. it saied: <div class='quotetop'>QUOTE </div> --- Quote Start --- telnetd:all network ports in use.[/b] --- Quote End ---
netstat <div class='quotetop'>QUOTE </div> --- Quote Start --- tcp 0 0 218.192.170.81:telnet 218.192.170.250:3520 TIME_WAIT[/b] --- Quote End --- and i run ps ps i can see "inetd",but i can't see telnetd. why it say "telnetd:all network ports in use." how can i do? my inetd.conf file: <div class='quotetop'>QUOTE </div> --- Quote Start --- ftp stream tcp nowait root /bin/ftpd telnet stream tcp nowait root /bin/telnetd uptime stream tcp nowait root cat /proc/uptime /etc/issue[/b] --- Quote End --- and in my fstab file also has the pts <div class='quotetop'>QUOTE </div> --- Quote Start --- devpts /dev/pts devpts defaults,gid=5,mode=620 0 0[/b] --- Quote End --- <div align='right'><{post_snapback}> (index.php?act=findpost&pid=14160)</div> [/b] --- Quote End --- after some google search, you may need these in uClinux-dist-test menuconfig, clean and rebuild telnetd
telnetd does not use openpty() (NEW)