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.
|
 |
04-08-2001, 08:39 PM
|
#1
|
Member
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82
Rep:
|
I would like to be able to telnet from my PC running Windows 98 to my Mac running SuSE 7.0 PPC. I have configured the Mac to start inetd and done everything that it instructed me to do in the manual to setup a telnet server. However, when I try to connect to it from my Windows computer, it it gives me an error, saying the connection was lost/refused/reset by peer depending on what client I'm using. I have also tried using SSH, with similar results. What am I doing wrong?
|
|
|
04-09-2001, 03:39 AM
|
#2
|
Member
Registered: Apr 2001
Location: London
Posts: 408
Rep:
|
Bobthebat,
I think Suse 7.0 is using the Kernel 2.2.17 so check some of these things.
Make sure you have a "/etc/services" file
in that file make sure you have the line "telnet 23/tcp"
Now check you have the inetd set correctly for telnet to load.
make sure you have the /etc/xinetd.conf file.
cat /etc/xinetd.conf should look something like this.
# Some defaults, and include
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST RECORD
}
includedir /etc/xinetd.d
# eof
Now go into /etc/xinetd.d/
in this directory do a "ls -l"
Should see a file called "telnet"
file looks like this and is loaded when the xinetd services are started.
[root@foo.bar old]# cat telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
Recommend you don't use telnet but a SSH2 service to help secure your network.
Don't use a GUI telnet client from windows as a test.
Use the windows 98 systems dos telnet client, with the command "c:\telnet ipaddress"
/Raz
|
|
|
04-09-2001, 05:11 PM
|
#3
|
Member
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82
Original Poster
Rep:
|
stupid me
Thank you very much for all the good information, however, I'm ashamed to say that it was nothing that complex at all. I had recently re-installed (showing a friend the install process), and forgot to add a line allowing telnet from the Windows computer to /etc/hosts.allow. D'oh!
|
|
|
04-23-2001, 01:53 AM
|
#4
|
LQ Newbie
Registered: Apr 2001
Posts: 1
Rep:
|
What did you add in the /etc/hosts.allow
I'm having the same problem with you.But I couldn't manage to solve it.I've two machines one is win2k prof and other one is Rh6.2.While I'm using the telnet from windows to connect to my linux ,I got connection refused.
Do I need to do something in linux?Do I need to run any server in my linux machine?
My w2k's Ip is 192.168.0.1 and my linux's ip is 192.168.0.2.
I'm a very new to linux .So,please give me some advice.
Thank you.
Quote:
Originally posted by bobthebat
Thank you very much for all the good information, however, I'm ashamed to say that it was nothing that complex at all. I had recently re-installed (showing a friend the install process), and forgot to add a line allowing telnet from the Windows computer to /etc/hosts.allow. D'oh!
|
|
|
|
All times are GMT -5. The time now is 04:05 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
|
|