[HECnet] Configuring py-decnet.

Peter Lothberg roll at stupi.com
Tue Aug 25 16:24:43 PDT 2020


John, 

from Tops20 sol:: 


$set host elvira 

[Attempting a connection, 
CTERM Connect failed - Trying NRT: ] 

[Attempting a connection, connect OK] 
[Remote host is a RSTS/E system] 
[TYPE ^P to return to node SOL] 
RSTS V10.1-L 26-Aug-20 01:06 
User: 99,99 
Password: 
Last interactive login on 26-Aug-20, 00:58 at KB21: 


$ sys 

RSTS V10.1-L RSTS/E V10.1 status at 26-Aug-20, 01:06 Up: 1:06:38 

Job Who Where What Size State Run-Time RTS 
1 1,2 Det ERRCPY 5K SR 0.4 ...RSX 
2 1,2 KB0 DCL 4K ^C 16.3 DCL 
3 1,2 Det OMS 9K SL 0.2 ...RSX 



I think you tryed "cterm: and it seeems that that does not exist on this 
system, On VMS ypu can do like this: 

$ set host/old elvira 
%REM-I-REMOTE, connection established to remote node ELVIRA:: 
RSTS V10.1-L 26-Aug-20 01:09 
User: 


From: jy at xtra.co.nz 
To: "hecnet" <hecnet at Update.UU.SE>, "Thord Nilson" <thordn at gmail.com> 
Sent: Tuesday, August 25, 2020 7:24:15 PM 
Subject: Re: [HECnet] Configuring py-decnet. 



Hi Thord, 

Congratulations, I can see you're up at: 

[ http://akdesign.dyndns.org:8080/map/data | http://akdesign.dyndns.org:8080/map/data ] 


I just tried a set host elvira and set hsot 59.53 but I'm getting "network object unknown at remote node". 

Cheers, John 




On 26 August 2020 at 11:14 Thord Nilson <thordn at gmail.com> wrote: 

Hi all! 
Update! 
Basic connections are now working, so for a limited time you can: 
set host elvira:: 
login as 99,99 psw: testing 
Nothing much to see though. 
Thanks to all for your help! 

/Thord. 



Den tis 25 aug. 2020 kl 00:35 skrev Thord Nilson < [ mailto:thordn at gmail.com | thordn at gmail.com ] >: 

BQ_BEGIN

Hi! 
Yes, I missed the part about the special mac-address, will test that now! 
Thanks all! 


Den mån 24 aug. 2020 kl 03:47 skrev David Moylan < [ mailto:djm at wiz.net.au | djm at wiz.net.au ] >: 

BQ_BEGIN



If anyone else has responded to this e-mail and hasn’t received back a response from the list – it’s because the e-mail is too large. 



Reply back to this message as I’ve trimmed it down. 



Supratim – I went to reply back to your message below. Apparantly “LOL” translated into Swedish is still “LOL” J 



Cheers, Wiz!! 






From: [ mailto:owner-hecnet at Update.UU.SE | owner-hecnet at Update.UU.SE ] [mailto: [ mailto:owner-hecnet at Update.UU.SE | owner-hecnet at Update.UU.SE ] ] On Behalf Of Supratim Sanyal 
Sent: Monday, 24 August 2020 9:54 AM 
To: [ mailto:hecnet at Update.UU.SE | hecnet at Update.UU.SE ] 
Subject: Re: [HECnet] Configuring py-decnet. 





On 8/23/20 6:57 PM, Peter Lothberg wrote: 

BQ_BEGIN

[ http://supratim.sanyal.org/decnet-mac-address-scssystemid-converter.html?i=1 | http://supratim.sanyal.org/decnet-mac-address-scssystemid-converter.html?i=1 ] 
Jag sa att man inte hade ARP.. 
de sissta 16 bitarna {r 6-bitar area + 10 bitar nodummer i mac adressen 



yippee mitt lilla javascript är mer populärt än powerdog industrier (och google translate förhoppningsvis fungerar!) 





BQ_BEGIN

----- Original Message ----- 
From: "David Moylan" [ mailto:djm at wiz.net.au | <djm at wiz.net.au> ] 
To: "hecnet" [ mailto:hecnet at Update.UU.SE | <hecnet at Update.UU.SE> ] 
Sent: Sunday, August 23, 2020 6:42:45 PM 
Subject: RE: [HECnet] Configuring py-decnet. 
Hi Thord, 
You also have two GRE definitions which looks wrong. 
You should have one circuit definition for PyDECnet to listen on the tap interface and another for your tunnel to Peter. 
I don't know what this line is for: 
circuit gre-0 GRE 192.168.12.161  <-- This is real address to host machine. 
You also have two network adapters on your emulated machine - if you setup a local bridge, there is no requirement for this. 
RSTS > xq > tap interface > bridge 
PyDECnet > tap interface > bridge 
Ethernet interface > bridge 
Configure IP address on bridge 
Then configure PyDECnet to listen on the tap interface and run the GRE tunnel to Peter. 
You can also use pcap as you have configured below which I understand works fine. I personally use the tap interface directly with the PyDECnet patch as posted earlier. 
In my case, I have tap91 going to my emulated vax (I chose this because the vax is 35.91 and I wanted to use a numbering system that reflected this). 
I have tap1023 configured for PyDECnet. 
In my vax.ini file I have: 
; this is decnet phase iv node 35.91 
set xq mac=AA-00-04-00-5B-8C 
attach xq tap:tap91 
and an example pydecnet.conf: 
circuit tap-1023 Ethernet tap:tap1023 --random-address 
circuit gre-12 GRE 11.22.33.44 --cost 5 
as posted just below, the MAC address must be the correct one for your DECnet host. 
The example above uses my MAC address for my 35.91 node. 
There is a conversion page here that you can use: 
[ http://powerdog.com/addrconv.cgi | http://powerdog.com/addrconv.cgi ] 
and Peter has already done one of the calculations for you below. 
cheers, Wiz!! 

BQ_BEGIN

-----Original Message----- 
From: [ mailto:owner-hecnet at Update.UU.SE | owner-hecnet at Update.UU.SE ] [ [ mailto:owner | mailto:owner ] - 
[ mailto:hecnet at Update.UU.SE | hecnet at Update.UU.SE ] ] On Behalf Of Peter Lothberg 
Sent: Monday, 24 August 2020 6:43 AM 
To: hecnet 
Subject: Re: [HECnet] Configuring py-decnet. 
59.53 is aa00.0400.35ec 
----- Original Message ----- 
From: "bqt" [ mailto:bqt at softjar.se | <bqt at softjar.se> ] 
To: "hecnet" [ mailto:hecnet at Update.UU.SE | <hecnet at Update.UU.SE> ] 
Sent: Sunday, August 23, 2020 4:32:37 PM 
Subject: Re: [HECnet] Configuring py-decnet. 
Um, Thord. You do know that DECnet expects very specific MAC addresses 
to work, right? 
Johnny 
On 2020-08-23 22:29, Thord Nilson wrote: 

BQ_BEGIN

Hi! 
Great! 
The System is Slackware 14.2 with kernel 4.10.13 running on bare iron. 
(moved to another machine not to mess so much with network on main 

BQ_END

machine) 

BQ_BEGIN

There is traffic on the virtual interface dnettap0 (see below)  but rsts 
does not seem to see the py-router. 
Is there some "magical" command to enable this or is it automatic? 
Any ideas? 
Best regards, 
Thord. 
The config i have now is, in simh: 
---------------------------------------------- 
; DECnet 59.53 
set xq enable 
set xq type=DELQA  mac=DE-18-6B-DB-21-F6 
att xq tap:dnettap0 
;set xqb enable 
set xqb disable 
set xqb type=DELQA mac=96-72-A1-2A-E7-40 
---------------------------------------------- 
The dnettap0 virtual interface looks like this: 
---------------------------------------------- 
$ /sbin/ifconfig dnettap0 
dnettap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
inet 192.168.12.162  netmask 255.255.255.0  broadcast 
192.168.12.255 
inet6 fe80::a3d3:3542:9b47:9a19  prefixlen 64  scopeid 0x20<link> 
ether de:18:6b:db:21:f6  txqueuelen 1000  (Ethernet) 
RX packets 35373  bytes 5842616 (5.5 MiB) 
RX errors 0  dropped 442  overruns 0  frame 0 
TX packets 19809  bytes 7619336 (7.2 MiB) 
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
---------------------------------------------- 
In rsts i can do: 
---------------------------------------------- 
$ sho dev _xh0: 
Device _XH0:   (DELQA)   Control QNA-0   CSR 774456  Def Addr: 
DE-18-6B-DB-21-F6 
$ ncp 
NCP>show known nodes 
Known Node Volatile Summary as of 23-AUG-20 09:04:05 
Executor Node = 59.53 (ELVIRA) 
State                      = On 
Identification             = DECnet/E V4.1 
Active Links               = 0 
Remote Node = 59.20 (KICKI) 
Circuit                    = QNA-0 
Remote Node = 59.40 (VERA) 
Circuit                    = QNA-0 
NCP> 
---------------------------------------------- 
The nodes kicki and vera are the ones i defined during install. 
The pydecnet configuration file looks like this: 
---------------------------------------------- 
# Test for now. 
# Configuration file 
#circuit tap-0 Ethernet tap:/dev/dnettap0 --console Plugh --random- 

BQ_END

address 

BQ_BEGIN

#circuit tap-0 Ethernet tap:/dev/tap0 --console Plugh --random-address 
circuit tap-0 Ethernet pcap:dnettap0 --console Plugh --hwaddr 
de-18-6b-db-21-f6  --cost 10 
#circuit tap-0 Ethernet pcap:tap0 --console Plugh --random-address 
#circuit eth-1 Ethernet pcap:en1 
#circuit dmc-0 SimhDMC [ http://127.0.0.1:11042/ | 127.0.0.1:11042 ] [ http://127.0.0.1:11042/ | <http://127.0.0.1:11042> ] 
#circuit dmc-0 Multinet localhost:7000 
#circuit dmc-0 Multinet localhost:700:connect 
#circuit dmc-1 SimhDMC localhost:11043:secondary 
#circuit dmc-2 DDCMP tcp:12345:localhost:32154 --cost 3 
#circuit dmc-2 DDCMP udp:12345:localhost:32154 --cost 3 
#circuit dmc-0 DDCMP serial:/dev/tty.usbserial-FTVSKM26:19200 --t3 120 
--qmax 2 
circuit gre-0 GRE 192.168.12.161  <-- This is real address to host machine. 
circuit gre-1 GRE remote.addr.to.peter 
routing 59.100 --type l1router 
node @nodenames.dat 
system --ident "Sample PyDECnet configuration" 
# This replaces the default built-in mirror object which is 
# implemented as a Python module within PyDECnet by a functionally 
# equivalent one that runs as a subprocess. 
object --number 25 --name MIRROR --file ../decnet/applications/mirror.py 
---------------------------------------------- 

BQ_END

BQ_END

BQ_END


BQ_END


BQ_END


BQ_END

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20200825/d40f8a7f/attachment-0001.html>


More information about the Hecnet-list mailing list