Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-03-2005, 12:55 AM
|
#1
|
Member
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686
Rep:
|
Help and networking/telnet newbie please
Okay, I've set up a LAN with a router connecting an ADSL conenction to a switch which distributes it to two PCs.
The IP of the linux box is 192.168.1.3 and IP of windows 98 one is 192.168.1.2.
I've gotten a SAMBA file server working on the windows one, so I wanted to find out if there was anyway to execute commands in the windows PC from linux in the LAN.
In my findings I came across telnet and ssh.
It seems telnet is okay for my purposes as security is not needed.
So, I can telnet the router by typing telnet 192.168.1.1 and then administer it through the command line.
The problem is when I try to telnet the windows PC by executing telnet 192.168.1.2 I get the following output:
Trying 192.168.1.2...
telnet: connect to address 192.168.1.2: Connection refused
telnet: Unable to connect to remote host: Connection refused
I can ping the address.
How can I get this working?
|
|
|
10-03-2005, 03:52 AM
|
#2
|
LQ Newbie
Registered: Jan 2003
Posts: 3
Rep:
|
I don't have the direct answer to your question, but a couple things to try.
First, do you have a firewall running? If you do, set it to allow incoming connections from your linux box.
Second, does windows 98 have a telnet server running by default? You may need to enable it or install telnet server software. You should be able to check it by typing the following at a command prompt:
telnet localhost
or
telnet 192.168.1.2
This will at least tell you if you have a working server running.
Hope this helps a bit.
|
|
|
10-03-2005, 04:41 AM
|
#3
|
Member
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379
Rep:
|
Windows 98 don't have telnet server so it will not work until and unless you get 3rd party telnet server.
|
|
|
10-03-2005, 04:47 AM
|
#4
|
Member
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686
Original Poster
Rep:
|
AH ok then.. well that just shows my network newbishnes  .
So, what can I accomplish using telnet? Just command line commands?
|
|
|
10-03-2005, 05:05 AM
|
#5
|
Member
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379
Rep:
|
Yup telnet is for remote adminstration of NT/2003/2000 or UNIX/Linux/BSD servers. Howerver tetlnet is insecure use ssh on UNIX and Windows server (yup we have ssh server for windows too). Windows 98 is desktop OS and not Server OS.
Hope this helps. feel free to reply back if you have more questions
|
|
|
10-03-2005, 11:14 AM
|
#6
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323
Rep: 
|
If you are cool with just command line on the ein98 machine telnet is cool, if you are running a GUI on the linux machine you might also try and see if you can get vnc for the 98 box I think they have a version that runs on it. If you can find vnc server for 98 and you are running a GUI on the linux box you can run a vnc client which will allow you to use your windows desktop on the linux machine, just as though you were sitting at your windows machine. Try http://www.realvnc.com/ and http://www.tightvnc.com/ or is it tightvnc.org? Try looking at both of those.
Alex
|
|
|
10-03-2005, 04:04 PM
|
#7
|
Member
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686
Original Poster
Rep:
|
Cool thanks for that link I'll check it out.
|
|
|
10-04-2005, 09:59 AM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
No one explicitly mentioned PuTTY. A free ssh et al. client for Winders. The URL is long, the best way to find it is to Google on "putty", it always comes up 1st:
http://www.google.com/search?q=putty
If you want to get deeply into it, it can transmit X sessions, although VNC might be better at that.
|
|
|
10-04-2005, 12:38 PM
|
#9
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323
Rep: 
|
Well Putty is great as a client but he still needs some sort of server running on the Win98 machine. And VNC takes up less bandwidth than a forwarded x session, however the best way to use VNC if security is needed to to forward the VNC session through SSH but he stated he did not need security so....
Alex
|
|
|
10-04-2005, 03:47 PM
|
#10
|
Member
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686
Original Poster
Rep:
|
Okay people I got the vnc thing working great. That's great for when I need to control the system directly.
Now, for some quick commands I also have telnet.
I got a free win98 telnet server off the internet and that works.
The problem is that it minimizes things and stuff when I'm trying to input commands.
So, if someone is trying to use the computer when I need to access the msdos there it causes havoc.
Is this normal with telnet?
Last edited by beejayzed; 10-04-2005 at 03:49 PM.
|
|
|
10-04-2005, 08:21 PM
|
#11
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323
Rep: 
|
I'm confused windows minimize, the text minimizes? What exactly happens? One thing you may find that is occuring is that with vnc on windows computers is that the vnc desktop is the same one sitting at the unit is using. Additionally you must remember 98 is not a true multiuser OS and therefore is not really suited for use as a server whether telnet or other. This may give you an answer if not try to let us kknow more in detail what is happening so that we may tty to provide a solution.
Alex
|
|
|
10-05-2005, 05:37 AM
|
#12
|
Member
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686
Original Poster
Rep:
|
When running telnet whenever you type it tries to bring up the telnet window(it shows up in the taskbar).
So windows are minimised when that happens.
|
|
|
10-05-2005, 12:03 PM
|
#13
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323
Rep: 
|
Unfortunately I don't think there is a solution, as I mentioned previously WIN98 is not a server OS and therefore has some limitation think this is one of them.
Alex
|
|
|
All times are GMT -5. The time now is 01:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|