Forum Discussion
Altera_Forum
Honored Contributor
16 years ago<div class='quotetop'>QUOTE (rocker @ Sep 5 2009, 01:23 AM) <{post_snapback}> (index.php?act=findpost&pid=23753)</div>
--- Quote Start --- <div class='quotetop'>QUOTE (hippo @ Sep 3 2009, 12:44 PM) <{post_snapback}> (index.php?act=findpost&pid=23734) --- Quote End --- --- Quote Start --- Please try change the def in uClinux-dist/user/inetd/inetd.c to higher value. # define MAX_CONNECT 8 - Hippo[/b] --- Quote End --- Thanks a lot hippo for the answer.Now I set MAX_CONNECT to 24 but I can open upto 10 session.It increased from 8 to 10 but still I can not open 12 session. Other settings are: [*] Legacy (BSD) PTY support (256) Maximum number of legacy PTY in use also I set /dev/pts to 24 count in device_tables.txt. After opening 10 sessions ,it shows "telnetd: All network ports in use". regards, rocker [/b] --- Quote End --- Problem solved.This problem happens when I choose the telnetd from network application but it does not happend with the busybox telnetd.Thanks a lot hippo.Now I can open large number of telnet sessions. I have two more questions.Please take a look it: 1.I want to run the application on telnet when user logs in successfully.I other words instead of shell prompt I want to run my own shell prompt.Can you please tell how to do this? 2. I do following settings [*] Legacy (BSD) PTY support (15) Maximum number of legacy PTY in use and /dev/pts to 15 in device_table.txt.Yet I can open more than 20 sessions.How to restrict to only 15 telnet sessions? regards, rocker