I'm tring to use slirp to set up a connection over the phone from one of
my linux machines to another (both Slackware). In the past I've
connected them together using both SLIP over a serial cable, and PLIP
I have slirp-1.0c on the remote machine; and dip-3.3.7n-inaky on my local
machine. I've read the slirp and dip docs, and the
alt.dcom.slip-emulators.FAQ; and even followed all the instructions (I
My dip script dials up ok, logs in, and runs slirp. However, the (dip)
command "default" doesn't set up the route to the remote machine, so
since I haven't worked out why this is yet I (by hand) run /sbin/ifconfig
to set up a pointopoint connection on sl0 to the remote machine (slirp ip
10.0.2.2); then add in the route (/sbin/route add ...) to it (and then
define 10.0.2.2 as my default gateway).
However, if on my local machine I telnet 10.0.2.2 (the 'ip' of the remote
machine under slirp), I get
Connected to 10.0.2.2
Escape character is '^]'.
but then it hangs and after ten seconds or so says that the remote
machine has closed the connection. Similar things happen for the other
addresses too, although some hang without closing (I forget which,
and I forgot to bring my notes in today :-/).
A while back someone sugested the slirp "control address" of
10.0.2.0 might be confusing linux (because of the trailing 0),
so I've tried it with "#define CTL_CMD 10" in ctl.h
and recompling, with no change in results.
It's clearly almost working, because the remote machine starts to reply
(I can see this with "netstat -t" too). Any ideas on making it work
Dr. Paul Kinsler
Institute of Microwaves and Photonics
School of Electronic & Electrical Engineering
University of Leeds
Leeds LS2 9JT (fax)+44-113-2332032