Path: number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 26 Oct 2005 21:15:24 -0500
Newsgroups: fidonet.muffin
From: David_Nyquist@f2000.n106.z1
Date: Sun, 23 Oct 2005 09:27:34 -0400
Subject: Maximus Telnet for Linux
Message-ID:
Organization: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671
124/5009 5025
3634/12
Lines: 59
NNTP-Posting-Host: 24.48.121.215
properly
Xref: number1.nntp.dca.giganews.com fidonet.muffin:42
Hi,
I've tried for many hours yesterday and today to try and get the telnet portion
of Maximus to work. But with no luck. I have read the README file that Bo
provided. But still no luck. For some reason when I try and connect it Linux
receives the connection, sits there for about 5-6 seconds, and disconnects. Here
is the output.
telnet localhost 2323
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Of course I do have max running in another sessions as '/opt/max/bin/max -pt1
-b38400 -n1' waiting for the connection. I do see the /opt/max/maxipc1 file
created. But still no connection. I do however run Mandrake 10.1. Which uses
xinetd. Inetd was dropped in previous versions. So I created the file of
/etc/xinetd.d/max-bbs
service max-bbs
{
disable = no
flags = REUSE NAMEINARGS
socket_type = stream
wait = no
user = root
server = /usr/sbin/tcpd
server_args = /usr/sbin/in.runmax
instances = 4
env = PATH=/bin:/sbin:/usr/bin:/usr/sbin
}
The /etc/services file is like so for the max-bbs service.
/etc/services
max-bbs 2323/tcp # Maximus
max-bbs 2323/udp # Maximus
The /usr/sbin/in.runmax is a symbolic link.
[root@ipbox sbin]# ls in* -l
lrwxrwxrwx 1 root root 22 Oct 23 11:16 in.runmax -> /opt/max/bin/runrun.sh
Contents of the runrun.sh file
cd /opt/max/bin
echo cool > test.txt
cd /opt/max
bin/maxcomm
Now this isn't a firewall issue as I am able to get a connection. For some
reason or another the runrun.sh file is not executed when a connection is made or
I would see the test.txt file in the /opt/max/bin directory. But it isn't there.
Any insight as to what I am doing wrong would be greatly appreciated.
Cheers,
David Nyquist
|