Would there be any way to get pydecnet to work with a device that only had wifi? I have one of those $20 RISC-V boards that can run Ubuntu, it'd be fun to use that as a pydecnet bridge. It doesn't have built-in ethernet although I suppose I could use a USB-Ethernet adapter.

On Mon, Nov 7, 2022 at 4:46 PM Keith Halewood <Keith.Halewood@pitbulluk.org> wrote:
I don’t think you can share the same tap device. At least it didn’t seem to work in debian.

> On 7 Nov 2022, at 21:42, Robert Armstrong <bob@jfcl.com> wrote:
>
> 
>>
>> Keith Halewood <Keith.Halewood@pitbulluk.org> wrote:
>> In which case, via /etc/network/interfaces,
>
>  Yes, I think that would work, but since we're only interested in DECnet messages it's not necessary to have Linux bridge the tap and eth devices, and one tap device is enough.  Something like this -
>
> In the script that starts up the simh simulation,
>
>    sudo tunctl -t tap0
>    sudo ifconfig tap0 up
>    /usr/local/bin/microvax3900 <startup script>    # or whatever simh you prefer
>
> then in the simh script
>
>    attach xq tap0
>
> and in the pyDECnet config just add
>
>    circuit TAP-0 Ethernet tap:tap0  --single-address
>
>  In this setup pyDECnet will route DECnet traffic between eth0 and simh, which should be fine as long as you only want to do DECnet with whatever OS you're running on simh.  If you want to run IP traffic from simh (e.g. if you're running Multinet or Johnny's RSX TCP package) then you should stick with Keith's scheme.
>
> Bob
>
> _______________________________________________
> HECnet mailing list -- hecnet@lists.dfupdate.se
> To unsubscribe send an email to hecnet-leave@lists.dfupdate.se
_______________________________________________
HECnet mailing list -- hecnet@lists.dfupdate.se
To unsubscribe send an email to hecnet-leave@lists.dfupdate.se