TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Jim Barrett
from: Bob Jones
date: 2006-02-23 16:53:00
subject: setting up listening port

Hello, Jim....

 JB> Hi all, I downloaded Maximus a few months ago, 
 JB> and I am just now finding the time to play with it.
 JB> I get errors when I run bin/runbbs.sh. 
 JB> I had thought that I could pass in a port number
 JB> using parameter -p, but when I run the script, I see 
 JB> these error messages:

 JB> ! 23 Feb 18:28:31 MAX  Could not open device! (/dev/ttyS5099)
 JB> ! 23 Feb 18:28:31 MAX  SYS0001:  ComOpen(com5100)
 JB> ! 23 Feb 18:28:31 MAX  Could not initialize communications library

Ah...  you are probably getting bit by interpreting old comments in a new
environment.  The port number was the serial port to be used to connect to
the modem..... .....  Not an IP port number.  That's why it is
trying to open up /dev/ttyS5099.....

 JB> here is the code I am using to run max:

 JB> while /bin/true
 JB> do
 JB>   [ -f "${PREFIX}/die.now" ] && break
 JB>   bin/max -w -b38400 -n0 -p5100
 JB>   sleep 1
 JB> done

I'm going to have to find some time to dig out what I have on my system. 
I've attempted to run both local console (-k switch if I remember
correctly) and with a TCP/IP port.  The IP stuff was an add on in the Linux
environment, and I'd have to look up what was done.....  I don't remember
it off the top of my head, and I haven't had time to play with this since
Bo and  fixed up this area.....  I believe the IP
port number is either hardcoded or is a different parameter.

 JB> I have not looked at the source code yet, but I figured I's post a 
 JB> message incase it was something simple like I'm using the
 JB> wrong parameter.  :)

The parameter you are using isn't for what you wanted.... 

 JB> Thanks!

You're welcome....

 JB> Jim

Take care.....

Bob Jones, 1:343/41

P.S.  Would you like to help maintain the code?





--- Maximus/2 3.01
* 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 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™.