TIP: Click on subject to list as thread! ANSI
echo: muffin
to: All
from: David Nyquist
date: 2005-10-23 13:27:34
subject: Maximus Telnet for Linux

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{at}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

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848
@PATH: 106/2000 140/1 138/146 392 123/500 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.