PDP-10 / its

Incompatible Timesharing System
Other
858 stars 81 forks source link

Start a local Chaosnet #2211

Closed larsbrinkhoff closed 1 year ago

larsbrinkhoff commented 1 year ago

./start chaosnet starts the Chaosnet bridge (CC @bictorv) with configuration for the "local" subnet 376. The bridge is 177001 and ITS is 177002. ITS and emulators are configured for this host address.

larsbrinkhoff commented 1 year ago

@bictorv, no hurry for this iteration, but in the future, do you think it would be possible to have some kind of Chaosnet DNS name for some "known" local subnet nodes like 177002? Or have a local configuration to resolve a name like DB, DB-ITS, LOCAL-ITS, or whatevs. Something to allow typing supdup db-its or similar rather than using the octal address.

bictorv commented 1 year ago

the "local" subnet 354

You mean 376, right?

bictorv commented 1 year ago

do you think it would be possible to have some kind of Chaosnet DNS name for some "known" local subnet nodes like 177002? Or have a local configuration to resolve a name like DB, DB-ITS, LOCAL-ITS, or whatevs. Something to allow typing supdup db-its or similar rather than using the octal address.

Certainly possible, but let's discuss in other channels.

larsbrinkhoff commented 1 year ago

You mean 376, right?

Yes; fixed.

ams commented 1 year ago

I am getting:

+ sed -i -e 's/set dpy enabled/set dpy disabled/' -e 's/set wcnsls enabled joystick cscope/set wcnsls enabled joystick/' out/pdp10-ka/run
sed: -e: No such file or directory

and

%SIM-ERROR: Eth: open error - No support for tap: devices

Hitting C-c:

+ echo -n 'Stopping Chaosnet... '
-n Stopping Chaosnet... 

The file cbridge.log has the following:

start: line 77: tools/cbridge/cbridge: No such file or directory
drboone commented 1 year ago
  • sed -i -e 's/set dpy enabled/set dpy disabled/' -e 's/set wcnsls enabled joystick cscope/set wcnsls enabled joystick/' out/pdp10-ka/run sed: -e: No such file or directory

Missing argument to -i (extension to append when renaming the old file).

larsbrinkhoff commented 1 year ago

I'm going to merge this now, because I want to move forward letting people use Chaosnet. This doesn't mean anything is set in stone from now forward. If someone wants to suggest another mechanism, I'm all ears.

eswenson1 commented 1 year ago

But you could have done both -- use make/env variables that DEFAULT to the hardcoded addresses but could be overridden by the user. This is what we do for IP addresses.

And the answer to your question, above, is that I actually build/use a DB build (for EX). If you connect to EX, you'll see it is just a DB.