[HECnet] Sunlink DNA

Mark Abene phiber at phiber.com
Tue Oct 2 10:31:41 PDT 2018


The problem is Linux's bpf isn't a drop in replacement for BSD bpf, so
there's some work there, and I've been busy with my primary work.

However, it should be possible to set up slip or ppp by designating a
serial port in the tme config. I'd recommend using the "socat" utility to
create a pair of ptys, one for host, one for tme, to do slip or ppp over. I
haven't yet looked at the tme serial code, but this would be the first
thing I would try, since it shouldn't require any major code changes.

-Mark


On Tue, Oct 2, 2018, 8:33 AM Supratim Sanyal <supratim at riseup.net> wrote:

> Mark,
>
> Are there any other options than you writing code for TME-Linux to be
> network enabled (re: the BPF thingy)?
>
> Is it possible to create some sort of dummy NIC or some such thing to fool
> TME into thinking it has a working /dev/bpf0 ?
>
> Thanks
> Supratim
>
>
>
> On Sep 27, 2018, at 1:37 AM, Mark Abene <phiber at phiber.com> wrote:
>
> Awesome! This is a great emulator that shouldn't be forgotten.
>
> -Mark
>
>
> On Wed, Sep 26, 2018 at 10:17 PM, Supratim Sanyal <supratim at riseup.net>
> wrote:
>
>> Thank you Mark. I have NetBSD/sun3 (Amnesiac) up and running on Ubuntu 14
>> 32-bit; your instructions are perfect!
>> Supratim
>>
>>
>> On 9/20/2018 20:19, Mark Abene wrote:
>>
>> Oddly enough, I did have that happen on one install but not another. Try
>> this:
>>
>> cd $HOME/tme/tme-0.8/ic/ieee754
>> make install
>>
>> ...and if that works, try 'make install' again from the main tme-0.8
>> directory.
>> I suspect some things in the install might be occurring out of order.
>>
>> -Mark
>>
>>
>>
>> On Thu, Sep 20, 2018 at 5:13 PM, Ray Jewhurst <raywjewhurst at gmail.com>
>> wrote:
>>
>>> Mark,
>>> I followed your instructions to a "T" and it built fine but I got the
>>> following errors on the install.
>>>
>>> /usr/bin/x86_64-linux-gnu-ld: cannot find -ltme-ieee754
>>> collect2: error: ld returned 1 exit status
>>> libtool: install: error: relink `tme_ic_m68k.la' with the above command
>>> before installing it
>>> Makefile:312: recipe for target 'install-pkglibLTLIBRARIES' failed
>>> make[4]: *** [install-pkglibLTLIBRARIES] Error 1
>>> make[4]: Leaving directory '/home/ray/tme-0.8/ic/m68k'
>>> Makefile:470: recipe for target 'install-am' failed
>>> make[3]: *** [install-am] Error 2
>>> make[3]: Leaving directory '/home/ray/tme-0.8/ic/m68k'
>>> Makefile:464: recipe for target 'install' failed
>>> make[2]: *** [install] Error 2
>>> make[2]: Leaving directory '/home/ray/tme-0.8/ic/m68k'
>>> Makefile:612: recipe for target 'install-recursive' failed
>>> make[1]: *** [install-recursive] Error 1
>>> make[1]: Leaving directory '/home/ray/tme-0.8/ic'
>>> Makefile:315: recipe for target 'install-recursive' failed
>>> make: *** [install-recursive] Error 1
>>>
>>> I also am also running Ubuntu 18.04.
>>>
>>> Thanks in advance,
>>>
>>> Ray
>>>
>>> On Thu, Sep 20, 2018 at 5:02 PM, Mark Abene <phiber at phiber.com> wrote:
>>>
>>>> I posted this message yesterday, but for some reason people are telling
>>>> me it never went to the list.
>>>> I removed the photos I originally attached and am sending it again.
>>>>
>>>> -Mark
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Mark Abene <phiber at phiber.com>
>>>> Date: Wed, Sep 19, 2018 at 2:58 PM
>>>> Subject: Re: [HECnet] Sunlink DNA
>>>> To: hecnet at update.uu.se
>>>>
>>>>
>>>> To everyone who asked, I built TME last night on Ubuntu 18.04 on two
>>>> different systems, and installed NetBSD 1.6.2 on a sun3/160 instance.
>>>> It's working very nicely, minus networking; bear in mind that TME was
>>>> originally written to run on a NetBSD host (it's in the pkg collection),
>>>> and makes use of BPF to implement networking (I seem to remember it also
>>>> working on FreeBSD). Linux does have a bpf compatibility interface, so I'll
>>>> see if it can be made to work and follow up with you all. That said, grab
>>>> TME here: https://people.csail.mit.edu/fredette/tme/tme-0.8.tar.gz
>>>> That's the home site, there's lots of info on the emulator
>>>> https://people.csail.mit.edu/fredette/tme/
>>>> There's also this site, specifically about installing SunOS 4.1.1:
>>>> http://www.abiyo.net/retrocomputing/installingsunos411tosun3emulatedintme08onlinux
>>>> DON'T follow those build instructions, they're incredibly old and will
>>>> get you nowhere fast.  :)
>>>>
>>>> Here are my steps:
>>>> Make sure you have the gtk-2.0 and glib2.0 dev packages installed.
>>>> Then...
>>>> mkdir $HOME/tme
>>>> cd $HOME/tme
>>>> tar -zxvf your_download_dir/tme-0.8.tar.gz
>>>> cd tme-0.8
>>>> vi libtme/module.c (comment out line 93
>>>> "LTDL_SET_PRELOADED_SYMBOLS();", it's no longer needed) and save.
>>>> ./configure --prefix=$HOME/tme --disable-warnings 'LIBS=-lglib-2.0
>>>> -lgtk-x11-2.0 -lX11'
>>>> export LTDL_LIBRARY_PATH=$HOME/tme/lib (or "setenv LTDL_LIBRARY_PATH
>>>> $HOME/tme/lib" for csh/tcsh)
>>>> make
>>>> make install
>>>>
>>>> If everything built and installed without errors, you'll have the
>>>> install tree in $HOME/tme. From here you can follow the various
>>>> instructions on the original site above for installing NetBSD, etc.
>>>>
>>>> If you ran into any errors either building, installing, or running,
>>>> just drop me a note, I'd be happy to help!
>>>>
>>>> P.S.: I've attached some photos of it booting up!
>>>> P.P.S: You'll notice it seg fault when you exit tmesh. The original
>>>> does this too. The author even comments about how there's no "quit" command.
>>>>
>>>> Regards,
>>>> Mark
>>>>
>>>>
>>>>
>>>> On Tue, Sep 18, 2018 at 6:35 PM, Dave McGuire <mcguire at neurotica.com>
>>>> wrote:
>>>>
>>>>>
>>>>>   Thanks Mark!
>>>>>
>>>>>        -Dave
>>>>>
>>>>> On 09/18/2018 08:59 PM, Mark Abene wrote:
>>>>> > Absolutely. I'll dig it out after dinner later tonight.
>>>>> >
>>>>> > -Mark
>>>>> >
>>>>> >
>>>>> > On Tue, Sep 18, 2018 at 5:44 PM, Dave McGuire <mcguire at neurotica.com
>>>>> > <mailto:mcguire at neurotica.com>> wrote:
>>>>> >
>>>>> >     On 09/18/2018 08:12 PM, Mark Abene wrote:
>>>>> >     > The TME emulator works fine on Ubuntu with very minor
>>>>> massaging. I don't
>>>>> >     > recall having to do anything extremely out of the ordinary.
>>>>> >     > For me the fun was in emulating a Sun 3/80 I used to have. If
>>>>> you like,
>>>>> >     > I can dig it up my TME install. Haven't used it in a while.
>>>>> >
>>>>> >       If you can find any notes that you my have taken on what it
>>>>> took to
>>>>> >     get it running, I'd very much appreciate that.  I hacked on it
>>>>> for a bit
>>>>> >     earlier this year, but ran out of time and eventually gave up.
>>>>> >
>>>>> >                   -Dave
>>>>> >
>>>>> >     --
>>>>> >     Dave McGuire, AK4HZ
>>>>> >     New Kensington, PA
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>> --
>>>>> Dave McGuire, AK4HZ
>>>>> New Kensington, PA
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>> Sent via Thunderbird for Windows 10 on Lenovo Legion Y720
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20181002/8640e3e5/attachment-0001.html>


More information about the Hecnet-list mailing list