[9fans] drawterm to a cpu server without authentication

2012-08-08 Thread John Floren
I'm playing around with booting a cpu kernel in qemu, and I'd like to
be able to drawterm to it for testing stuff. However, as it is it
seems that I need to specify an auth server. sources.cs.bell-labs.com
works, but that's clunky and depending on my networking situation not
always an option.

Is there a way to boot a cpu server such that it will just accept
connections from anyone, without authentication? Sort of like how you
can connect to sources as none, except for cpu.


john



Re: [9fans] drawterm to a cpu server without authentication

2012-08-08 Thread David du Colombier
 Is there a way to boot a cpu server such that it will just accept
 connections from anyone, without authentication? Sort of like how you
 can connect to sources as none, except for cpu.

It is already implemented, but not enabled by default.

In /sys/src/cmd/cpu.c, uncomment the following line:

//  { none,   noauth, srvnoauth,},

Then, you can:

aux/listen1 tcp!*!17010 cpu -R -a none

And:

cpu -h 127.1 -a none

-- 
David du Colombier