Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  -sname vs. -name switch

icimjs at loop.com
Posted: Wed Feb 10, 1999 8:40 pm Reply with quote
Guest
Hi,

can I communicate with an erl system running online under FreeBSD from a
local (modem connection) Win95 system using Werl, if I start both systems
with the -sname switch, or do I have to use -name for this kind of
application?

TIA,

Elan



Post generated using Mail2Forum (http://m2f.sourceforge.net)
mattias at erix.ericsson.
Posted: Wed Feb 10, 1999 8:43 pm Reply with quote
Guest
Elan wrote:
>
> Hi,
>
> can I communicate with an erl system running online under FreeBSD from a
> local (modem connection) Win95 system using Werl, if I start both systems
> with the -sname switch, or do I have to use -name for this kind of
> application?

-sname should be ok if you're on the same subnet atleast. You should
also make sure you use the
same cookie (use the -setcookie switch to make sure, otherwise the
.erlang.cookie file in your $HOME dir is read).

--
Best Regards, Mattias Nilsson
Open Telecom Platform, Open Systems, Ericsson


Post generated using Mail2Forum (http://m2f.sourceforge.net)
per at erix.ericsson.se
Posted: Wed Feb 10, 1999 8:56 pm Reply with quote
Guest
Mattias wrote:
>
>Elan wrote:
>>
>> Hi,
>>
>> can I communicate with an erl system running online under FreeBSD from a
>> local (modem connection) Win95 system using Werl, if I start both systems
>> with the -sname switch, or do I have to use -name for this kind of
>> application?
>
>-sname should be ok if you're on the same subnet atleast. You should
>also make sure you use the
>same cookie (use the -setcookie switch to make sure, otherwise the
>.erlang.cookie file in your $HOME dir is read).

HOWEVER, note that the *current* open-source/Unix version uses a
distribution protocol that is incompatible with the *current* Win95/NT
version - i.e. they can not communicate *at all* - see the
http://www.erlang.org/download.html page. This will hopefully be fixed
soon...

--Per Hedeland
per_at_erix.ericsson.se


Post generated using Mail2Forum (http://m2f.sourceforge.net)
per at erix.ericsson.se
Posted: Wed Feb 10, 1999 11:22 pm Reply with quote
Guest
Mattias wrote:
>-sname should be ok if you're on the same subnet atleast. You should
>also make sure you use the
>same cookie (use the -setcookie switch to make sure, otherwise the
>.erlang.cookie file in your $HOME dir is read).

Oh, and by the way: You *really* don't want to use -setcookie if you
care at all about security and run in anything but a closed, friendly
environment - at least on Unix anyone on the system can then find out
your cookie using 'ps', and if they find out your cookie they can
connect to your nodes, and if they can connect to your nodes they have
all your privileges.

--Per Hedeland
per_at_erix.ericsson.se


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum