Mates Jelinek <[EMAIL PROTECTED]> wrote:
> does anybody have any experience with this ?

No, but with this (SLIP over ssh).

computera# slattach /dev/ptyp39 # unused pty/ttyp, choose high value
computera# ifconfig sl0 192.168.4.1  # assuming sl0 was free before
computera# route add 192.168.4.2 dev sl0

as I said, maybe needs a ``route add 192.168.4.1'' if you have
a default route of some sort.

computera% ssh < /dev/ttyp39 > /dev/ttyp39 computerb -t -l root 'slattach `tty`'
computera% ssh computerb -l root 'ifconfig sl0 192.168.4.2; route add 192.168.4.1 dev 
sl0'

The principle of the above is that a SLIP connection can only happen
provided slattach is run on a tty (ie with SLIP line discipline: serial
port or pseudo-tty).

Note that this is suboptimal, especially if you start to loose packets,
since retransmits may well be triggered at the TCP level of the
underlying transport at the same time as the upper level, leading
to additional packet loss, retransmits, etc.

Reply via email to