LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2005, 11:55 PM   #1
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Smile 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?
 
Old 10-03-2005, 02:52 AM   #2
rsdunker
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Rep: Reputation: 0
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.
 
Old 10-03-2005, 03:41 AM   #3
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Windows 98 don't have telnet server so it will not work until and unless you get 3rd party telnet server.
 
Old 10-03-2005, 03:47 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
AH ok then.. well that just shows my network newbishnes .
So, what can I accomplish using telnet? Just command line commands?
 
Old 10-03-2005, 04:05 AM   #5
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
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
 
Old 10-03-2005, 10:14 AM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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
 
Old 10-03-2005, 03:04 PM   #7
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
Cool thanks for that link I'll check it out.
 
Old 10-04-2005, 08:59 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 10-04-2005, 11:38 AM   #9
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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
 
Old 10-04-2005, 02:47 PM   #10
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
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 02:49 PM.
 
Old 10-04-2005, 07:21 PM   #11
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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
 
Old 10-05-2005, 04:37 AM   #12
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
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.
 
Old 10-05-2005, 11:03 AM   #13
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Networking Lodnod Linux - Newbie 4 03-16-2004 12:20 AM
Basic Linux Networking and setting up ssh/telnet/ftp user accounts... timmy_laf Linux - Newbie 2 01-05-2004 02:07 AM
newbie Telnet issues stock_screeners Solaris / OpenSolaris 11 10-24-2003 08:04 AM
Newbie Networking!!! GeeMoney Linux - Networking 2 11-25-2001 12:55 AM
telnet and networking phar100 Linux - Networking 4 05-20-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration