Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by phill@Apr 7 2006, 03:28 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=14117)</div> [/b] --- Quote End --- I am not good at netowrk. Maybe you should repost it over the uclinux forum, and other experts may help out. the telnetd (and ftpd, too) used to be invoked by inetd. so you won't see a telnetd in ps. you can debug these servers without inetd , using the -debug option. you should play and learn on Linux PC before you do it on nios2. you may try out an old slackware, which use inetd.