Groups | Search | Server Info | Login | Register


Groups > alt.sys.pdp10 > #9875

Re: Try again: IP between Pi <--> klh10 TOPS-20

From David Todd <hdtodd@gmail.com>
Newsgroups alt.sys.pdp10
Subject Re: Try again: IP between Pi <--> klh10 TOPS-20
Date 2026-01-04 13:52 -0500
Organization A noiseless patient Spider
Message-ID <49b2ec85-776d-48a6-bf6c-1851eb5ea1f6@gmail.com> (permalink)
References (5 earlier) <87ldih48o8.fsf@atr2.ath.cx> <fc5af379-0925-4d89-b674-ea3da6ab3db1@gmail.com> <871pk6mxd0.fsf@atr2.ath.cx> <d900ddf6-18b5-4521-91f8-a467b126f1b1@gmail.com> <87ms2tfikn.fsf@atr2.ath.cx>

Show all headers | View raw


On 1/4/26 11:28 AM, jayjwa wrote:
> David Todd <hdtodd@gmail.com> writes:
> 
>> I tried this and klh10/dpni20 rejects pcap; says it just takes
>> tun, tap, or tap+bridge.
> Really? It's right in the doc/install.txt, first item:
> 
> [IFMETH=<pcap|tap|tap+bridge|vde>] Default: system dependent
>          Different host operating systems have different methods to allow
>          access to an ethernet interface. Some may have more than one.
>          The desired option can be chosen at runtime from the ones that are
>          compiled in.
> 
> Maybe the docs didn't keep up with the code. That's where I got it from,
> but never tried it as it wasn't needed here.
> 

I got pcap accepted (below), but no connectivity.  Anything I need to do 
on the Pi to get it working?  DEC20 gateway now the router? (192.168.1.1)

Yes, I know: I too was surprised that pcap didn't work.  I tried it a 
couple of times; just tried it again and got:

[dpni20: Fatal error: Interface method "pcap" not supported (only tun 
tap tap+bridge) - Success]
  4-Jan-2026 12:13:58 ***BUGCHK KNIINF*** PHYKNI - NIA20 initialization 
timed out  Job: 0, User: OPERATOR, Data: 400007000036

and despite the "Success" message,
$infor inter
  Network Todds.Comcast.net host name is pi20
  Network interface type is IPNI, Internet address is 192.168.1.62
  Network interface is down, output is disabled
  Network service is enabled


It *may* be an issue with just the Pi/Debian OS, or maybe just the 
Trixie release.  But the message comes from osdnet.c, from the pfinit() 
procedure.

AHHHH ...

In osdnet.c, the procedure to test for pcap method is embedded in

#if KLH10_NET_PCAP

and I see that the compilation string for dpni20.c and friends does not 
include that definition.  I see that libpcap is, in fact, installed with 
Trixie distribution.  I took a quick look at the config files, and I'm 
not sure why the autoconf doesn't pick it up, but it doesn't get 
compiled in.

I found that libpcap-dev wasn't installed (so no .a file); I installed 
it, did the autogen.sh again; recompiled and reinstalled everything; and 
now ifmeth=pcap is accepted.  I have

;Set Ethernet address
devdef ni0 564 ni20 dedic=true ifmeth=pcap

If I leave my debugging statements enabled, I get a constant stream of 
messages from the dpni20 read routine:
    [dpni20-R: osn_pfread_pcap: read 182 bytes]
so there's some connectivity to something.

Remove the debugging and reboot and I get:

[KNILDR: Loading microcode version 1(172) into Ethernet channel 0]

[dpni20: ifc "" => ether 2c:cf:67:ad:c9:b9]
[dpni20:   VHOST 0.0.0.0]
  4-Jan-2026 13:25:57 ***BUGCHK IPIBLP*** IPNI input buffer list problem 
  Job: 0, User: OPERATOR, Data: 777777777777, 12000000, 1

But 'info inter' shows the network to be up.

$infor inter
  Network Todds.Comcast.net host name is pi20
  Network interface type is IPNI, Internet address is 192.168.1.62
  Network interface is up, output is enabled
  Network service is enabled
  Last network interface up transition: 4-Jan-2026 13:25:57

and DEC20 telnet to itself works.

And Pi external connections work.

But Pi-DEC20 IP fails.

With the corrections to DEC20 gateway and separating br0 and DEC20 IP 
addresses, I seem to be circling around the same patterns no matter 
which approach I take: either Pi-DEC20 IP works but external IP doesn't, 
or Pi-DEC20 IP doesn't work but Pi-external does.

I'm not sure that it's worthwhile to get distracted (again) by the pcap 
option, unless you see something obviously wrong in my setup.  My 
'devdef' is above; DEC20 address is still .62; no bridge or tap.  I've 
tried internet.gateways as 192.168.1.1 with no success.

The Pi side has just lo, eth0, and wlan0 as set at boot-up.  I'm 
presuming that pcap doesn't need anything else done on the Pi.

If I can't make any progress getting br0/tap0 approach to work, I'll go 
back and see if I can get pcap to work.  For now, I'll focus on the 
bridge approach, which everyone says works.  Just a problem with my 
configuration, as you said, so I'll try to get it working.

Back to alt.sys.pdp10 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2025-12-29 18:31 -0500
  Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-12-30 12:54 -0500
    Re: Try again: IP between Pi <--> klh10 TOPS-20 Rich Alderson <news@alderson.users.panix.com> - 2025-12-30 20:43 -0500
      Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-12-31 12:50 -0500
        Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-01 09:59 -0500
          Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-01 11:08 -0500
            Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-01 11:27 -0500
              Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-02 13:04 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-02 17:36 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-03 05:37 +0000
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-03 07:09 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-03 08:40 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-03 11:33 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-03 06:59 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 09:07 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 09:20 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 Johnny Billquist <bqt@softjar.se> - 2026-01-04 16:26 +0100
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 10:57 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-05 06:38 +0000
            Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-02 07:46 -0500
              Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-02 12:54 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-02 17:05 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 Rich Alderson <news@alderson.users.panix.com> - 2026-01-02 20:32 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-02 22:21 -0500
            Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-02 17:47 -0500
              Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-03 12:15 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-03 16:57 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-03 17:00 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-04 11:21 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-05 17:52 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-05 18:13 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-06 12:53 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-06 18:12 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <HDTodd@gmail.com> - 2026-01-06 18:15 -0500
                MM vs. MS/MX [was Re: Try again: IP between Pi <--> klh10 TOPS-20] Rich Alderson <news@alderson.users.panix.com> - 2026-01-07 18:28 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-03 17:07 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-04 11:28 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 13:52 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-03 18:12 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 scott@slp53.sl.home (Scott Lurndal) - 2026-01-04 00:00 +0000
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 08:48 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 scott@slp53.sl.home (Scott Lurndal) - 2026-01-04 16:00 +0000
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 14:02 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-04 11:56 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 14:21 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-04 16:16 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 16:58 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 14:28 -0500
                Re: Try again: IP between Pi <--> klh10 TOPS-20 scott@slp53.sl.home (Scott Lurndal) - 2026-01-05 15:33 +0000
                Re: Try again: IP between Pi <--> klh10 TOPS-20 Andy Valencia <vandys@vsta.org> - 2026-01-05 15:45 -0800
                Re: Try again: IP between Pi <--> klh10 TOPS-20 David Todd <hdtodd@gmail.com> - 2026-01-04 08:59 -0500

csiph-web