9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Is there a way to extend telnet through rexport?
@ 2021-04-05 18:13 Mack Wallace
  2021-04-05 20:30 ` Steve Simon
  2021-04-06  2:14 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
  0 siblings, 2 replies; 4+ messages in thread
From: Mack Wallace @ 2021-04-05 18:13 UTC (permalink / raw)
  To: 9front


I have a number of different sites which each have numerous disparate systems that need to be administered - essentially by moving files around. I want to use Plan9/9front to consolidate these systems at each site and present them as a file structure on a server in the main office. So essentially each location has its own subdirectory, and each system as that site is represented by a subdirectory below that.

I have been able to get this to work using various file system mounts, then binding those mounts into a single directory which I then rexport. This allows me to mount this on the server with all the devices represented by different directory below the mount. 

There are some devices that can only be accessed through telnet and tftp. In the long term I would like to have a file system driver written for them, but for the time being, is there a way to represent a telnet connection by way of a file which can then be accessed over the rexport. (It would be nice to be able to do the same with tftp as well as then both would be through the tls link that rexport provides.)

I know one can set up a telnet connection as a service using 'telnet -s svc net!machine'. I currently do this to take a feed from gpsd on another node to then feed it into gpsfs. And I have been able to extend the gpsfs file system through rexport. However, I have not had any luck trying to bind the service file to another subdirectory, or the /srv subdirectory itself and have it show up on the server. Granted I have only tried binding to the exported subdirectory after I’ve already rexported it. Something I need to experiment with. However, if that file can survive the rexport, what then to access it with, as I don’t believe telnet nor con are set up to operate on a file. I have read that the connection as a service is for a console file system. But I am not sure if that would fit into the organization that I am looking to build.

Hoping that maybe someone has done something like this before and that it is stupidly easy.

Thanks,

Mack

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-12 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 18:13 [9front] Is there a way to extend telnet through rexport? Mack Wallace
2021-04-05 20:30 ` Steve Simon
2021-04-06  2:14 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2021-04-12 14:37   ` Mack Wallace

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).