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 read that i can enable telnet via add/remove software in the linux box but #1 i was reading a FedoraCore book and im running Debian so that might be the problem. The reason i did this was my Debian book tells me how to connect with Debian to a telnet session but not set one up and i forgot what #2 was lol so anywho you see where im coming from.
The main reason im trying to do this is i want to Telnet from a windows box to my Windows box. I can get to my windows box from linux via network connections or whatever it is called but not vice versa. Now i heard Samba will allow me to connect to Windows boxes and vice versa is this true? Well im more focused on the vice versa
You probably can install the telnet client and not the server. You don't want to run the telnet server on any computer, Linux or Windows. Telnet can be handy because it can be used to connect to any port, which might tell you if there is a firewall problem or something else. For example,
Code:
telnet hpmedia 22
Trying 192.168.1.105...
Connected to hpmedia.
Escape character is '^]'.
SSH-2.0-OpenSSH_4.6
This tells me that the ssh port is open and the version. ( Maybe I should fix that )
To run commands remotely from windows to Linux, use ssh instead of telnet. In windows you can install the putty program.
I would recommend installing cygwin/X instead and using the same ssh client on Windows that you would in Linux. That will give you a free Xorg server on windows which would allow you to run graphical Linux programs remotely on a windows machine.
It would also give you access to a bash shell in windows as well.
For sharing files between Windows and Linux, install and configure Samba on Linux.
Ok so i understand the difference between SSH and Telnet thank you for the concern though. SSH is more secure, but im going through this Linux book and it states that before i learn about setting up SSH i should learn about Telnet. Now i know i know i should just forget that and just run sSH but here at work we run telnet and i figured that would be a good thing to learn.
So i have Debian installed at home and would like to setup Telnet server not client cause my client will be such like Cygwin or something to that nature on a windows box to connect to the Telnet server running on Debian box
As for the answer to the first response i received i would like to experience a Samba ENV and a simple Telnet ENV but i guess i should start off where i have about a 2% knowledge base that would be Telnet + that is the method we use at work and im suppose to get familiar with it.
Everyones responses had something valuable in it and i noticed i should had spoken with more detail at first, that was wrong n my part.
You should only have to install a telnet-server package. Telnet uses port 23, so you will need to open that port.
Then look in /etc/xinetd.conf or /etc/xinet.d/telnet. I'll bet installing the telnet server will create an /etc/xinet.d/telnet file. Edit the "disable = yes" -> "disable = no". Look for a line like "only from". Edit it so that it contains the local host address and your Windows XP's IP address. Telnet's username & password are passed in the clear, but it you use a switch instead of a hub, it will be harder for someone to sniff the address on the LAN. If you are the only user, then that isn't something you have to worry as much about, unless your XP machine is hacked.
You might want to only enable the telnet server before using it, and disabling it when you are done.
Configure the firewall to open ports where you are offering a server. Most distro's have a GUI wizard to do that. Since both computers are inside the LAN, leave the router's ports closed. Also, make sure you don't use dynamic PNP on the router. Disable WAN configuration on the router. If you use wireless, use WPA and not WEP. Also disable wireless configuration.
If you are going to play around with Telnet, you want to make sure someone from the internet doesn't have access a port on any of the computers on the LAN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.