9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Getting drawterm to work in Leopard (again)
@ 2008-06-19 18:08 Pietro Gagliardi
  2008-06-19 18:50 ` erik quanstrom
  2008-06-19 20:51 ` Iruata Souza
  0 siblings, 2 replies; 7+ messages in thread
From: Pietro Gagliardi @ 2008-06-19 18:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello. I'm trying to get drawterm to work in Leopard again. Here is my
command line:

	drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -
s 'tcp!127.0.0.1!5356' -u pietro

The problem was that it told me the connection refused. I told the
firewall to open ports 17010, 2567, and 5356, and I got "AS protocol
botch" after entering my password. I then told it to open all ports
1-32768, and QEMU failed to start.

What are the correct ports? Thanks.




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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 18:08 [9fans] Getting drawterm to work in Leopard (again) Pietro Gagliardi
@ 2008-06-19 18:50 ` erik quanstrom
  2008-06-19 22:24   ` Pietro Gagliardi
  2008-06-19 20:51 ` Iruata Souza
  1 sibling, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2008-06-19 18:50 UTC (permalink / raw)
  To: 9fans

> Hello. I'm trying to get drawterm to work in Leopard again. Here is my
> command line:
>
> 	drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -
> s 'tcp!127.0.0.1!5356' -u pietro
>
> The problem was that it told me the connection refused. I told the
> firewall to open ports 17010, 2567, and 5356, and I got "AS protocol
> botch" after entering my password. I then told it to open all ports
> 1-32768, and QEMU failed to start.
>
> What are the correct ports? Thanks.

; for(i in guard ticket secstore exportfs rexexec cpu)
	ndb/query tcp $i
tcp=guard port=566
tcp=ticket port=567
tcp=secstore port=5356
tcp=exportfs port=17007
tcp=rexexec port=17009
tcp=cpu port=17013

the easiest way to derive this information is by looking in /rc/bin/service
and eliminating the ones you know aren't used.

btw, this command line is equivalent:

	drawtern-osx-intel -c 127.0.0.1 -a 127.0.0.1

- erik




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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 18:08 [9fans] Getting drawterm to work in Leopard (again) Pietro Gagliardi
  2008-06-19 18:50 ` erik quanstrom
@ 2008-06-19 20:51 ` Iruata Souza
  1 sibling, 0 replies; 7+ messages in thread
From: Iruata Souza @ 2008-06-19 20:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Jun 19, 2008 at 3:08 PM, Pietro Gagliardi <pietro10@mac.com> wrote:
> Hello. I'm trying to get drawterm to work in Leopard again. Here is my
> command line:
>
>        drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567'
> -s 'tcp!127.0.0.1!5356' -u pietro
>

is connecting to 127.0.0.1 really what you want? i ask 'cause i dont
know how qemu networking under osx works.

iru



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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 18:50 ` erik quanstrom
@ 2008-06-19 22:24   ` Pietro Gagliardi
  2008-06-19 22:33     ` erik quanstrom
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Pietro Gagliardi @ 2008-06-19 22:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

All the ports except the guard and ticket (56[67]) work, and AS is
still botched, so I believe AS has to do with one of those two (most
likely ticket. This port problem might have to do with OS X. I'll ask
around.

On Jun 19, 2008, at 2:50 PM, erik quanstrom wrote:

>> Hello. I'm trying to get drawterm to work in Leopard again. Here is
>> my
>> command line:
>>
>> 	drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!
>> 2567' -
>> s 'tcp!127.0.0.1!5356' -u pietro
>>
>> The problem was that it told me the connection refused. I told the
>> firewall to open ports 17010, 2567, and 5356, and I got "AS protocol
>> botch" after entering my password. I then told it to open all ports
>> 1-32768, and QEMU failed to start.
>>
>> What are the correct ports? Thanks.
>
> ; for(i in guard ticket secstore exportfs rexexec cpu)
> 	ndb/query tcp $i
> tcp=guard port=566
> tcp=ticket port=567
> tcp=secstore port=5356
> tcp=exportfs port=17007
> tcp=rexexec port=17009
> tcp=cpu port=17013
>
> the easiest way to derive this information is by looking in /rc/bin/
> service
> and eliminating the ones you know aren't used.
>
> btw, this command line is equivalent:
>
> 	drawtern-osx-intel -c 127.0.0.1 -a 127.0.0.1
>
> - erik
>
>




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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 22:24   ` Pietro Gagliardi
@ 2008-06-19 22:33     ` erik quanstrom
  2008-06-19 22:40     ` Federico G. Benavento
  2008-06-20  7:35     ` Jeff Sickel
  2 siblings, 0 replies; 7+ messages in thread
From: erik quanstrom @ 2008-06-19 22:33 UTC (permalink / raw)
  To: 9fans

> All the ports except the guard and ticket (56[67]) work, and AS is
> still botched, so I believe AS has to do with one of those two (most
> likely ticket. This port problem might have to do with OS X. I'll ask
> around.

unix typically doesn't let normal users open ports below 1024.

- erik




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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 22:24   ` Pietro Gagliardi
  2008-06-19 22:33     ` erik quanstrom
@ 2008-06-19 22:40     ` Federico G. Benavento
  2008-06-20  7:35     ` Jeff Sickel
  2 siblings, 0 replies; 7+ messages in thread
From: Federico G. Benavento @ 2008-06-19 22:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

maybe unrelated, but does the pass you entered with auth/changeuser
for bootes matches the one in nvram?

On Thu, Jun 19, 2008 at 7:24 PM, Pietro Gagliardi <pietro10@mac.com> wrote:
> All the ports except the guard and ticket (56[67]) work, and AS is still
> botched, so I believe AS has to do with one of those two (most likely
> ticket. This port problem might have to do with OS X. I'll ask around.
>
> On Jun 19, 2008, at 2:50 PM, erik quanstrom wrote:
>
>>> Hello. I'm trying to get drawterm to work in Leopard again. Here is my
>>> command line:
>>>
>>>        drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a
>>> 'tcp!127.0.0.1!2567' -
>>> s 'tcp!127.0.0.1!5356' -u pietro
>>>
>>> The problem was that it told me the connection refused. I told the
>>> firewall to open ports 17010, 2567, and 5356, and I got "AS protocol
>>> botch" after entering my password. I then told it to open all ports
>>> 1-32768, and QEMU failed to start.
>>>
>>> What are the correct ports? Thanks.
>>
>> ; for(i in guard ticket secstore exportfs rexexec cpu)
>>        ndb/query tcp $i
>> tcp=guard port=566
>> tcp=ticket port=567
>> tcp=secstore port=5356
>> tcp=exportfs port=17007
>> tcp=rexexec port=17009
>> tcp=cpu port=17013
>>
>> the easiest way to derive this information is by looking in
>> /rc/bin/service
>> and eliminating the ones you know aren't used.
>>
>> btw, this command line is equivalent:
>>
>>        drawtern-osx-intel -c 127.0.0.1 -a 127.0.0.1
>>
>> - erik
>>
>>
>
>
>



--
Federico G. Benavento



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

* Re: [9fans] Getting drawterm to work in Leopard (again)
  2008-06-19 22:24   ` Pietro Gagliardi
  2008-06-19 22:33     ` erik quanstrom
  2008-06-19 22:40     ` Federico G. Benavento
@ 2008-06-20  7:35     ` Jeff Sickel
  2 siblings, 0 replies; 7+ messages in thread
From: Jeff Sickel @ 2008-06-20  7:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Jun 19, 2008, at 5:24 PM, Pietro Gagliardi wrote:

> All the ports except the guard and ticket (56[67]) work, and AS is
> still botched, so I believe AS has to do with one of those two (most
> likely ticket. This port problem might have to do with OS X. I'll
> ask around.

Leopard added a new firewall feature that defaults to blocking all
incoming connections for each process/application.  You can see which
applications have been set up to allow connections in by going to the
System Preferecnes -> Security -> Firewall panel.

I'm not sure what Qemu sets up for its network layer these days, but I
run VMware and it created two entries in the firewall table: vmnet-
natd and natd that need to be set to allow incoming connections.  You
can also use ipfw to look at/shape the connections:

   sudo ipfw list

should tell you if you've got some ports still blocked--possible from
upgrading from a Tiger install.

Question: can you get from your Qemu Plan 9 instance to anything on
the outside network?  I found that a problem when trying to use Qemu--
I could never get my Plan 9 instance to get any packets out, let alone
in.

-jas




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

end of thread, other threads:[~2008-06-20  7:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-19 18:08 [9fans] Getting drawterm to work in Leopard (again) Pietro Gagliardi
2008-06-19 18:50 ` erik quanstrom
2008-06-19 22:24   ` Pietro Gagliardi
2008-06-19 22:33     ` erik quanstrom
2008-06-19 22:40     ` Federico G. Benavento
2008-06-20  7:35     ` Jeff Sickel
2008-06-19 20:51 ` Iruata Souza

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