TIP: Click on subject to list as thread! ANSI
echo: muffin
to: David Nyquist
from: Bob Jones
date: 2005-10-23 22:12:26
subject: Maximus Telnet for Linux

David:

So you are trying two nodes at once?  I don't think we got the multi-node
locking working in the Linux port.  If I remember correctly, to run more
than one node at a time you also still need to put the "node"
number in as a parameter to Max, which will cause problems with the setup
you are trying to run, since it need to be unique for each instance of Max.
 We need to change that over to the process ID, or something else.  [If
process ID, need to mod something to allow 32 bit unsigned ints.....]

I think I did get telnet working during my testing by running Max as a
standalone process, not starting it from inetd or similar replacements.  We
don't have the "unix" feel properly implemented yet for the
multi-node support.....

Just some thoughts.....

Take care.....

Bob Jones, 1:343/40


 DN> Hi,

 DN> I've tried for many hours yesterday and today to try 
 DN> and get the telnet portion of Maximus to work.  But 
 DN> with no luck.  I have read the README file that Bo 
 DN> provided.  But still no luck.  For some reason when I 
 DN> try and connect it Linux receives the connection, sits 
 DN> there for about 5-6 seconds, and disconnects.  Here is 
 DN> the output.

 DN> telnet localhost 2323
 DN> Trying 127.0.0.1...
 DN> Connected to localhost.localdomain (127.0.0.1).
 DN> Escape character is '^]'.
 DN> Connection closed by foreign host.

 DN> Of course I do have max running in another sessions as 
 DN> '/opt/max/bin/max -pt1 -b38400 -n1' waiting for the 
 DN> connection.  I do see the /opt/max/maxipc1 file 
 DN> created.  But still no connection.  I do however run 
 DN> Mandrake 10.1.  Which uses xinetd.  Inetd was dropped 
 DN> in previous versions.  So I created the file of 
 DN> /etc/xinetd.d/max-bbs

 DN> service max-bbs
 DN> {
 DN>   disable       = no
 DN>   flags         = REUSE NAMEINARGS
 DN>   socket_type   = stream
 DN>   wait          = no
 DN>   user          = root
 DN>   server        = /usr/sbin/tcpd
 DN>   server_args   = /usr/sbin/in.runmax
 DN>   instances     = 4
 DN>   env           = PATH=/bin:/sbin:/usr/bin:/usr/sbin
 DN> }

 DN> The /etc/services file is like so for the max-bbs service.

 DN> /etc/services
 DN> max-bbs         2323/tcp                        # Maximus
 DN> max-bbs         2323/udp                        # Maximus

 DN> The /usr/sbin/in.runmax is a symbolic link.

 DN> [root{at}ipbox sbin]# ls in* -l
 DN> lrwxrwxrwx  1 root root     22 Oct 23 11:16 in.runmax -
> /opt/max/bin/runrun.sh

 DN> Contents of the runrun.sh file
 DN> cd /opt/max/bin
 DN> echo cool > test.txt
 DN> cd /opt/max
 DN> bin/maxcomm

 DN> Now this isn't a firewall issue as I am able to get a 
 DN> connection.  For some reason or another the runrun.sh 
 DN> file is not executed when a connection is made or I 
 DN> would see the test.txt file in the /opt/max/bin 
 DN> directory.  But it isn't there.

 DN> Any insight as to what I am doing wrong would be greatly appreciated.

 DN> Cheers,
 DN> David Nyquist

 DN> --- Maximus/2 3.01

--- Maximus/2 3.01
DN> * Origin: COMM Port OS/2 juge.com 204.89.247.1 (281)
* Origin: Top Hat 2 BBS (1:343/41)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848
@PATH: 343/41 10/345 106/1 2000 140/1 138/146 392 123/500 261/38 712/848
@PATH: 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™.