[Prev][Next][Index]
Re: SLIP question
On Sat, 9 Sep 1995, Shay Rojansky wrote:
> Hi.
> I have a question regarding SLIP: Apparently dip requires you
> to enter the hostname/IP of your SLIP server. The Windows-based Trumpet
> Winsock does not require this, and it can become a problem if the
> host is not always the same. Is there any way to set up a SLIP connection
> without it?
>
> [lines deleted ...]
>
"dip" works with dynamically assigned IP addresses. I am using it that
way from home ...
The idea is to get the address from the Terminal Server that you
are connected to by reading it from the info displayed. You have to
"wait" for some word before the address(ie: wait IP 10) and then to "get"
it(get $locip remote). dip will skip any word which doesn't looks like an
IP address. If you have the dip source look under samples for examples.
The actual dip script depends on the specific TS. The first time around
you will have to run it "manually" -- "dip -t" and then enter the commands
manually. Use "echo on" to make it echo whatever is displayed by the modem
and "term" to switch to terminal mode when it is connected. After that you
can write your own script.
Vlad
---
Vlad Moseanu | Office: vlad@tavosf.iso.dec.com
| Home: vlad@actcom.co.il
---