Groups | Search | Server Info | Login | Register
Groups > alt.sys.pdp10 > #9768
| From | jayjwa <jayjwa@atr2.ath.cx.invalid> |
|---|---|
| Newsgroups | alt.sys.pdp10 |
| Subject | Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX |
| Date | 2025-10-29 13:14 -0400 |
| Organization | Atr2 RG 2025 |
| Message-ID | <87zf99zl2l.fsf@atr2.ath.cx> (permalink) |
| References | <10dfvld$2k7ba$1@dont-email.me> <87frb7g9po.fsf@atr2.ath.cx> <3b30b25f-63d6-49ca-9158-1d885b69c50f@gmail.com> |
David Todd <HDTodd@gmail.com> writes:
> Thanks for your detailed reply. I was able to execute most of your
> script, and it seemed to work fine, except that I don't have the
> script for "make_set_tuntap". Could you reply with that?
It's not a script, it's a function, and it's in the script already
posted:
# A function to make a TUNTAP device and assign it to the br0 interface
function make_set_tuntap() {
printf "${BLUE}Adding TUNTAP %s to bridge.${NC}\\n" "${1}"
# Create the device
ip -c tuntap add dev tap${1} mode tap
# Stuff it into the bridge
ip -c link set dev tap${1} master br0
# Set it up. Note, it will still show "down" until used
ip -c link set tap${1} up
}
> I assumed that it set up the indicated set of taps, so I enabled my
> tap0 (I'll only have the one, plus the tap1 needed when klh10 starts
> up its network interface).
So your setup that would be:
devdef ni0 564 ni20 dedic=true ifmeth=tap ifc=tap0 decnet=true
and once it starts, you'll actually get tap1 so put it into the bridge
yourself from another terminal:
ip -c link set dev tap1 master br0
After that, tap0 doesn't matter. You can do what you want with it or
just leave it.
> And somewhere along the line, I broke the routing for the Pi, so it can't
> get to the outside world. :-) Fine after reboot of the Pi.
If an IP address gets pasted on a tap, this might happen.
ifmeth=tap+bridge
will do it, too.
It would be nice if this emulator used taps like Qemu but you have to
put the tap in the bridge yourself. Qemu does this:
-device pcnet,netdev=net0,mac=52:54:00:12:34:62 -netdev bridge,id=net0
(auto add tap via bridge-helper)
or this
-device pcnet,netdev=net0,mac=52:54:00:12:34:59 -netdev
tap,ifname=tap8,id=net0,script=no,downscript=no
(you make the tap, put it in the bridge, then give it to Qemu).
> I'll check iroute2 tomorrow.
I don't even know any other command to put a tap into a bridge. Maybe it
used to be "brctl". Use iproute2.
There's probably other ways to do this but the bridge/tap way allows
communication with guest/host even outside IP. This way Linux and
TOPS-20 can speak LAT.
latcp -d -l
AMATSU Available AMATSU KLH, PANDA TOPS-20 Monitor 7.1(21733)-4
ATR2 Available Linux 6.12.40
LAD_08002BE5E5B5 Available Infoserver 100 V3.5
...
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Back to alt.sys.pdp10 | Previous | Next — Previous in thread | Next in thread | Find similar
?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-24 09:40 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-10-24 19:29 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-25 18:53 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-26 03:50 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-26 07:10 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-26 21:16 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-27 15:18 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-10-26 14:51 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-28 18:13 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-10-29 13:14 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-29 23:51 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-30 08:59 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-10-30 13:51 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX scott@slp53.sl.home (Scott Lurndal) - 2025-10-29 17:24 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-10-30 09:04 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-10-30 12:43 -0400
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX scott@slp53.sl.home (Scott Lurndal) - 2025-10-30 17:36 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-11-07 13:30 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX scott@slp53.sl.home (Scott Lurndal) - 2025-11-07 21:48 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-11-07 17:21 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-11-08 05:55 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Lars Brinkhoff <lars.spam@nocrew.org> - 2025-11-08 17:16 +0000
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-11-08 15:33 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-11-09 17:45 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Rich Alderson <news@alderson.users.panix.com> - 2025-11-08 20:42 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-11-08 14:57 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-11-08 15:37 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Rich Alderson <news@alderson.users.panix.com> - 2025-11-08 20:47 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-11-09 17:58 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX Rich Alderson <news@alderson.users.panix.com> - 2025-11-09 21:00 -0500
Re: ?TCPIP TOPS-20 <--> Raspberry Pi or Mac OSX David Todd <HDTodd@gmail.com> - 2025-11-01 14:05 -0400
csiph-web