LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   TCP/IP command in stand alone (https://www.linuxquestions.org/questions/linux-networking-3/tcp-ip-command-in-stand-alone-47373/)

wincrk 02-27-2003 03:12 AM

TCP/IP command in stand alone
 
hi,

i am currently using redhat 7.3. my problem is, when i want to practice some commands like telnet, talk, ftp .... i try to connect to the localhost (which is my PC), but it wont work. then is there any extra configuration that could enable me to practice all of this on stand alone system?

xYko 02-27-2003 04:38 AM

All those you mentioned are clients. Clients need a server to connect to. If you use them on localhost then you have to have a server running on localhost.

wincrk 02-27-2003 08:57 AM

thanx xYko, then it's mean that i need to setup my PC to be a server. could you teach me that? or just explain a little bit. whatever i need to do, as long as i could those commands.

wincrk 03-02-2003 07:15 AM

yeah, you are right. it took a while for me to figure out your question. finally i realised that my mistake is i did not check my system. actually those erver did not run on my system. i thought it is automatically co9nfigered and run because i had selected everything during intallation.

Crashed_Again 03-02-2003 07:30 AM

You should be able to get telnet working by typing the following command as root:

chkconfig --levels 345 telnet on

I don't think that there is any configuration needed at this point to connect so you can try:

telnet your.ip.address.here

You should shut telnet off when you are done because leaving it open justs gives attackers another avenue into your system. To shut it off run the 'chckconfig' command as I stated above but change the 'on' to 'off'.

As for FTP there are a couple of different FTP packages you can go with and there are plenty of threads in this forum on how to set them up.

Don't use the talk server because its full of security holes and the its just poorly designed. I would also suggest looking into SSH(Secure SHell) rather then telnet. Telnet is rarely used anymore because everything is sent out in plain text. If you just want to mess around with things and get a feel for telnet then thats no problem but if you want to actually setup a remote login server go with SSH.

wincrk 03-02-2003 07:47 AM

urmm, Crashed_Again, do you want to know something? actually i really did not understand xYko reply untill i read and follow the instruction that you give me on how to set up a telnet server. then i realize what a big mistake had i done. i always in the run.


All times are GMT -5. The time now is 03:02 AM.