There are several possibilities:
On the Linux PC you have to install a forwarding server.
One option is to use modemd
. This is a very short perl script
(also see Linux Modem sharing mini-HOWTO at
http://www.linuxdoc.org/HOWTO/mini/Linux-Modem-Sharing.html
):
#!/usr/bin/perl select((select(STDOUT), $| = 1)[$[]); select((select(STDIN), $| = 1)[$[]); exec "cu","-E","''", "-l", "$ARGV[0]"; die "$0: Cannot exec cu: $!\n";
/etc/services
:
modem 20006/tcp modemd # Modem service via TCP isdn 20007/tcp modemd # ISDN service via TCP
/etc/inet.conf
:
modemd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/modemd ttyI5
Instead of modemd you can also use the program mserver
, which has
some additional functionality (e.g. rights based on ip address):
ftp://ftp.innet.be/pub/staff/carl/
Additionally, you need some software on your non-ISDN computer which emulates a serial port, but redirects it via telnet to the Linux ISDN computer. Some telnet clients allow this functionality (e.g. some uucicos). If you generally want to offer all applications a kind of "remote COM port", then there is COMT for Windows (95), and "telser.device" for Amigas. Disadvantage of COMT: it is only visible to ancient 16bit Win applications, and not even working in the DOS box. Another program is DialOut/IP, but it's fairly expensive ($70).
COMT may be found on Simtel:
http://educom.sce.fct.unl.pt/ftp/pub/shareware/win-utils/comt2.zip
DialOut/IP can be found on:
http://tacticalsoftware.com
Those who just want to save their CrossPoint installation should be aware that
it now offers tcp modem support, such that it will run without additional
software. Check out:
http://www.openxp.de
For this you need two pieces of software. At the computer where the ISDN-line
is connected you need to install a dial daemon
. The dial daemon
will execute any dial commands given from a dial frontend
located on
a different computer on the LAN. You have several options to choose a dial
daemon and dial frontend.
smpppd
(SuSE Meta PPP
Daemon) from SuSE as the dial daemon. smpppd gets used in the SuSE distribution
for all ISDN, Modem and DSL connections. You can connect to smpppd locally or
over a LAN via different dial frontends and trigger dial-out, hang-up and so
on. The most known dial frontend is kinternet a small applet for the KDE
Kicker. Others are the qt-only qinternet and the command line tool cinternet.
Unfortunately there is no frontend for Windows or Mac OS available.
Obviously this is the easiest way if you already have SuSE installed on the
server, and all other involved computers are also based on Linux (installation
of the dial frontend should not be too difficult with non-SuSE distributions).
Some more hints:
open-inet-socket = yes # (default is no) bind-address = <IP> # IP of the LAN-network-card of the dial in server; # default is listening on all network cards (!)
LineControl
.
It has a dial daemon (linesrv) which you can configure dialing different
connections (similar to smpppd) be it ISDN, Modem, DSL or another dial-out
connection. Dial frontends are available for Linux (one for KDE and one for
Gnome), Windows and Java.
Some more hints:
/etc/linesrv.conf
(the relevant configuration options are similar to that of smpppd)/etc/linesrv/