9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Booting a terminal from a fileserver
@ 2021-06-25 19:47 Lorenzo Bivens
  2021-06-26  3:14 ` james palmer
  2021-06-26  3:34 ` Rodrigo G. López
  0 siblings, 2 replies; 3+ messages in thread
From: Lorenzo Bivens @ 2021-06-25 19:47 UTC (permalink / raw)
  To: 9front

Hi,

I've been trying to boot a terminal starting 9boot of the iso, and then giving it a fileserver address to boot from.

The fileserver is listening for incoming connections:
nobootprompt=local!/dev/sdF0/fscache -a tcp!*!17020

The user does exist in the fileserver

On the terminal, I fill in bootargs with tls!
terminal gets an IP
feed in the address for the fileserver, auth
and It stays there permanently... I can see the connection established on the server, but nothing else happens

I reckon this should be similar to pxe booting, without the network... I am sure I am missing something big.

Any pointers are welcomed!
Thanks

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

* Re: [9front] Booting a terminal from a fileserver
  2021-06-25 19:47 [9front] Booting a terminal from a fileserver Lorenzo Bivens
@ 2021-06-26  3:14 ` james palmer
  2021-06-26  3:34 ` Rodrigo G. López
  1 sibling, 0 replies; 3+ messages in thread
From: james palmer @ 2021-06-26  3:14 UTC (permalink / raw)
  To: 9front mailing list

Quoth izaki@belaska.us:
> Hi,
> 
> I've been trying to boot a terminal starting 9boot of the iso, and then 
> giving it a fileserver address to boot from.
> 
> The fileserver is listening for incoming connections:
> nobootprompt=local!/dev/sdF0/fscache -a tcp!*!17020
>

cwfs doesn't serve tls.
tls boot is provided /rc/bin/service/tcp17020,
which works as a tls encrypted proxy.
it just dials the file server on port 564 and wraps the connection with tlssrv.

you want:
nobootprompt=local!/dev/sdF0/fscache -a tcp!*!564

- james

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

* Re: [9front] Booting a terminal from a fileserver
  2021-06-25 19:47 [9front] Booting a terminal from a fileserver Lorenzo Bivens
  2021-06-26  3:14 ` james palmer
@ 2021-06-26  3:34 ` Rodrigo G. López
  1 sibling, 0 replies; 3+ messages in thread
From: Rodrigo G. López @ 2021-06-26  3:34 UTC (permalink / raw)
  To: 9front

for tls, you should get the fs listening on tcp!*!564 first, then set
up a tlssrv(8) trampoline, like the one in /rc/bin/service/!?tcp17020
(where 9fs = 564, as shown in /lib/ndb/common).


-rodri

On Fri, Jun 25, 2021 at 10:57 PM Lorenzo Bivens <izaki@belaska.us> wrote:
>
> Hi,
>
> I've been trying to boot a terminal starting 9boot of the iso, and then giving it a fileserver address to boot from.
>
> The fileserver is listening for incoming connections:
> nobootprompt=local!/dev/sdF0/fscache -a tcp!*!17020
>
> The user does exist in the fileserver
>
> On the terminal, I fill in bootargs with tls!
> terminal gets an IP
> feed in the address for the fileserver, auth
> and It stays there permanently... I can see the connection established on the server, but nothing else happens
>
> I reckon this should be similar to pxe booting, without the network... I am sure I am missing something big.
>
> Any pointers are welcomed!
> Thanks

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

end of thread, other threads:[~2021-06-28  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 19:47 [9front] Booting a terminal from a fileserver Lorenzo Bivens
2021-06-26  3:14 ` james palmer
2021-06-26  3:34 ` Rodrigo G. López

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).