Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok i emerged sys-apps/xinetd. and it emerged
Then i re emerged net-misc/netkit-telnetd and that emerged
I did
Code:
/etc/init.d/xinetd restart
and it now said starting xinetd...
Now when an try to telnet to that system (from a remote one), i now get a blank screen and then it goes back to my orginal prompt. So I guess something is happening, but I dont know whats going on??
Im not sure how to check the log file, (i am new to all this). I have telneted localhost, and it works. The thing is I am trying to telnet from a windows system, it shouldnt really make a difference, should it? When I try it the other way round it works.
Im not sure what to do next, i commented the line 'only_from = localhost', but the same thing happened aswell.
Originally posted by FlashAsh99 I've noticed that everytime i boot into linux, i have to restart the xinetd. How do i get it to restart automatically?
Thanks
Do you mean that xinetd does not start, or that it starts, but won't work until you restart it?
xinetd will only start at boot time if there is a link to it in the right rcN.d folder.
You need to create a few symlinks:
/etc/rc2.d/S20xinetd -> /etc/init.d/xinetd
/etc/rc3.d/S20xinetd -> /etc/init.d/xinetd
/etc/rc4.d/S20xinetd -> /etc/init.d/xinetd
/etc/rc5.d/S20xinetd -> /etc/init.d/xinetd
/etc/rc6.d/K20xinetd -> /etc/init.d/xinetd
You may change 20 for whatever you want, it only affects the startup order. Be aware that interdependencies between the programs may cause problems if they are started in the wrong order.
Don't remove the S or K at the beginning of the name. This tells init wether to Start or Kill the program. When init goes to runlevel N, it starts programs linked in /etc/rcN.d/ and that start with S with the start argument. (eg. if you have '/etc/rc5.d/S20xinetd -> /etc/init.d/xinetd' and init goes to runlevel 5, it will execute '/etc/init.d/xinetd start') Programs that start with K work in the same way, but init starts them with the stop argument. (eg. when you will get to runlevel 6, init will execute '/etc/init.d/xinetd stop')
If these directories do not exist, or do not contain links named S<number><program> or K<number><program>, it means your system uses a different directory naming convention. Please don't try to create the symlinks mentioned above in that case.
man u have not installed xinetd. please install it .after that install the telnet server. and edit the /etc/xinetd.d/telnet file and change "disable=yes" to "no". restart xinetd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.