[comp.sys.amiga.datacomm] DNet

mtpins@umaxc.weeg.uiowa.edu (Firestar) (01/30/91)

I grabbed a copy of DNet v2.10 from Fish Disk 294.  I then set up the Amiga
side, no problems.  I then tried to set up the Unix side.  It appeared to 
compile OK.  However, when I try to run the unix side of DNet, I get a 
'segmentation fault'.  I'm running it on an Apollo under BSD.
Any idea, suggestions, etc. would be most appreciated.

					Firestar

 
--
*****************************************************************************
* Michael Pins (Firestar)     |   Internet: mtpins@umaxc.weeg.uiowa.edu     *
* ISCA's Amiga Librarian      |         #include <std.disclaimer>           *
*****************************************************************************

pashdown@javelin.es.com (Pete Ashdown) (01/30/91)

mtpins@umaxc.weeg.uiowa.edu (Firestar) writes:

>I grabbed a copy of DNet v2.10 from Fish Disk 294.  I then set up the Amiga
>side, no problems.  I then tried to set up the Unix side.  It appeared to 
>compile OK.  However, when I try to run the unix side of DNet, I get a 
>'segmentation fault'.  I'm running it on an Apollo under BSD.
>Any idea, suggestions, etc. would be most appreciated.

Make sure you have your environment variable set to the proper directory
with the configuration.  I think it is DNETDIR.  Then you need to have all
your configuration files setup in that directory.  I had the same problem
on the Sun, until I finished the installation.

>* Michael Pins (Firestar)     |   Internet: mtpins@umaxc.weeg.uiowa.edu     *
-- 

                "I'm going under the table."  - Bernard Shaw

Pete Ashdown  pashdown@javelin.sim.es.com ...uunet!javelin.sim.es.com!pashdown

mtpins@umaxc.weeg.uiowa.edu (Firestar) (01/31/91)

In article <7086@uqcspe.cs.uq.oz.au> baggins@batserver.cs.uq.oz.au writes:
>In <4214@ns-mx.uiowa.edu> mtpins@umaxc.weeg.uiowa.edu (Firestar) writes:
:>I grabbed a copy of DNet v2.10 from Fish Disk 294.  I then set up the Amiga
:>side, no problems.  I then tried to set up the Unix side.  It appeared to 
:>compile OK.  However, when I try to run the unix side of DNet, I get a 
:>'segmentation fault'.  I'm running it on an Apollo under BSD.
:>Any idea, suggestions, etc. would be most appreciated.
>Yes. Give up! or at least wait for version 10.3 of DomainOS. The problem
>you have is a system call (I forget which one but it took hours to find)
>that has been implemented as a stub. There is simply no code for it. I was
>going to get to a workaround but my knowledge of the Apollo internals is
>limited. I ran it on the suns here and ran an fterm to the Apollos from
>there. Pity, I like the Apollos, variable links are so cute!

I'm running a csh under DomainOS 10.3.  Nice try, but....

Someone emailed a suggestion to swap the bind() and fcntl() commands in dnet.c.
After doing so and recompiling, it starts to run, giving me the 
"FTerm V2.10L.04 opening, wait..." window, and hangs.  Any other ideas?
I saw mention of a newer version, which I'll grab and see if it helps anything.


					Firestar


--
*****************************************************************************
* Michael Pins (Firestar)     |   Internet: mtpins@umaxc.weeg.uiowa.edu     *
* ISCA's Amiga Librarian      |         #include <std.disclaimer>           *
*****************************************************************************

angst@batserver.cs.uq.oz.au (Angst) (01/31/91)

In <7086@uqcspe.cs.uq.oz.au> baggins@batserver.cs.uq.oz.au (Bill Segall) writes:

>Yes. Give up! or at least wait for version 10.3 of DomainOS. The problem
>you have is a system call (I forget which one but it took hours to find)
>that has been implemented as a stub. There is simply no code for it. I was
>going to get to a workaround but my knowledge of the Apollo internals is
>limited. I ran it on the suns here and ran an fterm to the Apollos from
>there. Pity, I like the Apollos, variable links are so cute!

As I recall, the call was to fcntl with F_[GS]ETOWN.  I think it could
be commented out fairly safely.

>Bill.

Angster, the gangster

danny@whitwiz.lonestar.org (Danny White) (02/05/91)

In article <4214@ns-mx.uiowa.edu>, Firestar writes:

> I grabbed a copy of DNet v2.10 from Fish Disk 294.  I then set up the Amiga
> side, no problems.  I then tried to set up the Unix side.  It appeared to
[]
> 'segmentation fault'.  I'm running it on an Apollo under BSD.
   ^^^^^^^^^^^^^^^^^^
I also tried this. I found that there was a BUG in the socket software on the
apollo! I dont remember just where the code is but it is in the initialization
section for setting up the sockets. you have to change the order of the socket
commands.(sorry, its been over six months since I did it and I don't remember
exactly where the change is) I did get it to work so there is hope. Good luck!

ymos,
danny
>
>					Firestar
[]
UUCP: ...!whitwiz!danny                 SNAIL:Danny White 1429 Glacier Dr. 
INTERNET: danny@whitwiz.lonestar.org                      Plano, TX  75023
                                        PHONE: 214-422-7131
==========================================================================
       "In order to make an apple pie from scratch, you must first
              create the universe." -- Carl Sagan, Cosmos

bard@jessica.stanford.edu (David Hopper) (04/30/91)

Has anyone successfully compiled DNET on a NeXT?  I want to network this
thing to my A500.  It includes BSD source, right?

Is 2.13 the latest DNET (on ab20, right?)?

Dave Hopper      |     /// Anthro Creep  | Academic Info Resources, Stanford
                 |__  ///     .   .      | Macincrap/UNIX Consultant
bard@jessica.    |\\\///     Ia! Ia!     | -- Just remember: love is life, and
   Stanford.EDU  | \XX/  Shub-Niggurath! | hate is living death. :Black Sabbath

tadguy@abcfd01.larc.nasa.gov (Tad Guy) (05/16/91)

atul@cadence.com (Atul Srinivasan) writes:
> has anyone out there got DNET up and running on a sun4 or
> sparcstation running sunOS 4.0+s ?  If so what version od DNET are
> you using. 

dnet-2.20 (available via anonymous ftp from ftp.uu.net in
/amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
There's some timing/protocol problems when running at high speeds
(like 9600bps) over dirty phone lines that I haven't solved yet, but
other than occasional lockups, it works ok...

By the way, comp.sys.amiga is dead.  Use comp.sys.amiga.datacomm.

	...tad

billsey@nesbbx.UUCP (Bill Seymour) (05/19/91)

In article <TADGUY.91May15222037@ab20.larc.nasa.gov>, Tad Guy writes:

> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
> /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
> There's some timing/protocol problems when running at high speeds
> (like 9600bps) over dirty phone lines that I haven't solved yet, but
> other than occasional lockups, it works ok...
> 
> 	...tad

	On another note... Has anyone been able to get DNet running on SYSV.4?
I could get it compiled past the socket stuff with a BSD switch, but it still
got sonfused when dealing with terminal sizes... (Just a hardware guy, I'm not
supposed to know how to make it work... =} )

  -Bill Seymour     nesbbx!billsey@agora.uucp or nesbbx!billsey@agora.rain.com
*****   American People/Link  Amiga Zone Hardware Specialist   NES*BILL  *****
Bejed, Inc.     NES, Inc.        NAG BBS         NES BBX BBS    Home Sometimes
(503)281-8153   (503)246-9311   (503)656-7393   (503)640-9337   (503) 640-0842

ericpaul@matt.ksu.ksu.edu (Eric Paul Armstrong) (05/20/91)

In article <TADGUY.91May15222037@ab20.larc.nasa.gov>, Tad Guy writes:

> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
> /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
> There's some timing/protocol problems when running at high speeds
> (like 9600bps) over dirty phone lines that I haven't solved yet, but
> other than occasional lockups, it works ok...
> 
> 	...tad

I was running it on our schools dual processor Solbourne (SunOS 4.0.3D)
and was having no problems at 9600.  The biggest problem I had was in 
connecting back to the amiga from the Solbourne, if you hit the Ctrl-C key
the dnet program on the unix side would go crazy and eat about 90% of the
CPU. (all system calls...)

----
Eric P. Armstrong		ericpaul@matt.ksu.ksu.edu

lag@aix01.aix.rpi.edu (Jose (Lagnaf) Raffucci) (05/21/91)

>> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
>> /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
>> There's some timing/protocol problems when running at high speeds
>> (like 9600bps) over dirty phone lines that I haven't solved yet, but
>> other than occasional lockups, it works ok...
>> 
>> 	...tad
>
>I was running it on our schools dual processor Solbourne (SunOS 4.0.3D)
>and was having no problems at 9600.  The biggest problem I had was in 
>connecting back to the amiga from the Solbourne, if you hit the Ctrl-C key
>the dnet program on the unix side would go crazy and eat about 90% of the
>CPU. (all system calls...

Wow... I along with 10 or so other people here have been running it off
of sun 3's for a year and a half with no problems (major ones anyways)
most of us use it at 9600 or 19200.  I have found that it provides us
with the best and fastest error-free communications at these speeds.

-hOz
-- 
/*-------------------------------------------------------------------------+
  //  The Amigoids from hell,     lagnaf@rpitsmts.bitnet  
\X/   Renssepolyinstatechnitute   lag@rpi.edu
      'That's what you get when you don't put out...' -  1/31/91          */

tadguy@abcfd01.larc.nasa.gov (Tad Guy) (05/22/91)

In article <5dch9bj@rpi.edu> lag@aix01.aix.rpi.edu (Jose (Lagnaf) Raffucci) writes:
> >> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
> >> /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
> >> There's some timing/protocol problems when running at high speeds
> >> (like 9600bps) over dirty phone lines that I haven't solved yet, but
> >> other than occasional lockups, it works ok...
> >> 
> >> 	...tad
> >
> >I was running it on our schools dual processor Solbourne (SunOS 4.0.3D)
> >and was having no problems at 9600.  The biggest problem I had was in 
> >connecting back to the amiga from the Solbourne, if you hit the Ctrl-C key
> >the dnet program on the unix side would go crazy and eat about 90% of the
> >CPU. (all system calls...
> 
> Wow... I along with 10 or so other people here have been running it off
> of sun 3's for a year and a half with no problems (major ones anyways)
> most of us use it at 9600 or 19200.  I have found that it provides us
> with the best and fastest error-free communications at these speeds.

Good for you.  But do you have really dirty phone lines?  I doubt
they're as bad as the ones I use, which are almost certainly tickling
a protocol error.

	...tad

sjk@aura.nbn.com (Scott J. Kramer) (05/29/91)

In article <TADGUY.91May15222037@ab20.larc.nasa.gov> tadguy@abcfd01.larc.nasa.gov (Tad Guy) writes:

   From: tadguy@abcfd01.larc.nasa.gov (Tad Guy)
   Newsgroups: comp.sys.amiga.datacomm,comp.sys.amiga
   Date: 16 May 91 03:20:37 GMT
   References: <1991May15.173938.25256@cadence.com>
   Sender: news@news.larc.nasa.gov (USENET Network News)
   Organization: NASA Langley Research Center, Hampton, VA

			. . .

   dnet-2.20 (available via anonymous ftp from ftp.uu.net in
   /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
   There's some timing/protocol problems when running at high speeds
   (like 9600bps) over dirty phone lines that I haven't solved yet, but
   other than occasional lockups, it works ok...


Does anyone have the following files that are missing from the
distribution on uunet?

    dnet/amiga/s/dnet.config
    dnet/amiga/s/dnet.servers
    dnet/amiga/s/remote-startup

Btw, dnet/amiga/doc/VERSION.DOC says:

    DNET
	V2.20

	    December 1990 release, fixed up FTERM a little (now saves window
	    position and dimensions on exit to a config file)

	    new option, -f<font>.<size> (as in -ftopaz.8) to set the window
	    font, also saved in the config file so from that point on you
	    no longer need to specify the option.

	V2.10
				. . .
But note the modtime of fterm.c:

    fterm.c                    10628 ----rwed 13-Dec-90 12:57:10

vs. the modtime of the executable:

    fterm                      17348 ----rwed 27-Nov-89 02:25:48

Hmm, FTERM wasn't recompiled for this release.

--

Scott J. Kramer			UUCP:	   {sun,ucbvax}!pixar!aura!sjk
P.O. Box 3392			Internet:  sjk@aura.nbn.com
San Rafael, CA  94912

jcjust01@ulkyvx.bitnet (J. Crazyrat Justen) (05/30/91)

In article <1991May19.235912.16324@maverick.ksu.ksu.edu>, ericpaul@matt.ksu.ksu.edu (Eric Paul Armstrong) writes:
> 
> 
> In article <TADGUY.91May15222037@ab20.larc.nasa.gov>, Tad Guy writes:
> 
>> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
>> /amiga-sources/dillon/) works ok on my Sun4/75 running SunOS 4.1.1.
>> There's some timing/protocol problems when running at high speeds
>> (like 9600bps) over dirty phone lines that I haven't solved yet, but
>> other than occasional lockups, it works ok...
>> 
>> 	...tad

How do you figure that this is version 2.20?  When I got it (yesterday) the
README file told me that it was still 2.10.  Needless to say I was very
disappointed.  After using 2.00 for the past 1.5 years (and having it work
quite well), I was ready for an upgrade.

Maybe if Matt is reading this..  Is there a REAL update to DNET.  I would 
like to see a new version that is stable under 2.0.  I would also like to
see added support for SYSV Unix because that's all I have access to.

Could these be possible?

Thanks,
Joel

----------------------------------------------------------------------------
Joel C. Justen                       BIT : JCJUST01@ulkyvx.bitnet
Computing and Telecommunications           JCJUST01@ulkyvm.bitnet
University of Louisville             UUCP: ..!psuvax1!ulkyvx.bitnet!jcjust01
Louisville, KY  40292                      crazyrat@disk.uucp

#include <stddisclaim.h>

dillon@overload.Berkeley.CA.US (Matthew Dillon) (05/31/91)

In article <SJK.91May28235308@aura.nbn.com> sjk@aura.nbn.com (Scott J. Kramer) writes:
>In article <TADGUY.91May15222037@ab20.larc.nasa.gov> tadguy@abcfd01.larc.nasa.gov (Tad Guy) writes:
>    DNET
>	V2.20
>
>	    December 1990 release, fixed up FTERM a little (now saves window
>	    position and dimensions on exit to a config file)
>
>	    new option, -f<font>.<size> (as in -ftopaz.8) to set the window
>	    font, also saved in the config file so from that point on you
>	    no longer need to specify the option.
>
>	V2.10
>				. . .
>But note the modtime of fterm.c:
>
>    fterm.c			10628 ----rwed 13-Dec-90 12:57:10
>
>vs. the modtime of the executable:
>
>    fterm			17348 ----rwed 27-Nov-89 02:25:48
>
>Hmm, FTERM wasn't recompiled for this release.

    Oops.  I do intend to revamp DNet in the future, but right now I have
    no easy access to a UNIX machine so can't really do anything, and
    the code is all torn apart too :-(

    So, people will have to make do for now.

					-Matt

>--
>
>Scott J. Kramer			UUCP:	   {sun,ucbvax}!pixar!aura!sjk
>P.O. Box 3392			Internet:  sjk@aura.nbn.com
>San Rafael, CA  94912

--

    Matthew Dillon	    dillon@Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708
    USA

jtp@niksula.hut.fi (Jukka Partanen) (05/31/91)

In article <1991May30.125901.392@ulkyvx.bitnet> jcjust01@ulkyvx.bitnet (J. Crazyrat Justen) writes:

>> In article <TADGUY.91May15222037@ab20.larc.nasa.gov>, Tad Guy writes:
>>> dnet-2.20 (available via anonymous ftp from ftp.uu.net in
>
>How do you figure that this is version 2.20?  When I got it (yesterday) the
>README file told me that it was still 2.10.  Needless to say I was very
>disappointed.  After using 2.00 for the past 1.5 years (and having it work
>quite well), I was ready for an upgrade.

	The sources are new (fterm.c etc) but the binaries
	aren't. I had to recompile everything (and fix some bugs)
	before I got it to work. I also fixed snfs.c (Unix side).
	Doesn't Matt compile and test his stuff?

--

    When the going gets rough, more formalism is required - David Gries

dillon@overload.Berkeley.CA.US (Matthew Dillon) (06/01/91)

In article <1991May30.125901.392@ulkyvx.bitnet> jcjust01@ulkyvx.bitnet (J. Crazyrat Justen) writes:
>In article <1991May19.235912.16324@maverick.ksu.ksu.edu>, ericpaul@matt.ksu.ksu.edu (Eric Paul Armstrong) writes:
>> In article <TADGUY.91May15222037@ab20.larc.nasa.gov>, Tad Guy writes:
>
>Maybe if Matt is reading this..  Is there a REAL update to DNET.  I would
>like to see a new version that is stable under 2.0.  I would also like to
>see added support for SYSV Unix because that's all I have access to.
>
>Could these be possible?
>
>Thanks,
>Joel

    What happened was that I forgot to bump the version number, it comes
    back to haunt me every few months :-)

    As I've said, I have no free time to work on DNet nor any UNIX access
    at the moment so it'l be a while.

					-Matt

>----------------------------------------------------------------------------
>Joel C. Justen 		      BIT : JCJUST01@ulkyvx.bitnet
>Computing and Telecommunications	    JCJUST01@ulkyvm.bitnet
>University of Louisville	      UUCP: ..!psuvax1!ulkyvx.bitnet!jcjust01
>Louisville, KY  40292			    crazyrat@disk.uucp
>
>#include <stddisclaim.h>

--

    Matthew Dillon	    dillon@Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708
    USA

dillon@overload.Berkeley.CA.US (Matthew Dillon) (06/02/91)

In article <JTP.91May31162711@zelda.hut.fi> jtp@niksula.hut.fi (Jukka Partanen) writes:
>In article <1991May30.125901.392@ulkyvx.bitnet> jcjust01@ulkyvx.bitnet (J. Crazyrat Justen) writes:
>
>	before I got it to work. I also fixed snfs.c (Unix side).
>	Doesn't Matt compile and test his stuff?
>

    Yes, but at the time of that distribution (X years ago) I did not have
    a formal distribution-maker program.  The recompiled executables didn't
    get copied to the distribution directory.

    As far as UNIX goes, I didn't realize that SNFS.C was messed up (as in
    byte ordering between different processors) until a year after the
    dist, and by then I did not have easy access to a machine to fix/test
    it on.

					-Matt

>--
>
>    When the going gets rough, more formalism is required - David Gries

--

    Matthew Dillon	    dillon@Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708
    USA

tessier@BNR.CA (Daniel Tessier) (06/19/91)

Hi!

This is probably a FAQ, but I haven't seen a list yet so... Has anybody
tried modifying DNet to run on SYSV systems? I have an HP workstation
here at work running SYSV, and I would love to be able to run DNet. If
anybody has tried to port it, or can explain how it can be done (or why
it can't), please reply. I will post a summary if I get enough info.

Thanks.
/----------------------------------------------------------------\
| Dan Tessier		       PHONE   : (613)765-2380		 |
| Bell-Northern Research, Ltd. INTERNET: tessier@bnr.ca 	 |
| Ottawa, Ontario, Canada      UUCP    : ...uunet!bnrgate.bnr.ca |
|					    !bmerh185!tessier	 |
| "Mothers are the necessity of invention"			 |
|			       - Calvin & Hobbes		 |
\----------------------------------------------------------------/