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:20:27 -0500
Newsgroups: fidonet.muffin
From: Bob_Jones@f41.n343.z1
Date: Sun, 23 Oct 2005 18:12:26 -0400
Subject: Maximus Telnet for Linux
Message-ID:
References:
Organization: Top Hat 2 BBS
254/6
Lines: 90
NNTP-Posting-Host: 24.48.121.215
properly
Xref: number1.nntp.dca.giganews.com fidonet.muffin:45
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@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
DN> * Origin: COMM Port OS/2 juge.com 204.89.247.1 (281)
|