Hello, I just downloaded your software, and before I get too far down the path of installing it, I was wondering how it handled multiple modems and pooling. I'm currently using Dialout/IP Server, but it looks like that isn't being maintained anymore, and I'd like to have something on a more stable linux platform, instead of the WinNT we have now. Dialout/IP assigns port 7001 on up for modems, and it looks like 7000 for the hunt group. Any ideas on how to handle this? I've got 8 modems I want to have available to my users.
Thanks!
========================= Scott Mace Security Administrator Travelcenters of America 440-808-4318 mace.scott@tatravelcenters.com =========================
Hello, I just downloaded your software, and before I get too far down the path of installing it, I was wondering how it handled multiple modems and pooling. I'm currently using Dialout/IP Server, but it looks like that isn't being maintained anymore, and I'd like to have something on a more stable linux platform, instead of the WinNT we have now. Dialout/IP assigns port 7001 on up for modems, and it looks like 7000 for the hunt group. Any ideas on how to handle this? I've got 8 modems I want to have
Good question. sercd has no built-in support for hunt groups. Actually, it doesn't even accept the TCP socket: This must be done by a inetd program. I guess this could be seen as an advantage: for each new connection, inetd will spawn a new copy of sercd. So, the only thing missing should be the handling of which serial device to use.
The sample sercd xinetd.conf file contains:
server = /usr/local/sbin/sercd server_args = 5 /dev/modem /var/lock/LCK..modem
Perhaps it would be possible to write a wrapper program that determines which device file and lock file to use, and then call sercd. The xinetd configuration would then look like:
server = /usr/local/sbin/sercd_wrapper server_args = 5
And sercd_wrapper could be something like:
#!/bin/sh <determine a free device> exec /usr/local/sbin/sercd $1 /dev/${myfreedev} /var/lock/LCK..${myfreedev}
Perhaps that could work, or perhaps I've forgotten something.